This commit is contained in:
Simon SAYE BABU 2024-01-26 15:44:50 +01:00
parent 0d6ede82fe
commit 0be47bd6de

View File

@ -61,7 +61,14 @@ class Ant {
computeNextState() computeNextState()
{ {
// TODO if (this.tiles == 0) {
this.rotateRight();
this.tiles = 1;
}
else{
this.rotateLeft();
this.tiles = 0;
}
} }
} }