Press space key, and up key(2 player game) or the space key and the green flag(1 player game).
I used scratch ideas and my own.