An emoji Pac-Man game in your terminal emulator :)
Compile and run pm.c
, that's it.
cc pm.c && ./a.out
- 🗺️ Custom map
- 🐛 Buggy :)
This program is simply writen in pure ANSI C without using any game engine or GUI framework but the way it calculates and renders frames is similar to theirs I guess. Besides, I didn't use any fancy algorithm for ghosts to find the path to the player, a simple (probably stupid) algorithm I came up with while making it is used instead. Let me know if you got better ideas :)
The source code is MIT licensed and also available at git.sr.ht/~zz/pm.