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.
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.
- Python 3.x
- Terminal or command prompt environment
- Clone this repository or download the ZIP file.
- Navigate to the project directory in your terminal.
- Run
python3 main.pyto start the game. - Alternatively, you can directly run the pre-built executable file located in the
distfolder. Simply navigate to thedistdirectory and execute themain.exefile.
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.