Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 815 Bytes

README.md

File metadata and controls

29 lines (15 loc) · 815 Bytes

Pac-Man 🎮

An emoji Pac-Man game in your terminal emulator :)

shot

Get Started

Compile and run pm.c, that's it.

cc pm.c && ./a.out

Features

  • 🗺️ Custom map
  • 🐛 Buggy :)

About

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 :)

LICENSE

The source code is MIT licensed and also available at git.sr.ht/~zz/pm.