Piano Tiles - CoderDojo Roundwood

Advanced Scratch: Make your own version of the ‘Piano Tiles’ game
How to do it:
1. Make a sprite in the shape of a tile
2. Give it two costumes: back and white
3. Add some code so that it changes from costume
1 to costume 2 when clicked
4. Then make the change random
5. When the green flag is clicked, set the tile
colour to black
6. Add a score variable that increases when a black
tile is clicked
7. Stop the game if a white tile is clicked.
8. Duplicate the sprite 3 times to get 4 sprites with
the same code.
9. Arrange the sprites like piano tiles on screen.
10. Play the game a few times to see how it works.
11. [This next part is a challenge] Change the code so that when a black tile is clicked, all of the
tiles have a random change of colour (to white or stay black).
12. Experiment more to improve the game
13. Upload it to the Scratch site when finished.
Note: To share your project with other Roundwood Ninjas in our Roundwood Studio (make
sure you login in to Scratch first!): https://scratch.mit.edu/studios/1861598/