An open API service indexing awesome lists of open source software.

https://github.com/aalug/cpp-pong

Classic Pong game in C++ using the raylib library.
https://github.com/aalug/cpp-pong

cpp game pong pong-game raylib raylib-cpp

Last synced: 3 months ago
JSON representation

Classic Pong game in C++ using the raylib library.

Awesome Lists containing this project

README

        

# Pong Game in C++ with raylib

## Introduction

#### This is a simple implementation of the classic Pong game using the [raylib](https://www.raylib.com/) library.

## Getting Started

Follow these steps to run the game on your local machine:

1. Clone the repository
2. Navigate to the project's directory
3. Build the project:
- `mkdir build`
- `cd build`
- `cmake ..`
- `make`
4. Run the game:
- `./Pong`

## Gameplay

At the beginning of the game, you will be prompted to choose a difficulty level and color theme. To make your selections, use the following controls:

- Navigate Up and Down: **UP** and **DOWN** arrow keys
- Confirm Selection: **SPACE**
- Exit the Game: **ESC**

These instructions will also be displayed within the game for quick reference.