Skip to content
SDL2 C Demo Pong clone scalable
C Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

This is a simple pong implementation.
AI, State Integration and timing needs love.
You can build 2 executables, one with static size,
which is easier to review and a second version which
scales in size - so you can play it in stamp size or
UHD =)

But this may be done later with subpixel rendering.

Human rection time (RT) is about 200-300 ms max.
Since this AI doesn't interpolate I cheated.
RT could be ranged rand, like visibility could.
But since this is no rocket science it's good for now.


Useful links:
classic Pong and Breakout stuff
SDL2 SDL-Discourse More Example Code

Get in touch on SDL-Discourse

You can’t perform that action at this time.