This mini-game comes from a puzzle near the end of Keepsake by Wicked Studios. The object is to move the dragon from the upper right into the lair on the lower left. This is done by switching adjacent cards. But switching is restricted by the following rules: