This is an implementation of the classic 2-player arcade game Blockade released by Gremlin in 1976. Here is a video that shows the original.
To run the game you need GHC and an installation of ncurses. If you have GHC installed you can run the command cabal intsall ncurses
to get ncurses and all its dependencies.
Clone the repository and navigate to the folder. Entering the command runhaskell Main.hs
will start the game.
You can press ESC to exit the game.
Any time a player collides with a wall, himself or the other player, the other player gets a point. The first player to reach 5 points wins the game.
Video: https://youtu.be/Tu2WTAAoz8s