Robots play a real game of Cloakfall behind the menu, using the game's own code, and start another after each win.
With prefers-reduced-motion it is a still frame instead: the boards and their ships, and no shots.
Every step of the demo runs on its own queue, which stops it as soon as the menu is gone (a real game started), so
nothing needs to remember to stop it; showing the menu again (startMenu) starts a fresh one.
Robots play a real game of Cloakfall behind the menu, using the game's own code, and start another after each win. With prefers-reduced-motion it is a still frame instead: the boards and their ships, and no shots. Every step of the demo runs on its own queue, which stops it as soon as the menu is gone (a real game started), so nothing needs to remember to stop it; showing the menu again (startMenu) starts a fresh one.