For selecting your ship, take a look at the Memory game in MakeCode Arcade. You can find it in the Blocks Games section.
Because it’s a rather common construction (John Park uses something similar in his racing game, too), I created an extension to simplify this. If you’re interested, then take a look at this thread for more information: