Minesweeper (Part 6/16)

  • 3
  • Locked
  • Project task
Now let's count the mines in adjacent cells. To do this, we'll add a field to each cell of the matrix, which will be responsible for the number of mined neighbors. First, we find all the neighbors, and then we count how many of them are mined. To get the list of neighbors, you now have the getNeigh
You can't complete this task, because you're not signed in.
  • Popular
  • New
  • Old
You must be signed in to leave a comment
FSSSLevel 3
2 August, 08:55
Oh no!-----"It looks like you counted the number of adjacent mines for a cell that is a mine — don't do that."
DamianLevel 1 , Lodz
6 September, 17:34