A pong fork written in C utilising Direct2D API (similar to my other project SnakeD2D. Wrappers for Direct2D are written in C . The application binary has been built on the MSYS2 platform which includes the MinGW port of the GNU C Compiler (GCC) & the GNU C Compiler (G ).
Windows binaries can be downloaded here.
Key | Function |
---|---|
W | Move left wall up |
S | Move left wall down |
Up | Move right wall up |
Down | Move right wall down |
Escape | Pause/unpause |
Enter | Restart game |
F11 | Toggle fullscreen |
-
1.3.3
- Shut down logic thread before freeing the dxFactory
-
1.3.2
- Fix UB when going to fullscreen
-
1.3.1
- Add window resizing support
-
1.3.0
- Make scoring more engaging, points are given for whole game instead of the number of bounces, game ends at 10 points
-
1.2.0
- Made ball movement more random/realistic
- Added random number generator, mt19937-like engine Wiki: Mersenne Twister
-
1.1.1
- Paddle movement speed is no longer affected by the frame rate
-
1.1.0
-
1.0.1
- Smoother paddle operation / better keyboard response
-
0.9.1
- Fix bug when compiling for release mode, add
volatile
to an important variable
- Fix bug when compiling for release mode, add
This project uses the MIT License.
Icons made by Smashicons from www.flaticon.com