An implementation of PacMan, written in Rel
To run:
julia> include("game.jl")
julia> runloop(conn, 20)The delve logic installed in the database for the game is all defined in the .rel files; as of time of writing, those are:
- game.rel
- updates.rel
- ghosts.rel
The database state is initialized by issuing a write transaction with the .relquery files, which unfortunately currently must be run in a certain order. See init_game(conn) in game.jl for that.
The game is driven by the julia driver script: game.jl, and the board is rendered by gamedisplay.jl as a javascript <canvas> via Electron.jl.