예제 #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);
 }