You can use this engine for any random jumping physics. Just make sure to change the colour (change the if touching colour in the code) and sprite to what fits you.
Wanted challenge to do it without variables