#include #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 Parsec v. 1.0 on 8-25-97 by Monnica Terwilliger */ /* Declare global message types and entities */ message neighbor {ename name;}; message ball {int size[B];}; entity player (int); /* Driver creates players and initiates game */ entity driver () { int id; ename Player[P]; int ballarray[B]; for (id=0; id