Check if game is won, finish game if it is