IF KEY

Take control of your ChipWit!


Specifications #


ARGUMENTS:
(On Keyboard): A, B, C, D, E, F, G, H, I, J, K, L, , M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, directional arrow keys


CREATES A TRUE OR FALSE BRANCH?:
Yes, If Key does create a T/F branch.


NUMBER OF CYCLES USED:
1


RANGE:
0

SPECIAL NOTE:
Desired key must be pressed down and held to function; tapping the key will not work (or work well).



Example of Use #


“If Key” allows you to take control of your ChipWit robot! Desired key must be pressed and held on the keyboard in order to function properly.
Here is a simple Key-bot setup. The ChipWit will automatically look for electrocrabs and zap them. Navigation completely relies on the player (you!) and manual keyboard control.



History #

“If Key” as it appears in various historic incarnations of ChipWits!


COMMODORE 64:


MANUAL:
“A CHIPWIT can be programmed for every situation he’ l encounter, but there may be times when you’ll want to control his actions yourself. The Compare key instruction a lows you to have manual control. In fact, you can even program a CHIPWIT to be operated completely from the keyboard.”


APPLE II:


MANUAL:
“If the keyboard is being pressed at the time the chip is executing. If the key is being pressed, the program continues through the KEYPRESS chip’s true wire. If the key is not being pressed, the program continues through the false wire. KEYPRESS allows the programmer to step in and direct the flow of the program. KEYPRESS is discussed in Chapter n.  The Arguments for KEYPRESS are the letters of the alphabet and a blank square. The letters stand for specific keys you want the KEYPRESS to check for. The blank square will cause a true branch if no key is pressed and a false branch if any letter is pressed.”


CHIPWITS II (WINDOWS 95):

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *