mirror of
https://github.com/ProgramSnail/snake_2024.git
synced 2026-01-03 12:08:15 +00:00
functional bots, small refactoring, readme edit
This commit is contained in:
parent
5299e89633
commit
7e67a3bd30
13 changed files with 179 additions and 91 deletions
19
README.md
19
README.md
|
|
@ -1,10 +1,21 @@
|
|||
# Game (Linux)
|
||||
# Game (Linux) - Slither.io offline clone
|
||||
|
||||
Game, based on https://github.com/imp5imp5/game_template_linux.
|
||||
- Snake should eat apples to grow
|
||||
- Current score displayed on top of the screen
|
||||
- There are bots that eat apples and can not be destroyed by player. Snake is destroyed when its head intersects bot
|
||||
|
||||
### Build
|
||||
Game is based on https://github.com/imp5imp5/game_template_linux.
|
||||
|
||||
|
||||
### Build (xmake)
|
||||
``sudo apt install g++ cmake libx11-dev xmake`` \
|
||||
``xmake``
|
||||
|
||||
### Run
|
||||
### Run (xmake)
|
||||
``xmake run``
|
||||
|
||||
### Build (cmake)
|
||||
``sudo apt install g++ cmake libx11-dev`` \
|
||||
``mkdir build && cd build`` \
|
||||
``cmake -DCMAKE_BUILD_TYPE=Release ..`` \
|
||||
``make``
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue