pew pew pew
assets | ||
src | ||
.gitignore | ||
cabal.project | ||
ChangeLog.md | ||
default.nix | ||
haskelloids.cabal | ||
haskelloids.nix | ||
LICENSE | ||
README.md | ||
screenshot.png | ||
Setup.hs | ||
shell.nix |
haskelloids
A small game written in Haskell using my own game engine "Affection".
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
its own repo. You cann add it to your
project by cloning it and adjust the path to it in the file cabal.project
.
Building
If all is well, you can invoke cabal new-build
and watch everything come
together.
Running
To run the game, just invoke cabal new-run
in the project folder.
Controls
use W
, A
, S
and D
to move your ship, use Space
to shoot.
use O
to togle fullscreen mode.