Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Lottery lottery = new Lottery();

            lottery.generateNumbers();
            Player player = new Player();

            //uncomment this to see the lottery numbers
            //lottery.printNumbers();
            player.setPlayerNumbers();
            BusinessLogicLoterry bl = new BusinessLogicLoterry(lottery, player);

            bl.checkIsWinner();
        }
Ejemplo n.º 2
0
 public BusinessLogicLoterry(Lottery lottery, Player player)
 {
     this.lottery = lottery;
     this.player  = player;
 }