walokra / colordots

Link as many dots as you can in thirty moves. Dots styled game for Sailfish OS.
GNU General Public License v3.0
6 stars 4 forks source link

Race condition when saving score in 60 seconds mode #2

Closed Self-Perfection closed 9 years ago

Self-Perfection commented 9 years ago

Once I have ended up in following state screenshot-24-07-15-10-03-33_50 Note that game window shows score 184, but score board have recorded score 181.

I suppose the app processed events in following order:

  1. Time is up - record score
  2. Process current move
  3. Stop game & display score board

This wrong, stopping game should be atomic.

walokra commented 9 years ago

Thanks for reporting this issue. Timer and processing moves didn't play nicely together.

Self-Perfection commented 8 years ago
$ rpm -q harbour-colordots
harbour-colordots-0.4.0-1.armv7hl

The issue is not fixed. I got similar state after 60s game screenshot-16-08-24-10-34-25_50