References…
Function Quest is a logic-based puzzle game where players solve levels by reading a narrative story and deducing a sequence of function calls that will achieve a specified goal. Unlike traditional coding games, Function Quest is not about writing or executing code — it's about understanding and reasoning with a list of named functions.
Each level presents a short story ("problem statement") and a list of available functions. These functions are described by their names, purposes, and return values. Players must analyze the story, mentally simulate the effects of functions, and logically determine the correct chain of calls needed to win.
Your objective in each level is to use the available functions in the correct order (with the right parameters) to achieve the level's stated goal — such as unlocking a door, escaping a room, or solving a mechanical puzzle.
Each function has a predictable effect, and there's always a single or minimal path to the goal, which the player must deduce.
"The door opens!"
).Every level begins with a short passage written in natural language. These Problem Statements describe a scene or action sequence that hides a logical structure the player must uncover.
These narratives: