Skip to content

Commit

Permalink
Update LightBoard.java
Browse files Browse the repository at this point in the history
  • Loading branch information
willy2day authored Apr 30, 2024
1 parent ca3c0d1 commit 6ecde79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/LightBoard.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public LightBoard(int numRows, int numCols)
for (int k=0; k<numCols;k++){
w=(int) (Math.random()*100);
if (w<40)
lights[i][k];
lights[i][k]=true;

}
}
Expand Down

0 comments on commit 6ecde79

Please sign in to comment.