Skip to content

cs-cbonh002/Pong-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Pong Game

This is a simple implementation of the classic Pong game written in C++. The game features two paddles, one for each player, and a ball that bounces between them. The objective is to hit the ball past the opponent's paddle to score a point.

Pong Gameplay

Features

  • Player vs Computer mode: One player competes against a Computer-controller opponent.
  • Simple controls: Players can move their paddles up and down using arrow keys.
  • Score tracking: The game keeps track of each player's score and displays it on the screen.

How to Play

  1. Clone this repository to your local machine.
  2. Compile the source code using a C++ compiler.
  3. Run the executable file generated after compilation.
  4. Use the arrow keys to control the paddles:
  5. Hit the ball with your paddle to prevent it from passing you.
  6. Score points by hitting the ball past your opponent's paddle.
  7. The first player to reach the designated score wins the game.

Requirements

  • C++ compiler (e.g., g++, clang++)
  • Raylib 3rd party library

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published