A Computer vision bot that plays Puzlogic puzzle game
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
puzbot
tests
.gitignore
README.md
requirements.txt
run.py

README.md

Puzbot

OpenCV bot which plays and solves numeric puzzles in the Puzlogic Unity game.

Puzlogic is a number based puzzle game with some similarities to Sudoku. In Puzlogic you get an oddly shaped grid with locations where you can fill in a number, and with some numbers already filled in. You also get a set of numbers you have to put on the board. The rules are that in no row and no column may there be two or more repeating numbers, and some columns or rows may have a constraint, requiring all numbers on that row/column to sum to a given number.

Goal of Puzbot is to solve these puzzles one by one, going from screen to screen, without any human intervention.

Puzbot has 3 main parts:

  • Vision - takes the board as it is displayed on screen, finding numbers and required locations, and transforms it into data structures more convenient for the solver to solve;
  • Solver - takes the machine-readable representation of the situation and produces a list of steps necessary to take to complete the puzzle;
  • Controller - Operates mouse controls, traversing through UI screens and executing instructions of the Solver.