Fix AI multiple moves and player colors
This commit is contained in:
@@ -683,7 +683,8 @@ describe('AIBot', () => {
|
||||
|
||||
await bot.playTurn();
|
||||
|
||||
assert.strictEqual(gameUI.executedMoves.length, 1);
|
||||
// AI now makes multiple moves per turn (at least 1)
|
||||
assert.ok(gameUI.executedMoves.length >= 1, 'Expected at least 1 move to be executed');
|
||||
assert.strictEqual(gameUI.selectedCell.q, 2);
|
||||
assert.strictEqual(gameUI.selectedCell.r, 2);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user