[comp.edu] thanks for info on c-bots like programs

bdn@phobos.cis.ksu.edu (Bryan D. Nehl) (03/06/90)

Thanks for the info on how you would go about setting up a C-bots like program.

This is what just about everybody said:

Have everybody right a routine for controlling their robot.
This gets passed a pointer to a structure.
This structure contains the positions of the other robots.
Everybody is allowed to move and shoot during their turn,
the robots actions are returned in another structure.
Then the screen is updated all at once.  This way everybody
gets a turn each round.  This would then continue until only
one robot was left.

Once again, thanks to all who replied.

Bryan.
--
/* ========== kodiak%kodiakpc.uucp@phobos.cis.ksu.edu =============+
[   Big Bad Bear Beasties Inc.    ][   Bryan Nehl                  ]
[   kodiak@ksuvm.ksu.edu          ][   bdn@phobos.cis.ksu.edu      ]
+___ ...!{rutgers|texbell}!ksuvax1!phobos.cis.ksu.edu!bdn   _____ */