A fun and interactive educational game that combines the classic Pong game with a general knowledge quiz, allowing players to memorize facts while enjoying gameplay.
- Study Mode: Memorize facts before playing.
- Game Mode: Classic Pong gameplay with 2 players.
- Quiz Mode: Triggered when a player misses the ball; answer multiple-choice questions to save points.
- Scoreboard: Track scores and maintain competitiveness.
Starting screen
Facts
Gameplay
Questions
Players memorize facts, then play Pong. Missing a ball triggers a quiz. Correct answers save points; wrong answers cost points.
- Clone this repository:
https://github.com/coding-squad-pesu/EduPong.git
A fun educational game combining classic Pong mechanics with general knowledge quizzes. Learn while playing and memorize facts using distraction as a tool.
- Study Mode: Memorize factual information before gameplay.
- Pong Game Mode: Classic Pong mechanics.
- Quiz Mode: Triggered when a player misses the ball.
- AI Paddle Control: Optional AI-assisted paddle.
- Timed Quizzes: Answer within a time limit.
- Pause Control: Press
Pto pause the game. - Background Music: Play music during the game.
- Leaderboard Tracking: Keep score of your performance.
Install dependencies:
pip install pygame
Important: Make sure you have a music.mp3 file in the same folder as the script, or background music will be disabled.
Run the game:
python pong_quiz.py
- Start in Intro Mode → Press Enter to go to Study Mode.
- Scroll facts using Up/Down arrows.
- Press Enter again to start Pong Game Mode.
| Player | Controls |
|---|---|
| Left | W (up), S (down) |
| Right | Up (up), Down (down) |
| Quiz | 1-4 for answer options |
| Pause | P |
| Toggle Music | M |
| Quit / Exit | Escape |
- The player first memorizes factual information in Study Mode.
- The game starts with classic Pong mechanics.
- After a total of 5 points, missing the ball triggers a quiz question.
- Correct answers save points; wrong answers deduct points and award 1 point to the opponent.
- The game ends when the player quits or closes the window, and the winner is displayed.
- Fork the repository.
- Create a feature branch.
- Make improvements or add questions.
- Submit a pull request.
Open source project showcasing the use of pygame , turtle and other modules.



