The code within this folders represents the pre-ported (native) codebase reviewed in Chapter 8.
- Unless otherwise specified, all terminal commands should be run from within this folder.
- GNU Make >= v3.81
- CMake >= v3.5
- SDL2
- SDL2_ttf
- Run the following command from within this folder to configure CMake:
cmake ./ -Bbuild
- Once the CMake configuration is complete, run the following command to build the game:
cd build && make
- Run the following command to start the game:
./Tetris
- libsdl2-dev
- libsdl2-ttf-dev
- Run the following command from within this folder to configure CMake:
cmake ./ -Bbuild
- Once the CMake configuration is complete, run the following command to build the game:
cd build && make
- Run the following command to start the game:
./Tetris
- Visual Studio
- Instructions pending