attempt to find the optimum solution for a puzzle solver game