From 6c7d107424c3396b833b6ba5c2e3367779e4f465 Mon Sep 17 00:00:00 2001 From: Your Average Code <138674451+UrAvgCode@users.noreply.github.com> Date: Thu, 25 Jan 2024 00:47:01 +0100 Subject: [PATCH] SnakeBot remove while --- src/SnakeBot.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/SnakeBot.java b/src/SnakeBot.java index df6f622..f336aec 100644 --- a/src/SnakeBot.java +++ b/src/SnakeBot.java @@ -8,10 +8,8 @@ public class SnakeBot extends Bot { protected int steps = 0; public static void main(String[] args) { - while (true) { Bot bot = new SnakeBot(args); bot.run(); - } } protected SnakeBot(String[] args) {