Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mossr/pacman.jl

PacMan in the Julia REPL
https://github.com/mossr/pacman.jl

Last synced: about 1 month ago
JSON representation

PacMan in the Julia REPL

Awesome Lists containing this project

README

        

# PacMan.jl

The game of PacMan in the Julia REPL.



## Installation
```julia
] add https://github.com/mossr/PacMan.jl
```

## Gameplay
```julia
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](http://robert-moss.com/)