Skip to content

A pure C and libSDL port of a game Boing! from the Code the Classics book

Notifications You must be signed in to change notification settings

vkazanov/cboing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A pure C and libSDL port of a game Boing! from the very cute Code the Classics book. Boing! itself is a modernised Pong:

cboing-screenshot.png

Motivation

I wanted to play with SDL a bit but did not want to think about game design and assets issues. Code the Classics comes with a Github repo containing code in Python using the Pygame Zero, images, sounds and music I only had to port the logic itself.

Compiling

I developed the port using GCC 9.3.0 and the popular libSDL 2.x, SDL_Mixer, SDL_Image libraries on Ubuntu 20.04. Having all of the libraries installed the following should work:

cd cboing
make
./cboing

Playing

Pick a number of players.

Controls for player 1: up/down or a/z.

Controls for player 2: m/k.

License

The code is free for all to use.

Assets are https://creativecommons.org/licenses/by-nc-sa/3.0/.

About

A pure C and libSDL port of a game Boing! from the Code the Classics book

Resources

Stars

Watchers

Forks

Packages

No packages published