Compare commits
No commits in common. "master" and "make_affectionate" have entirely different histories.
master
...
make_affec
1 changed files with 11 additions and 4 deletions
15
README.md
15
README.md
|
@ -6,6 +6,8 @@ A small game written in Haskell using my own game engine "Affection".
|
||||||
|
|
||||||
## Build instructions
|
## Build instructions
|
||||||
|
|
||||||
|
I recommend highly to use cabal sandboxes for building this project.
|
||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
|
|
||||||
to build this you need a working Haskell build environment and following
|
to build this you need a working Haskell build environment and following
|
||||||
|
@ -16,16 +18,21 @@ development libraries:
|
||||||
|
|
||||||
You will also need the engine package itself, which can be obtained at
|
You will also need the engine package itself, which can be obtained at
|
||||||
[its own repo](https://github.com/nek0/affection). You cann add it to your
|
[its own repo](https://github.com/nek0/affection). You cann add it to your
|
||||||
project by cloning it and adjust the path to it in the file `cabal.project`.
|
by invoking `cabal sandbox add-source <path>`.
|
||||||
|
|
||||||
|
To install all haskell package dependencies, invoke
|
||||||
|
`cabal install --only-dependencies`.
|
||||||
|
|
||||||
|
This will take quite some time. Be patient.
|
||||||
|
|
||||||
### Building
|
### Building
|
||||||
|
|
||||||
If all is well, you can invoke `cabal new-build` and watch everything come
|
If all is well, you can invoke `cabal build` and watch everything come together.
|
||||||
together.
|
|
||||||
|
|
||||||
## Running
|
## Running
|
||||||
|
|
||||||
To run the game, just invoke `cabal new-run` in the project folder.
|
To run the game, just execute the binary `dist/build/haskelloids/haskelloids` in
|
||||||
|
your build location.
|
||||||
|
|
||||||
### Controls
|
### Controls
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue