Check if game has finished after finishing each movement