This is a simple game made in a pure functional programming language —— Haskell.
To run the game, you must have Cabal installed in your OS. You can get it by installing the Haskell Platform.
git clone https://github.com/leftthomas/FlappyBird.git
cd FlappyBird
stack build
stack exec FlappyBird
The game has 3 levels. You are going to level up each at score=5 & gold=10, score=10 & gold=20, score=15 & gold=30.
Controls: Press the up arrow key to control the bird and to pass the menu scenes.
If you encounter problem, refer this resolvent.
- Cabal User Guide for building Haskell module.
- Stack User Guide for building Haskell module.
- Stackage for searching Haskell packages and building with different release of GHC version.
- Learn You a Haskell for learning Haskell language.
- Real World Haskell for learning Haskell language.
- FunGEn for learning how to use functional game engine to write Haskell game.