Skip to content

Jared-Chan/SDL_Pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDL pong

Pong

How to play

Two players

  1. Press Space to start a new game.
  2. W and S control the left bar
  3. Up and Down control the right bar

One player

  1. Press Return to start a new game.
  2. Up and Down control the right bar

Try it here.

How it's made

How to make pong in a day.

Build and run

mkdir build
cd build
cmake ..
make
cp ../slkscr.ttf .
./sdl_pong

Font: Silkscreen (License)

Releases

No releases published

Packages

No packages published