
/*
	Listing 1
*/

static char bold[] = {'\33', '[', '1', 'm', '\0'};
static char norm[] = {'\33', '[', '0', 'm', '\0'};

#define ORIGIN 0

#define IDLE    0
#define WANT_IN 1
#define IN_CS   2

#define NORMAL 0
#define STOP   1

#define CLEAR 0
#define READY  1

#define PROCESSES 3

#define NODE0   0
#define NODE1   1
#define NODE2   2

#define TURN_LOC PROCESSES+0
#define NODE1_LOC PROCESSES+1
#define NODE2_LOC PROCESSES+2
