This commit is contained in:
Love 2024-01-29 21:54:19 +01:00
parent c6eb46afb3
commit a67b8378ac
7 changed files with 7 additions and 1 deletions

View File

@ -2,6 +2,12 @@
A pong implementation in C++.
| | |
|:-------------------------------------:|:------------------------------------------------------:|
| ![Welcome](images/welcome-screen.png) | ![different-max-score](images/different-max-score.png)
| ![count-down](images/count-down.png) | ![play1](images/play.png) |
| ![play2](images/play2.png) | ![finish](images/finish.png) |
## Dependencies
You'll need cmake make, sdl2 sdl2-gfx and sdl2-ttf to compile. Under debian-based systems that can be installed using
@ -11,7 +17,7 @@ the following command.
apt install cmake build-essential libsdl2-dev libsdl2-gfx-dev libsdl2-ttf-dev
```
DejaVuSans is also expected to be present at the default location under linux whilst Arial is under Windows and macOS.
DejaVuSans is also expected to be present at the default location under linux whilst Arial is under Windows and macOS.
The package under debian is called `fonts-dejavu-core`
## Compiling

BIN
images/count-down.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
images/finish.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
images/play.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

BIN
images/play2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

BIN
images/welcome-screen.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB