dots-and-boxes

Dots and Boxes game implementation in C++ and OpenGL. Uses MinMax algorithm for computer generated moves.

There are two current branches: main and emscripten. You can follow the instructions at the emscripten branch to build the game for the web.

Starting game mode choosing menu

There are currently two implemented game modes:

  • Player vs Player
  • Player vs CPU

CPU mode can be adjusted by modifying the level to be one of the following values:

  • Easy
  • Medium
  • Hard

Level selection when CPU mode is chosen

Game UI against CPU