Brain puzzle game code