SnakeBot remove while
This commit is contained in:
parent
74e8133b7c
commit
6c7d107424
@ -8,11 +8,9 @@ public class SnakeBot extends Bot {
|
|||||||
protected int steps = 0;
|
protected int steps = 0;
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
while (true) {
|
|
||||||
Bot bot = new SnakeBot(args);
|
Bot bot = new SnakeBot(args);
|
||||||
bot.run();
|
bot.run();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
protected SnakeBot(String[] args) {
|
protected SnakeBot(String[] args) {
|
||||||
super(args);
|
super(args);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user