A simple, interactive command-line math quiz game built in Python. Test your arithmetic skills with an endless stream of random questions!
This script generates random arithmetic problems interacting with the user in a CLI environment. It covers basic operations (Addition, Subtraction, Multiplication, Division) and tracks the user's score throughout the session.
- Infinite Gameplay: The game generates questions indefinitely until you decide to stop.
- Randomized Questions: Problems involve random integers (1-1000) and random operators (+, -, *, /).
- Score Tracking: Keeps a running count of your correct answers.
- Smart Division: Automatically rounds division answers to 3 decimal places to ensure playability.
- Input Validation: Gracefully handles non-numeric inputs so the game doesn't crash.
- Ensure you have Python installed.
- Run the script using the command line:
python "imported math_game.py"