Flip-Side

Instructions

The aim of this puzzle is to line up the squares in order from 0-9.
The top row must contain the numbers 0-4 and the bottom row must contain the numbers 5-9, all in ascending order.

Use the up and down arrow keys to switch between the rows and the left and right arrow keys to shift the rows left and right.
Use the spacebar to "flip" the middle six squares.

To scramble the squares, hit the "s" key.

Based on the original puzzle Flip-Side by ThinkFun.

view source code