Notice that we’re not writing with i, we’re just incrementing it. That would explain why the only values I can get are the right-most (i.e. the last to be written), because it’s just over-writing them.
I tried to adjust it, but it throws an error (“I’m not reading all the information before”… etc). Unless I’m misunderstanding, this means this puzzle isn’t solvable in Javascript.
There has to be a simple way to push to Silver. Pushing to Bronze is easy. Wood 1 and 2 choose the min value cards, and if you can attack the opponent cards and the player your cards you win (left to right). When guards (pick at least 5) are available leave 2 or 3 slots open for other cards on the board and don’t attack with your guards. Also for wood 3 switch to picking the max value cards.
Is it possible to actually beat the bronze boss ? It feels like I am trying to catch up with my own tail. Boss score was 24.68 mine was 24.27. I have tinkered with bot configurations and managed to get 24.86 but boss now is at 25 scoring. is it just a bad luck or something else?
for anyone trying to push it, it might be just an rng. I managed to push to silver while being stuck at #1 in bronze just by pure luck frankly speaking. didn’t change anything and just relaunched the bot in arena. Boss managed to loose more and i got in. It felt kinda clunky and lazy but sometimes it might work
There’s not a lot of machine learning going on even at the top of the leaderboard, other than letting your bot play against a different version of itself to get some stats (e.g. to learn what cards to draft). There are games where the top spots have been taken over by neural networks; this is not one of them (yet).