From f7ae380baaeb68f58afc3f4447009a45e0686f09 Mon Sep 17 00:00:00 2001 From: Illia Soloviov <74905269+wav3solo@users.noreply.github.com> Date: Sat, 6 Jan 2024 20:26:01 +0100 Subject: [PATCH] EscapeBot using walkBySpiral. Avg moves 54. Added drafts for SnakeBot and RumbleBot --- src/RumbleBot.java | 12 ++++++++++++ src/SnakeBot.java | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 src/RumbleBot.java create mode 100644 src/SnakeBot.java diff --git a/src/RumbleBot.java b/src/RumbleBot.java new file mode 100644 index 0000000..325298b --- /dev/null +++ b/src/RumbleBot.java @@ -0,0 +1,12 @@ +public class RumbleBot extends Bot{ + public static void main(String[] args) { + Bot escapeBot = new EscapeBot(args); + escapeBot.run(); + } + protected RumbleBot(String[] args) { + super(args); + } + protected char nextMove(View view){ + return 0; + } +} diff --git a/src/SnakeBot.java b/src/SnakeBot.java new file mode 100644 index 0000000..b6858e5 --- /dev/null +++ b/src/SnakeBot.java @@ -0,0 +1,12 @@ +public class SnakeBot extends Bot{ + public static void main(String[] args) { + Bot escapeBot = new EscapeBot(args); + escapeBot.run(); + } + protected SnakeBot(String[] args) { + super(args); + } + protected char nextMove(View view){ + return 0; + } +}