Example #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();
        }
Example #2
0
 public void AtOperatorSkriverInnPokerSpill(string pokerGameInput)
 {
     PokerGame pokerGame = new PokerGame(pokerGameInput);
     CurrentResult = pokerGame.GetWinner();
 }
Example #3
0
 static void Main(string[] args)
 {
     PokerGame game = new PokerGame();
     Console.ReadLine();
 }
Example #4
0
 public override void AddBindings()
 {
     game           = new PokerGame(irc);
     irc.OnPMRecvd += new IrcClient.MSGRecvd(irc_OnPMRecvd);
 }
Example #5
0
 public override void AddBindings()
 {
     game = new PokerGame(irc);
     irc.OnPMRecvd += new IrcClient.MSGRecvd(irc_OnPMRecvd);
 }