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
  • Advanced Programming
  • PUSH DIRECTION

PUSH DIRECTION

Push Direction is a Stack Chip used to manipulate the direction information in your ChipWit’s program. It plays a crucial role in managing how your ChipWit navigates and interacts with its environment.


Specifications #

  • Argument: Direction (Forward, Backward, Left, Right), Register
  • Creates a True or False Branch?: No, Push Direction does not create a T/F branch
  • Number of Cycles Used: 1
  • Fuel: 1


What is Push Direction? #

  • Purpose: Push Direction stores the current direction of your ChipWit onto the stack. This allows you to save the direction and use it later in your program for various decisions or actions.
  • Function: When you use Push Direction, it captures the ChipWit’s current facing direction and pushes this information onto the stack. This direction data can then be retrieved or used later with other stack operations.


How to Use Push Direction #

  1. Placement: Drag and drop the Push Direction chip from the Radial Workshop Menu into the Workshop’s grid at the desired position in your program sequence.
  2. Execution: When the program reaches the Push Direction chip, it pushes the ChipWit’s current direction (e.g., Forward, Backward, Right, Left) onto the stack.
  3. Retrieval: To use the direction data later, you can combine Push Direction with other stack chips such as Pop or If Direction Equals. This allows you to retrieve the saved direction and make decisions based on it.

Push Direction commands the ChipWit to put a specified move (the Argument) into the Move Stack. This is the way the ChipWit makes the list of moves that constitutes the Move Stack.


    Why Push Direction Matters #

    • Directional Control: Push Direction helps in creating complex programs where direction-based decisions or actions are needed. By saving and reusing direction data, you can build more sophisticated and responsive behaviors for your ChipWit.
    • Program Flexibility: Storing direction data allows you to manage your ChipWit’s orientation effectively, making it easier to create programs that adapt to different situations or navigate challenging layouts.


    Push Direction is a valuable tool for handling directional data within your ChipWit’s program, enabling more precise and adaptable control over movement and decision-making.



    History #

    “Push Direction” as it appears in various historic incarnations of ChipWits!


    COMMODORE 64:


    MANUAL:
    “In one game, your CHIPWIT may need to remember the moves it has made since entering a room to quickly return to a door. So to enable each CHIPWIT to easily store, retrieve, and manipulate Numbers, Moves, and Things, each has been provided with three “pockets,” called Stacks.”




    APPLE II:


    MANUAL:
    “SAVE MOVE commands the ChipWit to put a specified move (the Argument of the SAVE MOVE chip) into the Move Stack. This is the way the ChipWit makes the list of moves that constitutes the Move stack. Uses of the Move stack are discussed in Chapter II.
    The Arguments for SAVE MOVE are the four directional move arrows.”




    MAC:


    MANUAL:
    “SAVE MOVE commands the ChipWit to put a specified move (the Argument) into the Move Stack. This is the way the ChipWit makes the list of moves that constitutes the Move Stack. Uses of the Move Stack are discussed in Chapter II. The Arguments for SAVE MOVE arc the four directional move arrows.”




    CHIPWITS II (WIN 95):


    Related #

    Updated on November 16, 2024

    What are your Feelings

    • Happy
    • Normal
    • Sad

    Share This Article :

    • Facebook
    • X
    • LinkedIn
    • Pinterest
    STACK CHIPSSUBPANEL (OPERATOR)

    Powered by BetterDocs

    Leave a ReplyCancel reply

    Table of Contents
    • Specifications
    • What is Push Direction?
    • How to Use Push Direction
    • Why Push Direction Matters
    • 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...