Example #1
0
 public Player(Game mGame, string mName, bool mAI)
 {
     Game = mGame;
     Hand = new List<Card>();
     Taken = new List<Card>();
     KnownCards = new List<Card>();
     Name = mName;
     AI = mAI;
     Score = 0;
 }
Example #2
0
        private static void Main()
        {
            Game testGame = new Game();
            GameForm testGameForm = new GameForm(testGame);
            testGame.GameForm = testGameForm;

            AI.Game = testGame;
            AI.GameForm = testGameForm;

            Application.EnableVisualStyles();
            //Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(testGameForm);
        }
Example #3
0
 public GameForm(Game mGame)
 {
     Game = mGame;
     InitializeComponent();
 }