Exemplo n.º 1
0
        public void testClass()
        {
            List <String> games = r.getGames();

            foreach (String st in r.getHands(games[0]))
            {
                Console.WriteLine(st);
            }
            foreach (String str in r.actualHand)
            {
                Console.WriteLine(str);
            }
        }
Exemplo n.º 2
0
        public List <String> getReplay(Replay.action act, String str)
        {
            List <String> result = new List <string>();

            switch (act)
            {
            case Replay.action.game:
                rep    = new Replay(str);
                result = rep.getGames();
                break;

            case Replay.action.hand:
                result = rep.getHands(str);

                break;
            }
            return(result);
        }
Exemplo n.º 3
0
Arquivo: Game.cs Projeto: B3J4y/Poker
 public List<String> getReplay(Replay.action act, String str)
 {
     List<String> result = new List<string>();
     switch(act){
         case Replay.action.game:
             rep = new Replay(str);
             result = rep.getGames();
             break;
         case Replay.action.hand:
             result = rep.getHands(str);
             
             break;
     }
     return result;
 }