2D Tanks multiplayer game based on Apecs (Gloss) graphics library. Client/Server side implementation is based on UDP connection with network library
Game requires two players to launch. When both players are found, it immediately starts. Both players try to shoot their opponent (by pressing "Space" button) as fast as possible in order to survive and win. Game finishes when either first or second player is killed.
Before the start, make sure that you have installed Haskell.
- Clone repository to your local folder:
git clone https://github.com/dinaraparanid/MultiTanks
- Firstly, compile and run the server:
cd MultiTanks/server
stack build
stack exec runghc Server
- Run the client and begin the game:
cd MultiTanks/game
stack exec runghc Game
Game starts when two players are connected
- Network (UDP server + clients)
- Bytestring + Bytestring conversion
- Apecs + Gloss
- Async
- STM (atomic transcactions)
GNU Public License V 3.0