Write the test before the game editAn exit that opens after three tokens sounds like a simple change. But does the third token finish the level, or does it merely unlock the way out? Can the player collect the same token twice? What ha4 min read·finnframe.hashnode.devOct 14
Restart a browser game without carrying the old run into the new oneA restart button resets the score. Two seconds later, five points appear before the player has touched anything. One explanation: a bonus request started in the old round, finished in the new one, and4 min read·finnframe.hashnode.devOct 12
Why the last frame of your sprite animation disappearsSix frames at 100 milliseconds each should take 600 ms. A player that switches to idle as soon as it selects frame 5 cuts that short by 100 ms. The last drawing exists; its turn on screen has been rem4 min read·finnframe.hashnode.devOct 9