A simplified clone of the "dual" game for Android.
You'll need the freeglut
library. On ubuntu:
sudo apt-get install freeglut3-dev
Install ghc
and cabal-install
and run:
cabal v2-install dual-game
- start the server
dual <port>
- start the client
dual <server ip> <port>
- arrow keys to move, space to shoot (keep it pressed to charge a bigger projectile)
- the first one to lose all hp (the green bar) loses the game