Beispiel #1
0
        static Symbol[,] PlayWithFreeSpin(Player player, List <string> victories)
        {
            Symbol[,] board = new Symbol[5, 3];
            DrawController dc = new DrawController();

            board = dc.Spin();

            WinningLinesChecker linesChecker = new WinningLinesChecker(player, victories, player.Freespins[0].Multiplier);

            linesChecker.CheckLinesIgnoringFreeSpins(board);

            player.Freespins.RemoveAt(0);
            player.SpinsSoFar++;

            return(board);
        }
Beispiel #2
0
        static Symbol[,] PlayWithCredit(Player player, List <string> victories)
        {
            player.Credit -= player.Stake;

            Symbol[,] board = new Symbol[5, 3];
            DrawController dc = new DrawController();

            board = dc.Spin();

            WinningLinesChecker linesChecker = new WinningLinesChecker(player, victories, player.Stake);

            linesChecker.CheckAllLines(board);

            player.SpinsSoFar++;

            return(board);
        }