/forza_quattro

"Four in a row" C++ assigment for the PROAV course at ECN

Primary LanguageTeXGNU General Public License v3.0GPL-3.0

C++ assignment for the ARPRO / PROAV courses at Centrale Nantes.

f4

  • Goal: implement the game Four in a Row
  • Topics: classes & inheritance
  • Instructions: have a look at latex/forza_quattro.pdf
  • Dependencies:

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