https://www.codingame.com/multiplayer/bot-programming/cultist-wars
Send your feedback or ask for help here!
Created by @Nixerrr,validated by @Razovsky,@redline1 and @Catagami.
If you have any issues, feel free to ping them.
https://www.codingame.com/multiplayer/bot-programming/cultist-wars
Send your feedback or ask for help here!
Created by @Nixerrr,validated by @Razovsky,@redline1 and @Catagami.
If you have any issues, feel free to ping them.
Wood 2 boss (BOSS 1) timed out once, but couldn’t reproduce sorry to say…
Thanks! The boss is in Java and I suspect it’s to do with the Java issues the platform is experiencing. I’ll look into it if the problem persists once Java is fixed on CG.
Added timeout and invalid move tooltips.
It seems that I cannot update the game without the boss resubmitting, so I can’t add the link of the repo to statement. So here it goes: https://bitbucket.org/Nixerrr/cultist-wars/src/
Some fixes:
Also, Illedan suggested that the neutral movement should be deterministic. He also suggested some ways of doing it but I’m still undecided. Any thoughts on that?
Nice update! I also agree with making the neutral movement deterministic.
Some of you have been requesting deterministic neutral movement and have also complained about neutrals moving too much around, especially when there are less neutrals. I fixed both issues. See the
moveNeutrals()
method of the Referee.
rand(neutrals.size())
. Now it is rand(MAX_NUMBER_OF_NEUTRALS)
. So the less neutrals there are, the less likely it is that one of them moves.really nice game!
rules are easy to understand but hard to master … and replay are fun
thanks @Nixerrr
I wish the number of turns is 200. With 150 turns I feel unfulfilled.
BTW.: The bot for the contest is going to be the same or there are possible any changes?
If it works like other contests … wood bosses are easy to defeat, they just help to understand the rules. Then, the other league’s bosses are chosen within the players, when the leagues opens.
Something weird happened in step#118
Or have i made an error in bresenham copypasted from referee?
At step#69 you are also shooting though the wall, it looks like the game is allowing that in some instances.
step#69 is a valid bresenham (theoretically only in one direction - but the referee made it symmetrical)
but step#118 should not work at all
Hey, just started playing and I love it. Spent some time in the past two days and pushed to silver. A couple quick things.
Thanks for your hard work giving this game to us.
I agree my bresenham implementation, based on the bitbucket code, says (4,4) is in the path. Since (4,4) has an obstacle that shot at frame #118 should not connect.
EDIT: Thank you VizGhar for the clarification. See post below.
It is correct o.O because aCat was shooting at cultist with id 6… didnt think of such case previously
Similar case at 106 Coding Games and Programming Challenges to Code Better
Path can somewhat change depending on the target, so such ‘impossible’ shots are possible. My bot don’t know about them yet D:
Thank you for this multi very fun…
maybe a mistake by me but i can’t understand the game summary.
0
13 7
.............
x..x.....x..x
.............
.............
..x.x...x.x..
.x..xx.xx..x.
..x.......x..
7
2 0 10 2 5 0
4 0 10 5 0 0
5 0 10 1 1 0
6 0 10 1 3 0
7 0 10 3 6 0
8 0 4 9 5 1
13 0 10 4 6 2
### Standard Output Stream:
7 MOVE 8
### Game Summary:
Invalid action: Index 3 out of bounds for length 3
It seems that my id 7 could move to 8 according to the path finder of the game?
ty.
sorry i have just understand…
unitId MOVE x y