static void Main(string[] args) { for (int i = 0; i < 11; i++) { Visitor currentVisitor = BowlingAlley.Instance.CreateVisitor("TestMember" + (i + 1), "TestAddress" + (i + 1), true); if (currentVisitor.WantsMembership) { Member newMember = currentVisitor.BecomeMember(); BowlingAlley.Instance.Confirmation(newMember.Name); } } Admin admin = new Admin("Bengan"); Cup testCup = admin.CreateCup("TestCup", DateTime.Now, DateTime.Now.AddDays(7)); var bowlingAlley = BowlingAlley.Instance; for (int i = 0; i < bowlingAlley.AllMembers.Count; i++) { Member currentMember = bowlingAlley.AllMembers[i]; testCup.RegisterNewParticipant(currentMember); Console.WriteLine(); } Game game = new Game(); game.Player1 = bowlingAlley.AllMembers[0]; game.Player2 = bowlingAlley.AllMembers[1]; game.GameSeries.Add(new GameSerie(120, 100)); game.GameSeries.Add(new GameSerie(110, 90)); game.GameSeries.Add(new GameSerie(95, 100)); game.GetWinnerOfGame(); Console.ReadLine(); }