PuzzleScript-like engine