haskelloids/README.md

35 lines
796 B
Markdown
Raw Normal View History

2016-12-26 21:26:25 +00:00
# haskelloids
A small game written in Haskell using my own game engine "Affection".
2017-12-21 14:04:55 +00:00
![How it looks](screenshot.png)
## Build instructions
### Dependencies
to build this you need a working Haskell build environment and following
development libraries:
* sdl2
* libglew
You will also need the engine package itself, which can be obtained at
2017-12-21 18:29:32 +00:00
[its own repo](https://github.com/nek0/affection). You cann add it to your
2020-05-04 19:53:53 +00:00
project by cloning it and adjust the path to it in the file `cabal.project`.
2017-12-21 14:04:55 +00:00
### Building
2020-05-04 19:53:53 +00:00
If all is well, you can invoke `cabal new-build` and watch everything come
together.
2017-12-21 14:04:55 +00:00
## Running
2020-05-04 19:53:53 +00:00
To run the game, just invoke `cabal new-run` in the project folder.
2017-12-21 18:28:27 +00:00
### Controls
use `W`, `A`, `S` and `D` to move your ship, use `Space` to shoot.
use `O` to togle fullscreen mode.