https://github.com/michaelaquilina/sdl2-pong
Development of Pong with SDL2
https://github.com/michaelaquilina/sdl2-pong
Last synced: 8 months ago
JSON representation
Development of Pong with SDL2
- Host: GitHub
- URL: https://github.com/michaelaquilina/sdl2-pong
- Owner: MichaelAquilina
- License: mit
- Created: 2014-01-16T23:01:13.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-20T09:14:47.000Z (over 11 years ago)
- Last Synced: 2025-02-02T04:24:34.098Z (8 months ago)
- Language: C++
- Homepage:
- Size: 391 KB
- Stars: 5
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SDL2 Pong
==========Simple implementation of pong using SDL2.0
This is a single player game with the second paddle being controlled by an *extremely* simple AI.

Controls
--------* Up - move up
* Down - move down
* Escape - ExitController Support
------------------
The game has very basic controller support. You can use the up and down buttons to move your paddle. I also introduced some basic haptic feedback when the ball hits a paddle or one of the players score a point.Requirements
------------
You require the SDL2.0 development libraries along with the following extensions:
* SDL_ttf
* SDL_imageBuilding
--------
Simply Navigate to the src directory and type `make`Executing
---------
Run `pong.exe`Notes
-----
This was tested on a Linux machine (64bit) but should also work and compile on Windows and Mac OSX given the right development tools.