Snake is a classic arcade game where the player controls a snake that moves around the screen. The objective of the game is to eat food items that appear randomly while avoiding collisions with the snake's own body or the game boundaries.
As the snake eats food, it grows in length, making it more challenging to navigate without running into itself. The game ends if the snake collides with its own body or hits the boundaries of the game window.
The player controls the snake's movement using arrow keys or other designated keys. The snake can move in four directions: up, down, left, and right. The goal is to eat as much food as possible and achieve the highest score.
This game was develeped using ChatGPT.
You must need python
installed and the library pygame.
pip install --upgrade pygame
To join this game just follow these steps:
$ git clone https://github.com/aramiol/snake.git
$ cd snake
$ python snake.py
See LICENSE to see the full text.