bsinky / FlxMine

Minesweeper clone written using HaxeFlixel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mine number errors

bsinky opened this issue · comments

commented

There are a few pesky issues with mines:

  • occasionally, only 8 mines or 9 mines will be placed, instead of 10
  • In these instances the numbers indicating where mines rest are innaccurate

I the cause would be that the grid indices containing mines were not exactly equal to the constant Board.MINE, but having changed the code to reflect any negative numbers as mines, this shouldn't be happening anymore, but it still is.