Hextris / hextris

Fast paced HTML5 puzzle game inspired by Tetris!
https://hextris.io
Other
2.22k stars 971 forks source link

Possible endgame twitch fix #118

Closed ramandel closed 10 years ago

ramandel commented 10 years ago

Gamestate == 2 is when the game is already over. Update is what moves blocks. Blocks don't need to move when the game is over and I couldn't find any reason to keep updating when the game is over. Removing update from Gamestate case 2 might fix the twitching. Needs testing.

lengstrom commented 10 years ago

We'd rather let the blocks fall and twitch a bit than not have them fall at all. The update function is also essential in the endgame for restarting / input.