implemented isWon() isTied()