Pac-Man we know (on the left) and a visual image of all the necessary variables on RAM (each variable is a small graph) for Pac-Man to operate for 10 seconds (right).
To see the algorithms behind the familiar Pac-Man displays, Fogleman used a simulator to analyze the NES version of the game.
If you still can't figure it out, check out the example below.
The video above, the graph will change each time the player eats.
The graph shows when players eat them and the amount of seeds.
Images sold by Fogleman on his website, if you like, can cost you $ 150 to buy.
See more: