Skip to content

macasteglione/pong-c-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pong!

This is a C++ version of the classic Pong game, created with Raylib and CMake for the build. Here is a simple illustration I've made while learning C++. I hope you had fun! screenshot

Build

It is a Make project, so it builds very simply. Open a terminal inside this folder:

make windows

Or for Linux:

make linux

Run

  • On macOS, you get a bundle that you can simply open.
  • On Windows/Linux, you get an executable that you can simply run.

How to play

"W" and "S" are the controls for the first player. The controls for player two are "I" for up and "K" for down. To pause and resume the game, press "P", to quit press "Esc".

Embedded Project