Skip to content

mrizaln/pong-cpp2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages