./arcade [lib_name.so]
[directional arrows] for the up/down/left/right directions
[r] Reset the game
[o] Load the first game
[p] Load the second game
[b] Load the previous graphical library
[n] Load the next graphical library
[del] Go back to the main menu
[Enter] Confirm your name in the game over screen
[Escape] Quit the program
Libraries are located in the /lib folder after you compiled the project
Install the prerequisites :
> sudo dnf install SDL2 SDL2-devel SDL2_ttf SDL2_ttf-devel SFML SFML-devel ncurses ncurses-devel
Then :
> git clone git@github.com:cram0/arcade_2020.git && cd arcade_2020
> mkdir lib/games/score && touch lib/games/score/nibbler_score lib/games/score/pacman_score
> make
> ./arcade lib/arcade_sdl2.so
Check the [Libraries location] part to find where the libs are.
You might want to resize your terminal to a bigger size before you load the NCurses library for the borders to be shown properly.