A command line implementation of two player pong, built using WinAPI.
demo.mp4
Player controls are W, S
, and I, K
- this can be changed from within in config.h
(must be an uppercase alphabetic character, or a valid virtual key code)
A C++20 compatible compiler is required for this program to function as expected
- Clone this project
git clone https://github.com/Oakamoore/cli-pong.git
- Step into the repository
cd cli-pong
- Build the project using CMake
# Configure the build
cmake -S . -B build
# Build project binaries
cmake --build build
A build configuration (Debug
, Release
etc.) can also be specified.
Once the project is built, navigate to the newly created build directory cli-pong/build/
, locate the executable and run the program using:
./cli-pong