Skip to content

rukhshan23/TerminalSnake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Snake (Terminal) — Python

A simple terminal-based Snake game written in Python. Use the arrow keys to move, eat fruit to grow, and avoid hitting the walls or biting your own tail.

Gameplay

  • You control the snake using the arrow keys
  • Eat the fruit ($) to grow and increase your score
  • The snake’s body is shown as O
  • The game ends if you:
    • hit the wall, or
    • collide with your own body (“snake bite”)

Controls

  • Up
  • Down
  • Left
  • Right

Requirements

  • Python 3.x
  • The keyboard library

Install dependencies:

pip install keyboard

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages