Source code for puzzle game