EscapeBot using walkBySpiral. Avg moves 54. Added drafts for SnakeBot and RumbleBot
This commit is contained in:
parent
1bf3ea159d
commit
f7ae380baa
12
src/RumbleBot.java
Normal file
12
src/RumbleBot.java
Normal 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
12
src/SnakeBot.java
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user