Script 49
There are issues when playing in the browser. for full functionality, download the game.
The theme "Unstable" is shown in the javascript style variables. Numbers and text are stored in the same type and are using the same way as keywords.
additionally, the game allows errors and are reduced from the final score, if the user gets too many errors. The user loses.
How to play:
Your goal is to fulfill the expected inputs of the output port by using the data from the input port.
You can create components and write code while you are not in play mode.
See controls for more info.
All ports and components have input(s) and/or output(s).
Controls:
Left-click drag on the background to move the camera.
Left-click drag on a component to move it.
Right-click on the background to add a component.
Right-click on a component to delete it.
Commands:
SET <side / input> | Sets the value of a code compoment. |
SND <side> | Send the value of a code block to a target side. |
ADD <side / input> | Add a text or number to existing data |
SUB <index> <length> | Substring. (does not work in the browser) |
NAN | NaN |
Sides can be:
UP, RIGHT, DOWN, LEFT, or ANY
Examples:
- Move values from left to down.
SET left SND down
- ADD two values from the left side and send the result to the right
SET left ADD left SND right
- Join two strings of text (output: HelloWorld)
SET Hello ADD World
- Get the first two characters from a target (output: He)
SET Hello sub 0 2
Status | Prototype |
Platforms | HTML5, Windows |
Author | Text Sharp |
Genre | Puzzle |
Made with | Unity |
Tags | 16-bit, 1-bit, 2D, Ludum Dare 49, Singleplayer |
Links | Ludum Dare |
Leave a comment
Log in with itch.io to leave a comment.