Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.26 KB

readme.md

File metadata and controls

35 lines (25 loc) · 1.26 KB

BIT BLOCKS!

ACADEMIC SFML/C++ GAME

This is an academic project of a game developed using basic concurrently programming concepts with c++ and SFML lib.

How to run

  • Windows:

-->First, you should to makes download of SFML Lib;
-->After, open solution file and configure (like this link) the project build settings on CodeBlocks IDE;
--> Make build/run;

  • Linux:

    Install gcc and dev tools :
    $ sudo apt-get update
    $ sudo apt-get install build-essential manpages-dev

    Install SFML lib:
    $ sudo apt-get install libsfml-dev

    Clone this project in your workspace and enter in directory
    $ git clone [project-link]
    $ cd BitBlocks/

    Compile and run project:
    $ g++ -c BitBlocks3/*.cpp -std=c++11
    $ g++ main.o -o sfml-app -lsfml-graphics -lsfml-window -lsfml-system Edge.o GamePhysics.o GameScreen.o GameStatus.o Player.o Timer.o
    $ ./sfml-app

    obs.: To restart when game's over, press spacebar.