the rules to this game is in the game click the icon on the bottom right
the book coding game in scratch got me the idea