UniPac: Unicode-powered Pacman Adventure

March 2, 2025 ยท View on GitHub

Pacman for the terminal.

Has most of the game elements from the original game:

  • Ghosts go through 'shuffle' and 'chase' (๐Ÿ’ก) periods where they ignore/target pacman.
  • Ghosts flee pacman when frightened.
  • Ghosts slow down in the tunnel and when freightened.
  • When eaten, ghost eyes trace a path back to the ghost house.
  • Two 'fruit' bonuses on every level.
  • Cornering.

Mazes:

  • Shortened pacman maze (24 rows).
  • Regular pacman maze (29 rows).
  • 4 Ms Pacman mazes (31 rows).

Pacman is animated with ascii symbols and the ghosts with unicode codepoints (Pinky ๐Ÿ‘บ, Blinky ๐Ÿ‘น, Inky ๐Ÿ‘ป, Clyde ๐ŸŽƒ); Unicode has symbols for most of the fruit bonuses (๐Ÿ’,๐Ÿ“,๐Ÿ‘,๐ŸŽ,๐Ÿ‡,๐Ÿš€,๐Ÿ””,๐Ÿ”‘), but not for the ghosts themselves.

Controls are on the arrow keys.

% cargo run --release

Game UI

Credits: