Skynet: The Chasm "platform"

So…

I didn’t have to use platform at all but my code passed all the tests… It feels kinda wrong. Now, I’m wondering if I did it right… Is this OK? Or is it some sort of bug in the problem?

Hey,

There is a thread specific to each puzzle already, please post there for puzzle related questions.
Here is the one for Skynet: The Chasm: https://www.codingame.com/forum/t/skynet-the-chasm/375/43

As for your question, the variable platform is not a must use in the first version of Skynet. It depends on your algorithm.