- Goal: implement the game Four in a Row
- Topics: classes & inheritance
- Instructions: have a look at
latex/forza_quattro.pdf
- Dependencies:
- CMake >= 3.12
- piksel
To compile and run the solution:
git clone --recursive https://github.com/bernhardfritz/piksel.git
mkdir build && cd build
cmake .. -DBUILD_SOLUTIONS=ON
make
./solution/solved_forza_quattro
To build the web-application, install Emscripten using:
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk/
./emsdk install latest
./emsdk activate latest
source ./emsdk_env.sh
Then, compile almost as above:
mkdir build && cd build
emcmake cmake .. -DBUILD_SOLUTIONS=ON
emmake make