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; }
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); }
public GameForm(Game mGame) { Game = mGame; InitializeComponent(); }