Skip to content

fgaz/dual

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

dual

Hackage Hackage CI builds.sr.ht status

A simplified clone of the "dual" game for Android.

Requirements

You'll need the freeglut library. On ubuntu:

sudo apt-get install freeglut3-dev

Installation

Install ghc and cabal-install and run:

cabal v2-install dual-game

Usage

  • 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

screenshot