The game is pretty simple: it's just Pong, but the paddles are controlled like Flappy Bird.
The buttons are Left and Right Shift.
Play it right in your browser on PGEtinker!
https://pgetinker.com/s/SqJXHUWOpLx
(Here, the buttons are A and L)
This project uses Premake to generate the build files for your specific development environment.
When cloning this project, make sure to clone it recursively, because olcPixelGameEngine is included as submodule.
Assuming you already have a C++ compiler installed. If you don't, your system package manager should have one.
I use GCC, but you can also use Clang, for example.
- Install Premake. Your package manager will probably have this, too
- Run
premake5 gmake2
in the root directory of this project, to generate a makefile - Run
make
in the root directory of this project, to build the project
Assuming you have already have Visual Studio installed.
- Download Premake and put it on your path
- Run
premake5 vs2022
in the root directory of this project - Open the generated solution file in Visual Studio