Skip to content

A simple console-based Snake game implemented in Python using the curses library.

Notifications You must be signed in to change notification settings

betazetadev/snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

A simple console-based Snake game implemented in Python using the curses library.

Snake Game running in the Linux terminal

Getting Started

Prerequisites

  • Python 3.x

Installation

  1. Clone the repository:
	git clone https://codeberg.org/betazetadev/snake-game.git
  1. Navigate to the project directory:
	cd snake-game
  1. Run the game:
	python snake.py

Gameplay

  • Use the arrow keys to control the direction of the snake.
  • Eat the food (represented by π) to grow the snake and increase your score.
  • Avoid running into the walls or colliding with the snake's body.
  • The game ends when you hit a wall or collide with the snake's body.

Features

  • Score tracking.
  • Increasing speed as the score goes up.
  • Game over screen with the final score.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A simple console-based Snake game implemented in Python using the curses library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages