CodinGame / SpringChallenge2021

29 stars 71 forks source link

Issue on starter.js #1

Closed krisanselmo closed 3 years ago

krisanselmo commented 3 years ago

Hi, there is an issue in the js-starter Kit (https://raw.githubusercontent.com/CodinGame/SpringChallenge2021/main/starterAIs/starter.js):

game.possibleAction.push(Action.parse(possibleAction)) should be replaced with game.possibleActions.push(Action.parse(possibleAction))

adrienboulle commented 3 years ago

and game.possibleAction = [] should be game.possibleActions = []

2StepsFr0mHell commented 3 years ago

Fixed, thanks!