**How to Use Sandbox Mode**

In addition to normal Poly Machines where students will “mod” puzzles to create target outputs, Polyup provides a free-form Sandbox mode where anyone can make their own creations.

To access Sandbox mode, add the machine with ID 000002. We’ve embedded the Sandbox Machine below, along with a video tutorial.

In the Sandbox Machine, you can click on any chip to access a Sandbox chip. Sandbox chips have no target output and give users access to all palettes so that they can make anything they want.

From left to right, the palettes available are as follows:

- Number Pane: for creating any integer, or decimal number.
- Function Pane: For creating a variety of mathematical functions, from the basic operations to trigonometric functions
- Boolean Pane: For inequalities that take in two numbers and output True or False by comparing them (eg; greater than, less than, equal to), and mathematical logic that takes in booleans and outputs another boolean (eg: AND, OR, NOT)
- Variables Pane: For creating variable expressions and equations. There are 6 available variables; for each variable there is a let block and a use block. The let block takes in one number on top of it and sets the value of the variable to that value. The use block then uses the value of the variable.
- Data block pane: This pane contains references to the four stacks, as well as an @null reference that computes nothing. These blocks are used with “if” statements and more advanced computational constructions.
- Function Block Pane: For “if” statements and more advanced computational activities. For a more detailed explanation of each palette and block, please see the block glossary.

Finally, there are orange “code” blocks that aren’t in any pane. To access these, tap and hold on the dice icon under the second stack and drag away. These blocks point to the stack they came from, such that when Poly sees the block, Poly replaces the block with the content of that stack.

**How can I use Sandbox mode in my class?**

You can use Sandbox mode in a variety of ways. For example, many teachers ask students to make a certain number (eg: 50) in as cool a way as possible. A number of possible solutions are shown below:

Notice the usage of the orange “code” blocks in the image on the right. This machine sets 2 to x and 5 to z, and then computes 5 (stack 2) (stack 3), which is 5 z * x *, which becomes 5 2 * 5 *, which becomes 50.

You can also make cool demos in Sandbox mode. For example, chips that create a variety of sequences using recursion are shown below. Reconstruct them and check out what they do!