public void PassHand(Ihand hand) { base.hand = hand; }
public bool WinsFrom(Ihand ihand) { return(ihand is Paper); }
public bool IsDraw(Ihand hand) { return(hand is Scissors); }
public bool IsDraw(Ihand hand) { return(hand is Rock); }
public bool WinsFrom(Ihand ihand) { return(ihand is Scissors); }
public bool IsDraw(Ihand hand) { return(hand is Paper); }
public bool WinsFrom(Ihand ihand) { return(ihand is Rock); }
public MatchResult PlayGame(Ihand hand) { humanPlayer.PassHand(hand); computerPlayer.GenerateHand(); return(humanPlayer.DeterminWinner(computerPlayer)); }