#include "maisie.h" #define N 200 /* N is the number of rounds */ #define B 250 /* B is the message size (1K) */ #define P 8 /* P is the number of players */ #define C 5 /* C indicates amount of computation */ /* This is a ring program. */ /* It sends a message around N times among P entities. */ /* Adapted for Maisie v. 3.0 on 2-25-97 */ /* Delcare global message types */ message neighbor {ename name;}; message ball {int size[B];}; /* Driver creates players and initiates game */ entity driver {} { int id; ename Player[P]; int ballarray[B]; for (id=0; id