Unity implementation of the demo puzzle