[Hypersonic] Box explosion and movement issue

The rules say that the boxes are destroyed before the movement is done.
However, if there is a box at say (10, 5) and it is about to be destroyed, and I am issuing the command “MOVE 10 5” in the same turn, the game does not allow me to make that move.

Here you can see that happening:
Tick 132, blue player https://www.codingame.com/replay/138188777
Tick 155, orange player https://www.codingame.com/replay/138192502

You can try it yourself with seed = 0, boxes = 20, and this sequence of moves for orange player:
MOVE 0 2
MOVE 0 2
BOMB 0 0
MOVE 2 1
MOVE 2 1
MOVE 2 1
MOVE 2 1
MOVE 2 2
MOVE 2 2
MOVE 2 2
MOVE 2 2
MOVE 2 2

Is this intended or is this a bug?
Thank you

2 Likes

Seems to be a bug!

Yeah it’s a bug. CG team are aware, they said they will look into it and should update us soon…

1 Like

Oh, phew. I was just about to start implementing this as a special case.
Thanks!

I seems that there is a few issues and i believe some people have likely integrated those behaviors in their algorithm thinking “oh well that’s how it works”.

If they fix the contest now, some people might find out later on that their code didn’t work properly anymore and feel that it’s unfair as it’s not obvious to guess that behaviors would change during the contest actually…

If CG decide to fix these bug they are better off at least sending some email so people are aware of modifications.

I think of people like Romka who don’t seem to have much time for contest and might just get screwed with somewhat unexpected changes.

well start implementing your special case, because that is now the expected behavior: https://www.codingame.com/forum/t/hypersonic-fixes-and-changes/2040

It’s good they didn’t change the game engine though, that would have broken too many players’ AIs.

Alright, it’s fair. I agree that I wouldn’t want my AI broken like that, but I guess this may have been resolved differently had it been noticed earlier.