Yet another snake game remake written in C for the console.
-
Clone the repository:
git clone https://github.com/d4r1us-drk/serpent.git
-
Compile the program using make:
make
-
Run the game:
./serpent
- Arrow Up: Move Up
- Arrow Down: Move Down
- Arrow Left: Move Left
- Arrow Right: Move Right
p
: Pause the game
- Start the game by selecting "Start Game" from the main menu.
- Control the snake's direction using the arrow keys.
- Collect apples to grow the snake and increase your score.
- Avoid collisions with the walls and the snake's own body.
- Press
p
to pause the game. - Game ends if the snake collides with the walls or itself.
-c, --show-controls
: Display the game controls.-h, --help
: Display help message and exit.-v, --version
: Display version information and exit.
Feel free to contribute by suggesting ideas, reporting issues, or submitting pull requests.
This program is distributed under the GNU General Public License v3.0.