Welcome to Shelly The Turtle! This is a simple, fun, and interactive turtle graphics game that I developed during the She Codes Plus one-day Python workshop.
This project was originally inspired by a game created by Christian Thompson (aka @TokyoEdTech). The game was transcribed and adapted by Kieran McCluskey with assistance from Adrian Smith, and reformatted specifically for She Codes Australia by Ben Fitzhardinge. I've made my own tweaks and improvements as part of my learning experience with Python and game development.
The goal of Space Turtle Chomp is to control the green turtle and collect as many food items as possible within a set time limit. You’re competing against a red turtle opponent—whoever has the higher score at the end of the game wins!
- Player Control: Use arrow keys to move the turtle and control its speed.
- Opponent Turtle: The red turtle competes against you to collect food items.
- Scoring: Each food item collected increases the score.
- Sound Effects: Sounds play on collision with walls or food items (requires
pygame
). - Timer: The game has a set time limit (default: 1 minute).
-
Movement:
- ⬅️ Left Arrow: Turn left.
- ➡️ Right Arrow: Turn right.
- ⬆️ Up Arrow: Increase speed.
- ⬇️ Down Arrow: Decrease speed.
-
Objective:
- Collect as many food items as you can before time runs out.
- Avoid getting outscored by the red opponent turtle!
-
Scoring:
- Your score is displayed in the top-left corner.
- The opponent’s score is displayed in the top-right corner.
- When the time is up, a message will display whether you won or lost based on the score.
-
Clone the repository:
git clone https://github.com/yourusername/space-turtle-chomp.git cd space-turtle-chomp
-
Install the required dependencies: pip install pygame
-
Run the game: python turtle_shelly.py
Python 3.x Pygame library
This project is for educational purposes and personal use. If you modify or distribute it, please give credit to the original creators and contributors.
Created by https://www.linkedin.com/in/ccestrella/. Feel free to reach out for questions or collaboration!