Skip to content
ChipWits Robot Coding Game
  • Home
  • About
  • Devlog
  • Team
  • Retro
    • ChipWits Emulator
    • Nostalgia
  • Sign Up
Demo + Wishlist
Demo + Wishlist
ChipWits Robot Coding Game
  • Home
  • About
  • Devlog
  • Team
  • Retro
    • ChipWits Emulator
    • Nostalgia
  • Sign Up

IBOL

40
  • CREATED CHIP SOLUTIONS REMAIN IN THE WORKSHOP GRID
  • SHARING YOUR CHIPWIT (IBOL CODES)
  • LOCKED CHIPS
  • JUNCTION
  • IF THING EQUALS
  • CONNECTORS
  • ACTION CHIPS
  • CONTROL CHIPS
  • SENSING CHIPS
  • STACK CHIPS
  • REGISTERS
  • CHIPS (FUNCTION AND HOW TO BUILD THEM)
  • ARGUMENT
  • OPERATOR
  • Operators
    • IF THING EQUALS
    • CYCLES AND FUEL COST LIST
    • SUBPANEL (OPERATOR)
    • PUSH NUMBER
    • PUSH THING
    • IF NUMBER EQUALS
    • IF NUMBER IS LESS THAN
    • POP
    • PUSH DIRECTION
    • IF DIRECTION EQUALS
    • DECREMENT
    • OPERATOR
    • INCREMENT
    • PUSH (OVERVIEW)
    • BOOMERANG
    • IF KEY
    • LOOP
    • IF HEADS
    • STOPLIGHT (CLASSIC MISSIONS)
    • SKATE
    • ZAP
    • SING
    • IF SMELL
    • PICKUP
    • IF FEEL
    • IF SEE

Controls and Settings

4
  • BASIC KEYBOARD CONTROLS AND KEYBOARD SHORTCUTS
  • BASIC MOUSE CONTROLS
  • YOUR CHIPWIT (GAME SETTINGS)
  • CAMERA CONTROLS

Advanced Programming

13
  • SUBPANEL (OPERATOR)
  • PUSH THING
  • IF THING EQUALS
  • PUSH NUMBER
  • IF NUMBER EQUALS
  • IF NUMBER IS LESS THAN
  • POP
  • MEMORY STACK
  • STACK CHIPS
  • PUSH DIRECTION
  • IF DIRECTION EQUALS
  • PUSH (OVERVIEW)
  • REGISTERS

Characters

1
  • PROFESSOR CHIP

Starting Information

1
  • STARTING INFORMATION LIST

Workshop and Playing

26
  • CREATED CHIP SOLUTIONS REMAIN IN THE WORKSHOP GRID
  • FUEL (ENERGY)
  • ENVIRONMENTAL THINGS
  • BAD THINGS
  • TYPES OF DAMAGE
  • HEALTH
  • CYCLES
  • SENSING CHIPS
  • LOCKED CHIPS
  • ACTION CHIPS
  • STACK CHIPS
  • CONTROL CHIPS
  • CONNECTORS
  • CHIPS (FUNCTION AND HOW TO BUILD THEM)
  • WORKING WITH CHIPS IN THE WORKSHOP
  • SHARING YOUR CHIPWIT (IBOL CODES)
  • WORKSHOP AND PLAY AREA
  • RESTART BUTTON
  • STEP BUTTON
  • WORKSHOP PROGRAMMING TOOLS BUTTONS AND WORKSHOP MENU
  • PLAY/PAUSE BUTTON
  • GAME SPEED SLIDER
  • DELETE (WORKSHOP RADIAL MENU)
  • STARTING POSITION RULE
  • MAIN PANEL AND SUBPANELS
  • RADIAL WORKSHOP MENU

Missions

12
  • FUEL (ENERGY)
  • ENVIRONMENTAL THINGS
  • BAD THINGS
  • GOOD THINGS
  • TYPES OF DAMAGE
  • CYCLES
  • HEALTH
  • MISSION OBJECTIVES
  • SELECT A MISSION SCREEN
  • PUZZLE MISSIONS
  • DR. DROOG CAMPAIGN MISSIONS
  • CLASSIC MISSIONS
View Categories
  • Home
  • Docs
  • IBOL
  • Operators
  • IF HEADS

IF HEADS


If Heads is a control chip that makes a random decision for your ChipWit, simulating a coin flip. It’s useful for adding randomness to your ChipWit’s behavior, helping it decide between two paths or actions.


Specifications #

  • Argument: None
  • Creates a True or False Branch?: Yes, it does create a T/F branch
  • Number of Cycles Used: 3
  • Range: 0
  • Fuel: 1


Example of Use #


Let’s say you want your ChipWit to randomly decide whether to skate forward or skate left when it reaches a crossroad:

  1. Place the If Heads chip in the program.
  2. After the If Heads chip, place a Skate Forward operator on one path (true) and a Skate Left operator on the other path (false).
  3. When the ChipWit reaches this part of the program, it will flip a virtual coin and either Skate forward or Skate left, depending on the result.

This adds an element of randomness to your ChipWit’s movement, making it behave unpredictably at key decision points.


History #

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


COMMODORE 64:


MANUAL:
“In several of the games, you may need to have your CHIPWIT “flip a coin’’ to decide what to do next. Say you want to find an object, but you don’t know where it is—it could be to the left, but on the other hand it might be to the right. Use the Coin Flip instruction to make the decision.
When this chip is executed, the CHIPWIT will pick TRUE or FALSE at random. Half of the time, control will pass to the TRUE branch. The other half of the time, the program will follow the FALSE branch.”




APPLE II:


MANUAL:
“COIN FLIP generates a random choice for a branch from the chip’s true or false wires.”




MAC:


MANUAL:
“COIN FLIP generates a random choice for a branch from the chip’s true or false wires.”





CHIPWITS II (WINDOWS 95):

Related #

Updated on November 12, 2024

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest

Powered by BetterDocs

Leave a ReplyCancel reply

Table of Contents
  • Specifications
  • Example of Use
  • History

Join Our Mailing List!

Are you interested in learning more about ChipWits and tracking our development? Provide your name and email address below to join our mailing list.
We respect your email address and don’t spam. You can unsubscribe at any time. We generally send a short email about the game once every week or two.

Check your inbox or spam folder to confirm your subscription.

Copyright © 2026 ChipWits, Inc.

  • Contact
  • Press Kit
  • Privacy Policy
  • Terms of Use
 

Loading Comments...