Added task descriptions and removed walkByColumns and walkByCircles

This commit is contained in:
Illia Soloviov 2024-01-07 17:50:46 +01:00
parent 0f5db8bb66
commit 54a1ca4511
2 changed files with 3 additions and 3 deletions

View File

@ -18,12 +18,12 @@ public class RumbleBot extends Bot{
}
protected char nextMove(View view){
return walk(); //@TODO Add nextMove() logic
return walk(); //@TODO: add nextMove() logic
}
private char walk(){
if(moves.isEmpty()){
moves += ' '; //@TODO Add walk() logic
moves += ' '; //@TODO: add walk() logic
}
char nextMove = moves.charAt(0);
moves = moves.substring(1);

View File

@ -22,7 +22,7 @@ public class SnakeBot extends Bot{
protected SnakeBot(String[] args) {
super(args);
}
//@TODO Find a better way to avoid collectedStones
//@TODO: find a better way to avoid collectedStones
protected char nextMove(View view){
boolean stoneDetected = view.data.contains("@");
char nextMove;