Toggle search
Search
Toggle menu
notifications
Toggle personal menu
Editing
Level/The Lab
From Turing Complete
Views
Read
Edit
Edit source
View history
associated-pages
Page
Discussion
More actions
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Header Nav|game=Turing Complete}} {{Infobox level | section = Functions | type = Other | unlocks-component1 = Bit Indexer | unlocks-component2 = Console | unlocks-component3 = Halt | unlocks-component4 = Sound | unlock-notes = More components, see below | scored = No | api-enum-id = test_lab | api-enum-number = 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 <code>expect</code> 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 <code>expect</code> line must be provided. The <code>set_input</code> keyword allows providing custom input values, allowing testing of input related instructions. == Unlocks == 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 {{Level|Shift}} * Various display options: ** {{Component|6x8 Dot Matrix Display}} ** {{Component|7 Segment Display}} ** {{Component|Console}} ** {{Component|Sprite Display}} * More memory options ** {{Component|Dual Load RAM}} ** {{Component|Fast RAM}} ** {{Component|Latency RAM}} ** {{Component|ROM}} * Utilities ** {{Component|Bit Indexer}} ** {{Component|Byte Indexer}} ** {{Component|Halt}} ** {{Component|Sound}} * Probes ** {{Component|Memory Probe}} ** {{Component|Memory Probe (bit)}} ** {{Component|Wire Probe}} ** {{Component|Wire Probe (bit)}} == Sandbox only components == "{{Level|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 == While this level is not scored, it does count as a level for the purposes of calculating the game completion percentage. {{Footer Nav|game=Turing Complete|prevpage=Stack|nextpage=PUSH and POP}}
Summary:
Please note that all contributions to Turing Complete are considered to be released under the Creative Commons Attribution-ShareAlike (see
TuringComplete:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Table of Contents
(
view source
)
Template:-
(
edit
)
Template:Component
(
edit
)
Template:Footer Nav
(
edit
)
Template:Header Nav
(
edit
)
Template:Ifnotempty
(
edit
)
Template:Infobox level
(
edit
)
Template:Level
(
edit
)
Template:P1
(
edit
)
Template:P2
(
edit
)
Template:Truthtable/styles.css
(
edit
)