
The Junction chip is a control tool that allows your ChipWit’s program to branch into different paths. It helps manage multiple sequences of actions based on different conditions or needs, making your program more flexible and dynamic.
Specifications #
- Argument: None
- Creates a True or False Branch?: No, it does not create a T/F branch
- Number of Cycles Used: 0
- Fuel: 0
Why the Junction Chip Matters #
- Control Program Flow: The Junction chip enables your ChipWit to make decisions within the program, determining which set of instructions to follow based on conditions.
- Efficient Programming: Instead of creating a long, linear series of instructions, you can use Junction to split your program into smaller, specialized paths.
- Adaptable Behavior: Your ChipWit can switch between different behaviors (like Skating, sensing, or interacting with Things) depending on the situation, making it more adaptable to the environment.
Example of Use #
- Place the Junction chip where you want the program to branch.
- Connect different paths to the Junction chip so your ChipWit can switch between them based on other conditions or inputs (such as sensor checks or stack conditions).
- For example, your ChipWit might encounter a Junction where it chooses one path if it detects a Pie and another if it detects an Electrocrab.
In short, the Junction chip adds flexibility to your ChipWit’s programming, allowing it to make decisions and follow different courses of action as needed.
History #
“Junction” as it appears in various historic incarnations of ChipWits!
COMMODORE 64:
MANUAL:
“As you program your CHIPWITS, you’ll occasionally need a way to connect two chips that aren’t next to each other. The junction chip can be placed anywhere on any panel to link parts of your program together. Like other chips, the pointer can be changed to pass control in any of four directions: left, right, up or down.
When a CHIPWIT program encounters this chip, control will pass automatically to the next chip on the right. Junction chips may be placed next to other junction chips.”
APPLE II:
MANUAL:
“JUNCTION merely connects two chips with each other. It is used when the lay-out of your program necessitates a link between two chips that are one space or more apart. More than one JUNCTION chip can be strung together to cross large areas of a panel. JUNCTION has no Argument.”
MAC:
MANUAL:
“JUNC TION merely connects two chips w ith each other. It is used when the lay-out of your program necessitates a link between two chips that arc one space or mote apart. More than one JUNCTION chip can be strung together to cross large areas of a panel.”
CHIPWITS II (WIN 95):