-
Open the terminal on your IDE
-
Clone the repo
git clone https://github.com/janenntt/project_oop.git
- Check the file status
git status
- Change branch
git checkout 'branch_name'
You can compile the main file using the following command:
g++ testFunctionOneal.cpp Sprite.cpp Animal.cpp Bomber.cpp Oneal.cpp Ballom.cpp Move.cpp mapCreation.cpp game.cpp Blocked.cpp -std=c++11 -I/opt/homebrew/Cellar/sfml/2.6.0/include -o testOneal -L/opt/homebrew/Cellar/sfml/2.6.0/lib -lsfml-graphics -lsfml-window -lsfml-system
or using:
make run