CalCraze
**CalcRaze** is an engaging and educational mental math game designed to challenge your brain with quick calculations and formula filling tasks. Whether you're looking to sharpen your math skills, enjoy a fun brain workout, or compete for the highest score, CalcRaze offers an exciting experience for players of all ages.
Install / Use
/learn @yaninsanity/CalCrazeREADME
🧠 CalCraze - Formula Fill Math Game
CalCraze is an engaging and educational mental math game designed to challenge your brain with quick calculations and formula filling tasks. Whether you're looking to sharpen your math skills, enjoy a fun brain workout, or compete for the highest score, CalCraze offers an exciting experience for players of all ages.
🎮 Features
- Interactive Gameplay: Fill in the blanks of randomly generated math formulas using numbers from a grid.
- Dynamic Formula Update: The formula updates in real-time as you select numbers.
- Intelligent Filtering: Only formulas with integer results are generated, avoiding decimals.
- Multiple Difficulty Levels: Choose from Beginner, Intermediate, and Advanced modes.
- User-Friendly UI: Smooth animations, hover effects, and intuitive controls.
- Multi-Language Support: English and Traditional Chinese, with automatic translation for new languages.
- Undo Function: Easily retract previous inputs using Backspace.
- High Score Tracking: Challenge yourself to beat your personal best.
- Pause and Resume: Take breaks without losing progress.
- Help Menu: In-game tutorial with scrollable instructions.
🖥️ Installation
🐍 Prerequisites
Ensure you have Python 3.11+ and pygame installed.
Install the following in your environment:
pip install pygame googletrans==4.0.0-rc1
-
Clone the Repository:
git clone https://github.com/yourusername/CalCraze.git cd CalCraze -
Install Dependencies:
python3.11 -m venv venv source venv/bin/activate pip install pygame googletrans -
Run the Game:
python3 calcraze.py
⚙️ Configuration
CalCraze stores settings in config/settings.json and language packs in config/languages.json. You can modify:
- Window size
- Grid size
- Difficulty parameters (min/max numbers, rounds, and time limits)
- Custom fonts (ensure system support for non-Latin characters)
🎲 How to Play
- Start the Game: Select difficulty from the main menu.
- Fill the Formula: Choose numbers from the grid to replace placeholders (A, B, C).
- Submit Your Answer: Press Enter when ready.
- Score Points: Correct answers increase your score, while incorrect ones deduct points.
- Complete Rounds: Each game consists of multiple rounds. Finish them all to win!
🕹️ Controls
- Arrow Keys: Navigate menu options.
- Enter: Confirm selection.
- Backspace: Undo the last number selection.
- Ctrl+H / Cmd+H: Toggle help menu.
- Esc: Return to the previous menu.
🖌️ Customization
- Logo: Add a
logo.pngin the assets folder to display your custom logo in the menu. - Languages: Add translations in
config/languages.json. Missing keys are auto-filled via Google Translate. - Difficulty: Adjust
settings.jsonto customize rounds, time limits, and number ranges.
screenshots
<!-- add screenshots from /screenshots/* -->📸 Screenshots
Here are some screenshots of CalCraze in action:
Main Menu
Gameplay
🚀 Roadmap
- Add multiplayer mode (local and online).
- Support more languages.
- Expand formula complexity for advanced users.
- Implement leaderboard and user profiles.
🤝 Contributing
Contributions are welcome! Please follow these steps:
- Fork the repo and create a new branch.
- Make your changes and run tests.
- Submit a pull request with clear commit messages.
📝 License
This project is licensed under the MIT License.
🧩 Acknowledgments
- pygame: For powering the game engine.
- Google Translate API: For automatic language translation.
- Open Source Community: For inspiring creativity and innovation.
🌟 Enjoy the thrill of mental math with CalCraze! Test your skills, challenge your friends, and become a formula master! 🌟
