Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fgaz/dual

Online multiplayer shooter
https://github.com/fgaz/dual

2d-game clone game hacktoberfest haskell multiplayer online shooter

Last synced: 24 days ago
JSON representation

Online multiplayer shooter

Awesome Lists containing this project

README

        

# dual

[![Hackage](https://img.shields.io/hackage/v/dual-game.svg)](https://hackage.haskell.org/package/dual-game)
[![Hackage CI](https://matrix.hackage.haskell.org/api/v2/packages/dual-game/badge)](https://matrix.hackage.haskell.org/package/dual-game)
[![builds.sr.ht status](https://builds.sr.ht/~fgaz/dual/commits.svg)](https://builds.sr.ht/~fgaz/dual/commits?)

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 `
* start the client `dual `
* 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](screenshot.png)