Space.hs is a round-based game about surviving and maintaing a space station amidst many kinds of threats wanting to destroy it.
Prerequisites before building:
All you have to do to build is just to run stack build in the top level directory of the project. That produces 2 executables: space-hs-client and space-hs-server, which you can run with stack exec [executable-name]. More platform-specific build instructions below.
Make sure to run these commands before installing the development libraries:
stack exec -- pacman -Sy msys2-keyring
stack exec -- pacman -Syu
Now you can do this:
stack exec -- pacman -S mingw-w64-x86_64-pkgconf mingw-w64-x86_64-SDL2 mingw-w64-x86_64-openal
Install the necessary development libraries for SDL2 and OpenAL with your package manager.
Hoogle is a tool that allows you to search for functions using their name and/or type definitions.
build Hoogle using stack hoogle -- generate --local then run the server with stack hoogle -- server --local --port=8080 and access it in your browser.
If you want to generate code documentation, you can use the stack haddock command like so: stack haddock --haddock-executables, which will additionally also build the game if you haven't done it beforehand.