Exemplo n.º 1
0
        /// <summary>
        /// Main constructor for the PokerForm.  Initializes components, loads the card skin images, and sets up the new game
        /// </summary>
        public PokerForm(PokerGame game)
        {
            Folded    = false;
            this.game = game;

            listOfCard = new List <Card>();
            InitializeComponent();
            LoadCardSkinImages();


            //game.gameState = PokerGame.GameState.PREFLOP;
            //SetUpGameInPlay();
        }
Exemplo n.º 2
0
 public void AtOperatorSkriverInnPokerSpill(string pokerGameInput)
 {
     PokerGame pokerGame = new PokerGame(pokerGameInput);
     CurrentResult = pokerGame.GetWinner();
 }
Exemplo n.º 3
0
 static void Main(string[] args)
 {
     PokerGame game = new PokerGame();
     Console.ReadLine();
 }
Exemplo n.º 4
0
 public override void AddBindings()
 {
     game           = new PokerGame(irc);
     irc.OnPMRecvd += new IrcClient.MSGRecvd(irc_OnPMRecvd);
 }
Exemplo n.º 5
0
 public override void AddBindings()
 {
     game = new PokerGame(irc);
     irc.OnPMRecvd += new IrcClient.MSGRecvd(irc_OnPMRecvd);
 }