Skip to content

This classic arcade-style game brings the thrill of maneuvering a snake through obstacles right to your command line. Written in Python.

Notifications You must be signed in to change notification settings

AElalfee/snake_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal Snake Game

Introduction

Welcome to the Snake Game! This classic arcade-style game brings the thrill of maneuvering a snake through obstacles right to your command line. Written in Python, it's a simple yet addictive experience that challenges your reflexes and strategic thinking.

How to Play

To play the game, simply run the Python script main.py. The snake will start moving automatically, and you can control its direction using the arrow keys. Navigate the snake to collect food represented by diamond symbols while avoiding collisions with the walls or the snake's own body. Each time the snake eats food, it grows longer, making the game progressively more challenging.

Requirements

  • Python 3.x
  • Terminal or command prompt environment

Installation

  • Clone this repository or download the ZIP file.
  • Navigate to the project directory in your terminal.
  • Run python3 main.py to start the game.
  • Alternatively, you can directly run the pre-built executable file located in the dist folder. Simply navigate to the dist directory and execute the main.exe file.

Note: If you encounter any issues with the pre-built executable, ensure that your system meets the necessary requirements and that any antivirus software is not blocking the execution of the file.

About

This classic arcade-style game brings the thrill of maneuvering a snake through obstacles right to your command line. Written in Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages