Skip to content

coding-squad-pesu/EduPong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pong + GK Quiz

Pong Quiz Turtle

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.


Table of Contents


Features

  • 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.

Demo

Starting screen

Screenshot 1

Facts

Screenshot 2

Gameplay

Screenshot 3

Questions

Screenshot 4

Players memorize facts, then play Pong. Missing a ball triggers a quiz. Correct answers save points; wrong answers cost points.


Installation

  1. Clone this repository:

https://github.com/coding-squad-pesu/EduPong.git

Pong + GK Quiz

A fun educational game combining classic Pong mechanics with general knowledge quizzes. Learn while playing and memorize facts using distraction as a tool.


Features

  • 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 P to pause the game.
  • Background Music: Play music during the game.
  • Leaderboard Tracking: Keep score of your performance.

Installation

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.


Usage

Run the game:

python pong_quiz.py

How to Play

  1. Start in Intro Mode → Press Enter to go to Study Mode.
  2. Scroll facts using Up/Down arrows.
  3. Press Enter again to start Pong Game Mode.

Game Controls

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

How It Works

  1. The player first memorizes factual information in Study Mode.
  2. The game starts with classic Pong mechanics.
  3. After a total of 5 points, missing the ball triggers a quiz question.
  4. Correct answers save points; wrong answers deduct points and award 1 point to the opponent.
  5. The game ends when the player quits or closes the window, and the winner is displayed.

Contributing

  1. Fork the repository.
  2. Create a feature branch.
  3. Make improvements or add questions.
  4. Submit a pull request.

License

Open source project showcasing the use of pygame , turtle and other modules.

About

Jackfruit Project I SEMESTER

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages