> I think you want it like this. In theory whatever is making the moves > (player through GUI, AI, or external AI ala Rogamatic) should all be > able to share the same code when it comes to executing moves.
Ok, so option 2), intermediary check function. Seems the best way for me too. > This is probably the simplest. I think at the stage AIs are at now running when it isn't their turn to act isn't going to be very productive anyway. Since it's also the simplest thing to do too, i guess it's good for a start & small proof-of-concept :) > Why not handle their moves the same as any player's? So that replays don't call the AI. If they need random numbers they shouldn't share state with the one used to execute actions. Actually I haven't checked how reply works :) So I had assumed the IA would just compute exactly the same way as during game. If it's much simpler, then great ^_- Ryo Accédez au courrier électronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,34/mn) ; tél : 08 92 68 13 50 (0,34/mn)
