Exemplo n.º 1
0
 public Game(IInputFromPlayer inputFromPlayer, IDisplayGame display, int decks = 5)
 {
     currentShoe = new Shoe(decks);
     dealer      = new Player(new DealerStrategy());
     player      = new Player(new BasicStrategy())
     {
         name = "player"
     };
     players = new List <Player> {
         player
     };
     this.display = display;
     this.decks   = decks;
 }
Exemplo n.º 2
0
 public ManualStrategy(IInputFromPlayer inputFromPlayer)
 {
     this.inputFromPlayer = inputFromPlayer;
 }