Basic Snake game in Python using Tkinter. Made for learning Python, practicing loops, conditionals, and keyboard input.
Tentang Portofolio Ini
Dokumentasi & Alur Fitur
Bagian 1
Snake.py
Simple Snake game built with Python and Tkinter. Demonstrates basic Python concepts like loops, keyboard input, and simple game logic.
How to play
-
Clone the repository:
git clone https://github.com/Ridhsuki/snake.py.git
-
Enter the folder:
cd snake.py
-
Run the game:
python main.py
-
Use the arrow keys to move the snake.
Eat food to grow and avoid walls or your own tail.
Press SPACE to restart after game over.