Skip to content

kundurz/pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pong (C / SDL2)

A simple single-player Pong implementation written in C, using the SDL2 library for graphics and input handling. The player competes against a computer-controlled paddle.

This project was built as a learning exercise to explore basic game loops, event handling, rendering, and simple AI behavior in C.

Features

  • Classic Pong gameplay
  • Single-player mode against a computer opponent
  • Keyboard-controlled paddle
  • Real-time rendering using SDL2
  • Basic collision detection
  • Simple AI for the computer paddle

Controls

  • W or UP – Move paddle up
  • S or DOWN – Move paddle down

About

Remake of the well-known pong game, using SDL2 library for graphics.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors