Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/fgaz/dual
- Owner: fgaz
- License: mit
- Created: 2016-10-04T21:44:48.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-06-04T12:59:11.000Z (over 2 years ago)
- Last Synced: 2024-10-01T15:44:10.124Z (about 1 month ago)
- Topics: 2d-game, clone, game, hacktoberfest, haskell, multiplayer, online, shooter
- Language: Haskell
- Homepage:
- Size: 21.5 KB
- Stars: 6
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)