Skip to content

A faithful Pacman clone in PureScript (for fiddling with AI algorithms :))

Notifications You must be signed in to change notification settings

srijan-paul/pureman

Repository files navigation

Pureman

A Faithful clone of the 1980 Arcade game – Pacman. This project tries to mimic the behavior of the maze and the ghosts as closely as possible, and then introduce an AI Actor to play the game.

Why? I wanted to ease my way into modelling video game entities and real time event dispatch in a purely functional setting. There's very few projects that do this well. There's Defect Process (Haskell), Lich (Scala), Carmack's keynote (Haskell), and then... nothing? (that I know of, at least).

Even half the links in the Game-dev page on Haskell wiki are dead!

At the time of me writing this, the core game is about 90% finished. Once fully completed, I'll train a reinforcement learning model to play the game. You know, to please our future overlords.

Building locally

Make sure you have Spago and PureScript v0.15.10+ installed.

$ pnpm install
$ pnpm dev

That's it, now go check your browser.

About

A faithful Pacman clone in PureScript (for fiddling with AI algorithms :))

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published