GoogleChromeLabs / proxx

A game of proximity
https://proxx.app
Apache License 2.0
1.32k stars 125 forks source link

Game filed conflict #482

Closed stma closed 5 years ago

stma commented 5 years ago

Debug info mobile screenshot

Describe the bug I think there is a bug with the game field calculation process. As you can see, the state of the game in this pic: Those two field should be indicate 2 instead of 1.

To Reproduce Steps to reproduce the behavior:

  1. Start a game of standard medium difficulty, 16*16, 40 black holes
  2. Try to solve
  3. Pick a black hole by a conflict

Expected behavior Those two field should be indicate 2 instead of 1.

Other pic

jakearchibald commented 5 years ago

Those two squares are only touching one mine each, so 1 seems like the correct number.

jakearchibald commented 5 years ago

Screenshot_20190615-101514

stma commented 5 years ago

Seems like. But as you can see, above the left one (4, 1). There is an unrevealed field (4, 0), which probably a mine as well, because it is surrounded twos on the left and right side, that would lead to my hypothesis.

surma commented 5 years ago

If you look closely you can see additional fields out of view at the top. You could have scrolled further to the top, which means the 2 at (4, 1) is probably touching more unrevealed fields.

I wonder if we need to make the fadeout better.

Screenshot_20190615-101514

stma commented 5 years ago

ouch! That definitely could be. I did not check if I could move up. Sorry for bothering you with that. My bad.

Although a faded arrow to indicate to indicate this is not the edge could be informative.

Sorry for burning your time, thanks your quick response.

jakearchibald commented 5 years ago

I wonder if we need to make the fadeout better.

Or swap it for a shadow that fades out as you reach the end