Data Dictionary

Composite Data Items

Board = {stone}

Description: Represents the playing board in the traffic jam game. It is a linear arrangement of 11 stones on which two groups of five people are trying to pass each other.

Atomic (elemental) Data Items

Marker

Description: A marker indicates what's occupying the stone. The stone can be empty or occupied by a person facing left or right.
Value: Left, Right, Empty

Move

Description: Identifies the stone on which the person to be moved is standing.
Type: integer
Range: 1 .. 11

Stone

Description: A stone represents a position on the board. Each stone is a place where one and only one person can stand.
Type: Marker

Win_Message

Description: a message informing the player they have won the game.
Type: text

 

 


Last updated 1/22/99