fixed is_finished, deleted command-line prints, now it prints on screen when the game is finished, yet to put it on panel and connect it to game