Skip to content

dralan71/SnakeGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

SnakeGame

Snake Gameplay

This is a simple implementation of the classic Snake Game written in C++ that runs in the terminal. The game logic is handled using basic input and drawing operations.

๐ŸŽฎ How to Play

w โ†’ Move Up

s โ†’ Move Down

a โ†’ Move Left

d โ†’ Move Right

x โ†’ Exit the game

The objective is to eat the fruit (F) that randomly spawns on the map. Each time the snake eats the fruit, the score increases by 10 points, and the snake's tail grows.

๐Ÿ“ Game Rules

Avoid colliding with the walls.

Do not collide with your own tail.

Press x at any time to exit the game.

About

This is a basic implementation of the SnakeGame in C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages