In Pac-Man, the level counter was a single byte. However, its value was not properly checked. When a player beats 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 the screen above.