Before starting, you will have to install the following tools:
- C++ Compiler, such as MinGW
- SDL2 and SLD2 Image installed in the compiler
- Besides it's nice to have an editor to work with the code like VSCode
# access the project directory
cd Jogo
# compile the project
./build.bat
# run the game.exe
./run.bat
-
Install MinGW as the following document explains: https://code.visualstudio.com/docs/cpp/config-mingw
-
Install SDL in MinGW: https://w3.cs.jmu.edu/bernstdh/web/common/help/cpp_mingw-sdl-setup.php
-
Install SDL Image in MinGW (The process is the same to the SDL installation)