Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 818 Bytes

File metadata and controls

35 lines (25 loc) · 818 Bytes

pong-cpp2

A bare bone implementation of Pong game written in Cpp2 (Cppfront) with SFML

out

Dependencies

  • C++20 capable compilers
  • CMake 3.23+

Building

cmake -S . -B build -DCMAKE_BUILD_TYPE=Release      # -G Ninja
cmake --build build

Then run the executable:

./build/pong

Controls

Key Action
space Start the game
q Quit the game
r Reset the game
w Move left paddle up
s Move left paddle down
arrow up Move right paddle up
arrow down Move right paddle down