From 2d4d1a54a9f9095f2fb60db6e7c7c43c7f5b9500 Mon Sep 17 00:00:00 2001 From: Naga Praneeth Date: Fri, 3 Oct 2025 21:14:22 +0530 Subject: [PATCH] Add Snake Game idea (Tier 1-Beginner) for Hacktoberfest 2025 --- Projects/1-Beginner/Snake-Game.md | 32 +++++++++++++++++++++++++++++++ README.md | 1 + 2 files changed, 33 insertions(+) create mode 100644 Projects/1-Beginner/Snake-Game.md diff --git a/Projects/1-Beginner/Snake-Game.md b/Projects/1-Beginner/Snake-Game.md new file mode 100644 index 00000000..2b2db868 --- /dev/null +++ b/Projects/1-Beginner/Snake-Game.md @@ -0,0 +1,32 @@ +# Snake Game +**Tier:** 1-Beginner + +## Description +A classic Snake game implementation using Python's Turtle graphics library. Control a snake to eat food and grow longer while avoiding walls and your own tail! + +## Purpose +To create a fun, interactive Python game that helps beginners practice programming, logic, and working with Python’s Turtle library. + +## Resources Needed +- Python 3.x +- Turtle graphics library (built-in with Python) + +## User Stories +- [ ] User can control the snake using WASD or arrow keys. +- [ ] User can eat food to grow the snake. +- [ ] User can see and track their current score. +- [ ] Game ends when the snake collides with walls or itself. +- [ ] Game displays the snake, food, and score clearly on the screen. + +## Bonus Features +- [ ] Implement increasing speed as the snake grows. +- [ ] Add sound effects for eating food or game over. +- [ ] Allow the player to restart the game without closing it. +- [ ] Add multiple difficulty levels (e.g., easy, medium, hard). + +## Useful Links and Resources +- [Python Turtle Documentation](https://docs.python.org/3/library/turtle.html) +- [Python Random Module](https://docs.python.org/3/library/random.html) + +## Example Projects +- [Snake Game – GitHub](https://github.com/nagapraneethk/Snake-Game) diff --git a/README.md b/README.md index 2d209743..e434e58a 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,7 @@ required to complete them. | [Random Number Generator](./Projects/1-Beginner/Random-Number-Generator.md) | Generate random number between range. | 1-Beginner | | [Roman to Decimal Converter](./Projects/1-Beginner/Roman-to-Decimal-Converter.md) | Convert Roman to Decimal numbers | 1-Beginner | | [Slider Design](./Projects/1-Beginner/Slider-Design.md) | Display images using a slider control | 1-Beginner | +| [Snake Game](./Projects/1-Beginner/Snake-Game.md) | Classic Snake game using Python's Turtle graphics with scoring and collision detection | 1-Beginner | | [Stopwatch App](./Projects/1-Beginner/Stopwatch-App.md) | Count time spent on activities | 1-Beginner | | [TrueOrFalse](./Projects/1-Beginner/True-or-False-App.md) | Identify the result of a conditional comparison | 1-Beginner | | [Vigenere Cipher](./Projects/1-Beginner/Vigenere-Cipher.md) | Encrypt text using the Vigenere Cypher | 1-Beginner |