What happened to cavern survival?

how did i win this match?

it says i died in the health bar and he didnt die why does it say i win?

and in the simulation thing dimashumov has two matches with me
and one says i win, one says he won
and his code for both of them is the same
i won both of them like the image above, why is this happening?