moved updating game panel values after solving game to separate function