Exemple #1
0
        public Player Versus(Player player)
        {
            var thisWinAgainstPlayer = _move.WinAgainst(player.GetMove());

            return(thisWinAgainstPlayer ? this : player);
        }
Exemple #2
0
        public void Player_Move_Is_Rock()
        {
            var player = new RPS.Player.Player("Player", "R");

            Assert.IsType(typeof(Rock), player.GetMove());
        }