add readme file at last

This commit is contained in:
nek0 2020-12-07 01:45:49 +01:00
parent c58cc24910
commit 84e1c4ded2
1 changed files with 54 additions and 0 deletions

54
README.md Normal file
View File

@ -0,0 +1,54 @@
#pituicat
This repository contains the source and game design files for the game
`pituicat`.
This game is still an experimental work in progress, so things are subject to
change and no version or revision numbers are being assigned (yet).
##Build and run instructions
For any system you want to buil on, you will need a current version of `ghc`
as well as the build tool `cabal`. Additional libraries may be needed,
depending on your operating system.
###Linux
I develop this game in [NixOS](https://nixos.org), so the build instructions
for this system are the ones I use on a daily basis.
####NixOS
To set up the build environment, simply run this in the command line of your
choice:
```bash
nix-shell shell.nix
```
After the setup and build process is finished and you are given the prompt of
the environmet you just built, you can run
```bash
cabal new-run
```
to compile and run the game.
####Other Linux flavours
You will need at least the development libraries for `sdl2` and a development
setup for `OpenGL`.
TODO: provide list of development libraries this game directly depends on.
###Other operating systems
I wish you good luck with that. If you manage to run the game on other systms,
ping me with build and run instructions on <nek0@nek0.eu> and I will gladly
include them here.
##Gameplay
Since there is no interactive content yet, there is nothing much to write here
other than: enjoy the visuals!