No description
Find a file
2024-07-26 22:48:42 +03:00
.github/workflows github action fix 2024-07-26 20:46:05 +03:00
include functional bots, small refactoring, readme edit 2024-07-26 22:36:12 +03:00
src functional bots, small refactoring, readme edit 2024-07-26 22:36:12 +03:00
.gitignore initial template changes, xmake integration 2024-07-20 22:43:52 +03:00
CMakeLists.txt CMakeLists for cmake build variant 2024-07-26 22:38:18 +03:00
LICENSE initial commit 2022-05-12 14:17:14 +03:00
README.md readme: release 2024-07-26 22:48:42 +03:00
xmake.lua initial template changes, xmake integration 2024-07-20 22:43:52 +03:00

Game (Linux) - Slither.io offline clone

  • 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

Game is based on https://github.com/imp5imp5/game_template_linux.

Executable file for linux is placed in release section.

Build (xmake)

sudo apt install g++ cmake libx11-dev xmake
xmake

Run (xmake)

xmake run

Build (cmake)

sudo apt install g++ cmake libx11-dev
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make