Following with the previous issue of Shot the Bull's-eye in ecode (Ⅰ), we would continue programming and enable it to achieve shooting and scoring functions. The principle is very simple, let’s do it together now!
First, we need to add a code to the arrow and launch the arrow when the space bar is pressed.
Playing games is always happy. Have you ever thought of making one yourself? This time we will use ecode to make a bullseye game, share it with your friends and family, and invite them to play the game you made by yourself.
Through our last ecode Five-pointed Star project introduction, you must have some understandings on the ecode pen extension, today let’s do a more complicated drawing via the pen extension named Star Annulus, see the picture below:
Through the "graphical programming" micro:bit spiral, we used it to implement a simple spiral animation and left a question at the end, which is the figure below. You may find that this figure is hard to be achieved by micro:bit. How about ecode?