One project made at Polytech Lyon consisted in developing the Quarto game in C++ language. It offers two game modes :

  • Player versus player
  • Player versus AI

The game is a grid composed of 16 squares. Players have 16 unique pieces and they have to align 4 of them that share one common attribute. Each piece can be :

  • Large or small
  • Round or rectangular
  • Holey or not
  • Red or blue

Several algorithms were used for the AI :  alpha-beta and MinMax.



The project is available on GitHub.