Haskell implementation of the Pacman game. It is rendered using Gloss, which is a high-level wrapper for OpenGL.
Use WASD to move around. Eat all Pac-Dots to beat the game. Try to not run into ghosts. Eat Power Pellets to scare the ghosts away and eat them.
A short GIF showing the gameplay will be added soon.
freeglut3
is a system library that is needed to install GLUT
, which is a "Haskell binding for the OpenGL Utility Toolkit, a window system independent toolkit for writing OpenGL programs."
sudo apt-get install freeglut3
The package might be on Hackage some day, but for now, you'll need Git to install it.
git clone https://github.com/zcesur/pacman.git
cd pacman
stack install
stack exec pacman
Contributions are welcome. You can visit this page to see the features that I am planning to implement in the near future.
This project is released under the terms of the MIT license. Please see LICENSE for more information.