I recreated the classic Lucas Puzzle in Scratch. To put it simply, your objective is to move every blue square to the left side, and every red square to the right. The rules of movement are as follows: A red square can move to an adjacent space on its right or jump over one square of any color to its right into and empty space just beyond. A blue square can move likewise to its left. No square may ever move backwards. Click on a square to move it. If you get stuck, click on the green flag to reset the puzzle. My record is 2.6s using the mouse and 1.4s with the keyboard. Walkthrough: http://tiny.cc/3ozs8x
UPDATE 6.5.2016: Fixed timer issue. UPDATE 17.2.2016: Use Z X C V B N (The bottom row of your keyboard) to control the sliding pieces. UPDATE 5.2.2016: Use R to restart. Instructions in the title, this project works well in fullscreen if it doesn't lag too much. I drew heavy inspiration from @DrMoron but I wrote the scripts and made the art myself. The music was made entirely with the Scratch note blocks. Cheat Codes: S - Seizure (Epilepsy Warning - Flashing Lights & Colors) I - Invert