コード例 #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();
        }
コード例 #2
0
ファイル: PokerSteps.cs プロジェクト: lise/poker
 public void AtOperatorSkriverInnPokerSpill(string pokerGameInput)
 {
     PokerGame pokerGame = new PokerGame(pokerGameInput);
     CurrentResult = pokerGame.GetWinner();
 }
コード例 #3
0
ファイル: Program.cs プロジェクト: lise/poker
 static void Main(string[] args)
 {
     PokerGame game = new PokerGame();
     Console.ReadLine();
 }
コード例 #4
0
 public override void AddBindings()
 {
     game           = new PokerGame(irc);
     irc.OnPMRecvd += new IrcClient.MSGRecvd(irc_OnPMRecvd);
 }
コード例 #5
0
 public override void AddBindings()
 {
     game = new PokerGame(irc);
     irc.OnPMRecvd += new IrcClient.MSGRecvd(irc_OnPMRecvd);
 }