Beispiel #1
0
        public MineField Next()
        {
            Level++;
            return(MineField.Create(GetZoneSize(), Level));

            int GetZoneSize()
            {
                var percent = (Level * 100) / (StartRatio + (Level / 3));

                return((int)Math.Sqrt(percent));
            }
        }
Beispiel #2
0
 public MineField Start()
 {
     Level = 1;
     return(MineField.Create(StartZoneSize, Level));
 }