/shooter-game

minimal game built in c++ / SFML

Primary LanguageC++GNU General Public License v3.0GPL-3.0

shooter-game

minimal game built in c++ / SFML

Building the game

Installing Dependencies

libsfml-dev

For debian or debian based systems do:

#apt install libsfml-dev

For other systems follow https://www.sfml-dev.org/

Building

If you use codeblocks open game/game.cbp project and build.

If you want to do it mannually do :

  cd shooter-game/game/
g++ -c main.cpp
g++ main.o -o game -lsfml-graphics -lsfml-window -lsfml-system

run the game

./game

note: place BebasNeue Bold.ttf file to current directory from where you run the app.

Playing:

Space fires the ball. If you hit the moving target you'll get points.