public RemotePlayer(PokerGame game, PlayerInfo player, IBluffinClient client, IBluffinServer server, int tableId)
 {
     Game = game;
     Player = player;
     Client = client;
     TableId = tableId;
     Server = server;
 }
        public int CreateTable(CreateTableCommand c)
        {
            ListTables();

            m_LastUsedId++;
            while (m_Games.ContainsKey(m_LastUsedId))
                m_LastUsedId++;

            var game = new PokerGame(new PokerTable(c.Params));

            m_Games.Add(m_LastUsedId, game);

            var p = game.Table.Params;
            Logger.LogTableCreated(m_LastUsedId, p);
            Logger.LogGameCreated(m_LastUsedId);
            game.Start();

            return m_LastUsedId;
        }