Skip to content

The Console Pong Game is a two-player arcade-style game in C++. Players control paddles to hit a ball back and forth, aiming to score points by getting the ball past their opponent. The game features adjustable difficulty levels and tracks scores, ending when a player reaches 5 points. Enjoy this classic Pong experience in a console environment!

Notifications You must be signed in to change notification settings

I-a-coder/PongGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Console Pong Game

This is a simple console-based Pong game implemented in C++. The game allows two players to control paddles and try to hit a ball back and forth. The first player to reach a score of 5 wins the game. The game features adjustable difficulty levels and player name input.

Features

  • Two-player Mode: Players can control their paddles using keyboard inputs.
  • Dynamic Ball Movement: The ball moves and bounces off walls and paddles.
  • Score Tracking: The game keeps track of each player's score.
  • Game Over Condition: The game ends when a player reaches a score of 5.
  • Difficulty Levels: Players can select from different difficulty levels that affect the speed of the ball.

Controls

  • Player 1 Controls:

    • Z or z: Move paddle up
    • X or x: Move paddle down
  • Player 2 Controls:

    • Up Arrow: Move paddle up
    • Down Arrow: Move paddle down

About

The Console Pong Game is a two-player arcade-style game in C++. Players control paddles to hit a ball back and forth, aiming to score points by getting the ball past their opponent. The game features adjustable difficulty levels and tracks scores, ending when a player reaches 5 points. Enjoy this classic Pong experience in a console environment!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages