예제 #1
0
        public GameSession()
        {
            Id = Guid.NewGuid();
            CreationTime = DateTime.Now;
            Status = GameSessionStatus.WaitingForPlayers;

            teams = new Dictionary<TeamPosition, Team>(2) { { TeamPosition.NorthSouth, new Team() }, { TeamPosition.EastWest, new Team() } };

            //initialize bidding start position to the one to the right of South
            currentBiddingStartPosition = PlayerPosition.East;

            MatchScore = new MatchScore();
        }
예제 #2
0
        public GameSession()
        {
            Id           = Guid.NewGuid();
            CreationTime = DateTime.Now;
            Status       = GameSessionStatus.WaitingForPlayers;

            teams = new Dictionary <TeamPosition, Team>(2);
            teams.Add(TeamPosition.NorthSouth, new Team());
            teams.Add(TeamPosition.EastWest, new Team());

            //initialize bidding start position to the one to the right of South
            currentBiddingStartPosition = PlayerPosition.East;

            MatchScore = new MatchScore();
        }