How does galaxy run? From: tgeiger@volta.elee.calpoly.edu (Thomas K. Geiger) Date: Sun, 21 Jul 1996 00:00:00 +0000 I'm in the process of trying to get a galaxy games going, but I'm having *major* problems getting the thing to work. It compiles fine (a lot of warnings, but it compiles and runs). The problem I'm having is in using it. I guess I don't understand how it's suppose to work. Here's my assumption: 1) I create a games by running galaxy, hit C specify a player list, fill in the numbers. 2) it creates a send file 3) I chmod u+x send 4) run send 5) A player mails back their orders 6) the script I wrote: a) saves the mail message in a folder I created called orders, the mail message is saved by the players name (player_1, whatever) (I assume this so that people can change their orders before the turn gets run) b) runs: checker -f orders/playername c) which creates a send file which I chmod u+x, and run 7) Another player sends in their turn orders and process 5 and 6 get repeated. 8) All the players get their turns in/it's time to run the turn 9) I create a script that for each player in the player list: a) run: galaxy -f orders/playername b) chmod the send file c) run the send file Or 9) I create a script that puts all the orders in one file and run galaxy on that... (I haven't figures that one out yet) I've got the first script running, sort of. The problem I have is that it works fine for one player, but for more that one the send file sends mail to all the players whether the've send in a report or not! Which leads me to believe I've got a wrong assumption here. Any Ideas? BTW, I'm planning on submitting my scripts and notes on this once I get it running cause it's giving me headaches. :) -Tom ------------------------------------------------------------------------------ Thomas K. Geiger O- | "Assume nothing, keep digging deeper, - Electrical Engineering student | and never stop learning and growing." Calpoly, San Luis Obispo | - Michael Abrash tgeiger@gauss.elee.calpoly.edu http://www.elee.calpoly.edu/~tgeiger ------------------------------------------------------------------------------ Up