← cd ~ ~/42-firenze/pac-man
42 firenze · milestone 4 · python · pygame

Pac-Man

A remake of Namco's 1980 arcade game in Python. Every level is a non-perfect maze generated by an A-Maze-ing package, loaded by name from the config. Four ghosts with their own targeting, arcade-accurate rules from the Pac-Man Dossier, 10 levels, a persistent top-10 and a Double mode with a maze twice as big and 8 ghosts. Below is the same code, running in your browser.

pythonpygame-cegame aiwebassemblypyinstaller
playarrows / wasd · enter · p pause · c cheats

The game's own Python, unchanged, compiled to WebAssembly with pygbag. Click the game first, then play with the keyboard. Desktop only.

how it works

view source on github ↗teemoteeo/quarantadue/milestone_4/PAC-MAN