Creating Pac-Man style games in Python
Pac-Man is arguably one of the most famous video game characters in the world. First shooting to fame in 1980 with the release of the arcade version, Pac-Man has seen many iterations, remakes and sequels over the years, but nothing compares to the original.
It’s a simple premise, really. Pac-Man is a yellow, disk-shaped, mainly feature-less character, who roams around a 2D environment collecting dots. The player has to collect all the dots in the room without being touched by any of the four enemy characters in the form of ghosts. Pinky, Blinky, Inky and Clyde are brightly coloured to stand out against the black background, being pink, red, cyan and orange, respectively. Pac-Man must avoid the ghosts and collect all the dots to progress to the next level.
Pac-Man can only move up, down, left or right, through the maze of dots, but does have some advantages in his arsenal. By collecting large
You’re reading a preview, subscribe to read more.
Start your free 30 days