EscapeBot using walkBySpiral. Avg moves 54. Added drafts for SnakeBot and RumbleBot

This commit is contained in:
Illia Soloviov 2024-01-06 20:26:01 +01:00
parent 1bf3ea159d
commit f7ae380baa
2 changed files with 24 additions and 0 deletions

12
src/RumbleBot.java Normal file
View File

@ -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;
}
}

12
src/SnakeBot.java Normal file
View File

@ -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;
}
}