My program is going to be a driver program which will get instructions(or will call the nextMove() function) alternately from 2 different programs which will be loaded along with my program.
How can we synchronize these three programs and load them simultaneously? Driver program will judge and guide the flow of the game between the 2 participant programs. Can you guide me on how to go about this? Ciao, Ajinkya. ----- Original Message ---- From: Nico Heinze <[EMAIL PROTECTED]> To: [email protected] Sent: Monday, 23 April, 2007 11:35:16 AM Subject: [c-prog] Re: concurrent C programming --- In [EMAIL PROTECTED] com, Ajinkya Kale <ajinkyakale_ [EMAIL PROTECTED]> wrote: > > Actually I am developing a software for college competition > (Just like Core War ..if you know) > > In this competition two participants will have there own > code for the next moves of a game(eg: battleship or Othelo > or may be Chess...but chess is too diff!) > > My software will form the base for the game. It will execute > moves from the 2 participants' code alternately. > > Basically the aim is two play game between two C programs > which have different algorithms for their next move. > (I hope you got my point) <snip> I got the point, yet I still don't have much of an idea what structure your project will have. We can propose many ways to achieve what you want, but without proper analysis and understanding and knowledge of the whole situation we cannot give good advice. So: how is the project structured? In particular, how will the movement data get into your software? Regards, Nico Send a FREE SMS to your friend's mobile from Yahoo! Messenger. Get it now at http://in.messenger.yahoo.com/ [Non-text portions of this message have been removed]
