Main Content

I created 1-Pixel Pac-Man using a 32x32 RGB matrix which is part of the SmartMatrix bundle. A Teensy 3.1 drives everything, with an Atari Joystick for control. The original coin-op Pac-Man divided up the playing area into a grid of 28x31 boxes. This concept fits perfectly on the Smartmatrix, leaving room on either side for extra lives, and score (in binary). Writing something like this yourself is an excellent coding exercise. The logic rules for the game are pretty simple, but there are a lot of them. As everything comes together the complexity builds and it becomes a challenging, yet rewarding exercise.”

Link to article