Keeps the repo root clean - only README.md visible on landing page. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
12 lines
235 B
C#
12 lines
235 B
C#
Random rnd = new Random();
|
|
|
|
while(Run)
|
|
{
|
|
if(Self?.Location == null) { Delay(100); continue; }
|
|
|
|
int x = Self.Location.X + rnd.Next(-1, 2);
|
|
int y = Self.Location.Y + rnd.Next(-1, 2);
|
|
|
|
Move(x, y);
|
|
Delay(100);
|
|
} |