예제 #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));
            }
        }
예제 #2
0
 public MineField Start()
 {
     Level = 1;
     return(MineField.Create(StartZoneSize, Level));
 }