LambdaLumps is a Tetris clone written in Haskell, structured in a way that the game model is independent of any rendering packages.
The source files do also contain implementation for the game in Gloss, and an implementation using Gloss-Rhine.
Tutorial coming soon!
-
git clone https://github.com/SolviQorda/LambdaLumps
-
cd LambdaLumps
-
Ensure that Haskell is installed (core). Cabal is included in the Haskell platform.
-
cabal sandbox init
-
cabal update
-
cabal install --only-dependencies
(if you already have cabal packages installed, you might get a recommendation to use the --force-reinstalls flags) -
cabal build
-
cabal run lambdalumps
Special thanks to Manuel Bärenz, Avery Lychee and Becky Conning for support and contributions.