Example #1
0
        private static void FindAllActiveAvailableGames(ClientInfo clientInfo, JObject jsonObject)
        {
            var findAllActiveAvailableGamesResponse = sl.findAllActiveAvailableGames();

            SendMessage(clientInfo, findAllActiveAvailableGamesResponse);
            return;
        }
        public void findActiveAvailableGamesFailTest()
        {
            Assert.IsTrue(center.endGame(gamesList[0].gameId).success);
            sl.removeGame(4);
            List <TexasHoldemGame> active = (List <TexasHoldemGame>)sl.findAllActiveAvailableGames();

            Assert.AreNotEqual(active.Count, gamesList.Count);
        }
Example #3
0
 public object findAllActive()
 {
     return(sl.findAllActiveAvailableGames());
 }