In Pac-Man, the level counter was a single byte. However, its value was not properly checked. When a player beat level 255, the counter would try to roll over to 256, instead of resetting to 0. This caused an error in the drawing routine, which produced a screen like the one above.