PacMan.jl

PacMan in the Julia REPL
Author mossr
Popularity
20 Stars
Updated Last
10 Months Ago
Started In
October 2023

PacMan.jl

The game of PacMan in the Julia REPL.

Installation

] add https://github.com/mossr/PacMan.jl

Gameplay

using PacMan
play()
  • Hit backtick to pause the game.
  • Resume with play() or restart the game with restart()

Controls (wasd)

  • a and d to apply left and right velocity
  • s to apply down velocity
  • w to apply up velocity
  • backtick to pause, then play() to resume

Other options

  • play(maze_type=2): Change to the 17x19 PocMan maze from Silver et al. (2010).

  • play(maze_type=3): Change to the 9x18 PacMan maze.

  • play(maze_type=4): Change to the SISL maze (Stanford Intelligent Systems Laboratory).

  • play(maze_type=5): Change to the Stanford tree "S" logo maze

⚠ Work-in-progress.


Robert Moss

Used By Packages

No packages found.