A simple yet functional cricket scoring app developed in Python with Pygame. Designed for local or school-level matches, MyScore helps users keep track of scores, wickets, and overs through an intuitive GUI.
Author: Alexander Camilleri
Version: 1.1.0 (Testing Release)
To begin the game:
- Open the project in your preferred code editor (e.g., Visual Studio Code).
- Run the
startmatch.pyfile:
python startmatch.py
Follow the on-screen prompts to:
Enter team names
Select team colours
Begin the match
📁 Project Structure Here's a breakdown of the key files:
| File | Description |
|---|---|
| startmatch.py | Launches the program and manages pre-game setup |
| main.py | Handles in-game logic and display |
| button.py | Contains reusable button components |
| inputs.py | Manages text input fields |
| result.py | Displays the result screen |
| shared.py | Stores global variables and shared logic |
| requirements.txt | Lists all necessary Python packages |
Ensure a Fonts folder exists with the required font files (.ttf) for proper rendering.
✅ Features
- Real-time match scoring
- Custom team colours
- Clean, interactive interface
- Easy-to-use for non-technical scorers
🚧 Known Limitations
- No save/load functionality
- Designed primarily for desktop/laptop use
🔭 Roadmap (Possible Future Features)
- Match history and statistics
- Enhanced UI and accessibility
- AI-based score prediction
📝 License Currently released for educational and testing purposes only. A formal license may be added in a future release.
📬 Contact If you're missing files or encounter issues, please contact: Alexander Camilleri