Variables and Functions
by Anonymous
Store and swap values in labeled boxes, then feed numbers into function machines to uncover each hidden rule.
Ready to remix β hit the π΄ Remix button below. You'll sign up first, then this app is copied into your workspace.
About this app
Variables and Functions is an interactive coding-basics puzzle app for learning how variables store values and functions transform inputs according to rules. Explore two labeled boxes, test visible function rules, discover secret rules from input-output tables, and connect machines to reach target values.
Use cases
- Children beginning to learn coding concepts
- Teachers introducing variables and functions
- Parents looking for hands-on educational puzzles
- Learners practicing input-output patterns
Features
- Store numbers in variable boxes a and b
- Overwrite, increment, copy, swap, or empty box values
- Test function rules with numeric inputs
- Guess hidden rules using an input-output table
- Chain function machines to reach goal values
- Undo steps, reset puzzles, and move to the next challenge