(Added infobox and a summary of unlocks) |
m (Fixed typo) |
||
Line 45: | Line 45: | ||
** {{Component|Wire Probe (bit)}} | ** {{Component|Wire Probe (bit)}} | ||
== | == Sandbox only components == | ||
"{{Level|Sandbox}} only" components can be placed and used here. | "{{Level|Sandbox}} only" components can be placed and used here. | ||
* These are technically unlocked (were always available in Sandbox), but they | * These are technically unlocked now (were always available in Sandbox), but they show up (disabled) in the normal levels' build menu. | ||
== Scoring == | == Scoring == |
Latest revision as of 11:16, 23 August 2024
Section | Functions |
---|---|
Type | Other |
Unlocks | Bit Indexer Console Halt Sound |
More components, see below | |
Scored | No |
API | test_lab (59) |
The Lab isn't a normal level, but rather a debugging tool. The Lab allows the player to save programs for automatic verification of functionality.
The expect
keyword allows verifying the internal value of components. It applies starting after the execution of the next instruction. It takes two arguments, the first being the index of the linked component and the second the correct value. The value is checked after every instruction, so if the value changes again, a new expect
line must be provided.
The set_input
keyword allows providing custom input values, allowing testing of input related instructions.
Unlocks[edit | edit source]
Opening The Lab for the first time unlocks a large number of components:
- 16, 32, and 64 bit versions of most of the math and logic components.
- Except shift and rotate which where unlocked in Shift
- Various display options:
- More memory options
- Utilities
- Probes
Sandbox only components[edit | edit source]
"Sandbox only" components can be placed and used here.
- These are technically unlocked now (were always available in Sandbox), but they show up (disabled) in the normal levels' build menu.
Scoring[edit | edit source]
While this level is not scored, it does count as a level for the purposes of calculating the game completion percentage.