[Community Puzzle] Yavalath

https://www.codingame.com/multiplayer/bot-programming/yavalath

Send your feedback or ask for help here!

Created by @anon79586729,validated by @Silmaen,@tropios and @tomeko.
If you have any issues, feel free to ping them.

Hello,
Is anyone else trying MCTS with this one? The performance is a bit underwhelming, especially against players with hard coded opening moves.
Any ideas for improvement (besides more simulations)?

Awesome description of the puzzle @anon79586729.
Very detailed and lots of images. :+1:

3 Likes

Agreed. All puzzles should be like that.

Thanks @Marchete and @ggrn for the feedback, I added the images to keep the rules simple to understand.
If anyone sees anything they would like to see changed, feel free to suggest it.

There seems to be a minor bug in the input’s statement. When I play player 2, ‘my_id’ is ‘2’ though in the grid’s input, my id is ‘1’. So for beginners like me, this should be confusing :slight_smile:

Too bad the creator deleted his account and it will never ever be fixed ~

the statement is as follows :

First line: count: the number of rows on hex grid.
Next count lines: characters representing one line of your grid, top to bottom. (0: empty, 1: yours, 2: opponent).

So the input statement is consistent with what you’re getting !

In the CG IDE, I’m not able to choose an opponent different from the default AI. Once I do, clicking on the “Play my code” button does nothing. In the JS console, I see this error:

TypeError: can't access property "squadCodinGamerIds", i.squad is undefined
    getPlayType multiQuestionManager.ts:156
    play multiQuestionManager.ts:123
    play cg-ide-actions.js:26
    fn app.74452608.js line 2 > Function:4
    Angular 4
    jQuery 2
 undefined angular.js:15697:41
user idle cg-ide-code-editor-completion.js:116:13

Can this be fixed? I’m using Firefox 144.0 on Windows. Same happens in Chrome 141.0.7390.123 on Windows.