Here is my submission for the Lights Out Challenge! Lights Out is a classic (and easy to play) electronic logic/strategy game. To play, click the green flag to randomly generate a pattern of lights. Click a light to toggle it on/off. Doing this causes the adjacent lights to toggle on/off. Try to turn the whole board off to win! See inside for comments explaining how it works! Note: since the challenge was to create a game with only 100 blocks in one sprite, it was hard to implement sound or a menu, which is something I might do later.
Thanks to @Santiago020267 for the challenge! All code and art by me - exactly 100 blocks! This took 6 hours and a lot of thinking... Here were the limitations: ☝ It will have to be done with ONE SPRITE and... ✌ It must not exceed 100 BLOCKS!!! Background info: https://scratch.mit.edu/search/projects?q=lights%20out https://en.wikipedia.org/wiki/Lights_Out_(game)