This repository contains a fun, interactive Catch The Turtle mini-game. The objective is simple: click on the randomly appearing turtle as many times as possible to earn points before the countdown timer runs out!
This project is a great demonstration of utilizing coordinate systems, handling user click events, and managing game loops/timers in a graphical environment.
- ๐ฏ Event-Driven Gameplay: Accurately detects and processes mouse click events on the moving target.
- โฑ๏ธ Countdown Timer: A real-time timer that creates a sense of urgency and automatically ends the game when time is up.
- ๐ Score Tracking: Dynamically updates the player's score upon successful clicks.
- ๐ Random Coordinate Generation: The turtle teleports to random coordinates within the screen boundaries, making the game challenging.
- Language: Python 3.x
- Library:
turtle(Python's standard built-in GUI library for drawing and simple games)
- Clone the repository:
git clone [https://github.com/OmerFarukAY/catch-the-turtle.git](https://github.com/OmerFarukAY/catch-the-turtle.git) cd catch-the-turtle - Run the game:
(Ensure you have Python installed on your system)
python CatchTheTurtle.py
๐น๏ธ How to Play Start the game.
A countdown will begin at the top of the screen.
Click the turtle as fast as you can before it disappears and moves to a new location.
Check your final score when the timer reaches zero!
Author: รmer Faruk AY