protected override void GoHomeWobbling() { var r = new Random(); while (Console.CursorTop < 20) { Thread.Sleep(500); var maxSteps = DrunkLevel.CalculateMaxSteps(); Movements.MoveRight(r.Next(1, maxSteps)); Movements.MoveDown(r.Next(1, maxSteps)); Movements.MoveLeft(r.Next(1, maxSteps)); Movements.MoveDown(r.Next(1, maxSteps)); } }
private void GoHomeStraight() { Movements.MoveDown(20); }