@@ -36,7 +36,8 @@ If You use MacOS You can install [newcurses][ncurses] with [homebrew][brew] simp
3636
3737##### Unix-like OS
3838Short answer: _ It depends._
39- For example, if You are using Ubuntu You can install [ newcurses] [ ncurses ] and [ g++] [ compiler ] by
39+ For example, if You are using Ubuntu You can install [ newcurses] [ ncurses ] and
40+ [ g++] [ compiler ] by
4041
4142 sudo apt-get install libncurses5-dev libncursesw5-dev clang
4243
@@ -58,28 +59,33 @@ Enter desired directory and run
5859 git clone https://github.com/Dolfost/snake-cpp
5960 cd snake-cpp
6061
61- It will create the directory with name ` snake-cpp ` and enter it. Then You have to compile the game.
62+ It will create the directory with name ` snake-cpp ` and enter it. Then You have
63+ to compile the game.
6264
6365### Compiling the game
6466To build the game You can:
6567
6668 cmake -B build; cmake --build build
67- ./build/snake --build-help-pad
69+ ./build/src/snakegame
6870
69- It will create the game executable ` snake ` in the ` build/ ` direcotry and build the help pad for current terminal .
71+ It will create the game executable ` snakegame ` in the ` build/src ` directory .
7072
7173## Running the game
7274- Open the terminal window not smaller than 42 lines by 80 columns
7375- To start the game You can execute
7476 ```
75- ./build/shanke
77+ ./build/src/snakegame
7678 ```
7779 in the git directory root.
7880
79- If You are new to the game (probably You are), I recommend You to start game with the `--help` or `-h` option, so You can get used to it.
81+ If You are new to the game (probably You are), I recommend You to start
82+ game with the `--help` or `-h` option, so You can get used to it.
8083 ```
81- ./build/snake --help
84+ ./build/src/snakegame --help
8285 ```
86+ Game files will be located in `../var` relative to game executable
87+ (`build/var` if following this guide).
88+
8389## Contributing
8490If You find any bugs or unexpected behaviors or just want to
8591contribute to the snake-cpp, You are welcome at the [issues tab][issue].
0 commit comments