go left and right with left and right key, jump with spacebar you will see what happens ingame the platforms and cannons are random generated, means they change every time you play it when you bug somewhere or died/won just press on the green flag again, ^^
i used the gravity script from here https://scratch.mit.edu/projects/2564698/