What it does
The game state is serialized each frame, allowing one decision per tick during real-time play.
Playable demos & bots
Jev plays NES Super Mario Bros. by choosing controls from emulator state rather than pixels.
Only you can see your notes.
Screenshot unavailable. Open the experiment ↗
The game state is serialized each frame, allowing one decision per tick during real-time play.
A developer can adapt this approach to let an AI play a game. Instead of watching the screen, the app reads exact game details. It collects facts like the character position and nearby enemies. The app sends these details to an outside AI service called TypeSafe.
To borrow this idea, keep strict timing rules in the code. The app calculates urgent limits, like exactly when an enemy will hit. The AI reads these measurements and chooses which button to press. It must pick a single move quickly to keep the game running.