bobtheuberfish / chiriboga

Implements Netrunner in Javascript against an AI opponent
https://chiriboga.sifnt.net.au/
GNU General Public License v3.0
91 stars 11 forks source link

Corp AI used 5 of its 3 clicks (ending on -2) #75

Closed bobtheuberfish closed 2 years ago

bobtheuberfish commented 2 years ago

This issue does not occur as human player executing the same moves. The replication code is:

RunnerTestField(31013, [30030,30018], [31019,30032,30029,31008,30015,31018,30032,30007,30029,30031,30006,31015,31020,30015,31024,31027,30030,30030,31024,30016,30032,30006,31021,30017,30005,30033,30011,30033,30011,30016,30012,30017,30014,31021,30033,30007,30011,30018], [30004,30020,30013,30013,30015], [], [], cardBackTexturesRunner,glowTextures,strengthTextures);
CorpTestField(30059, [], [30073,30041,30053,30069,30039,30062,30047,30071,30069,30061,30048,30071,30073,30056,30055,30037,30068,30065,30064,30072,30065,30067,30075,30070,30074,30041,30066,30068,30061,30069,30071,30060,30045,30066,30062,30063,30075], [30070,30074], [], [30074], [30062], [[30061,30072,30073]], [], cardBackTexturesCorp,glowTextures,strengthTextures);
corp.remoteServers[0].root[0].AITurnsInstalled=3;
corp.archives.AISuccessfulRuns=2;
corp.RnD.AISuccessfulRuns=1;
corp.HQ.AISuccessfulRuns=1;
runner.creditPool = 16;
corp.creditPool = 5;
runner.clickTracker = 0;
corp.clickTracker = 0;
ChangePhase(phases.runnerEndOfTurn);