Source: https://www.programmingbasics.org/en/downloads/scratchgames/basicgame.pdf