/pong-cpp2

Pong game written in Cpp2 (C++ syntax 2; Cppfront) with SFML

Primary LanguageCMake

pong-cpp2

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

out

Dependencies

  • C++20 capable compilers
  • CMake 3.23+
  • Conan 2

Building

conan install . --build missing -s build_type=Release
cmake --preset conan-release                              # use conan-default for windows
cmake --build --preset conan-release

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