bugfix in end of game detection against computer