We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ab0b2f commit 21374a8Copy full SHA for 21374a8
src/games/azacru.ts
@@ -367,7 +367,7 @@ export class AzacruGame extends GameBase {
367
const src = move.substring(move.length - 3, move.length - 1);
368
// if we clicked the cell again, assume no direction change
369
if (cell !== undefined && cell === src) {
370
- newmove = move + ".";
+ newmove = move.substring(0, move.length - 1) + ".";
371
}
372
// otherwise, derive facing
373
else {
0 commit comments