I can only assume this is the first game you've ever made (Everyone has to start somewhere).
I believe this is intended to be a high score based game? The game doesn't communicate the objective to the player, however, not that I'm sure there is one. The game also don't reset the step and jump counters after death.
It's also possible to die before you can even do anything when starting the game, and there should probably be some sort of countdown or something to give the player time to get ready.