CS2335 - Lab 5 - Spring 2005

Team Members:

David : gtg247i
Jonathan : gtg739g
Scott : gtg079s
Brandyn : gtg538y

Requirements prior to running the porgrams:



Instructions to use GTIM:

Server - To start the server run "ant runserver"

Client - To start the server run "ant runclient"

Shutdown Server - To shutdown the server and save the database run "ant shutdownserver"

At the startup screen you will be displayed with 4 options.
1) SIGN ON - log onto the server
2) LOCAL BATTLE - engage in a local battle
3) SETTINGS - set you port and host name here along with
              the directory of creatures and maps
4) EXIT - quit the program

SIGN ON:
Upon clicking on sign on you will be presented with a dialog box prompt for entering your user name and password or to register a new one.  After entering you info and clicking login you will be taken to the Main Lobby window of Darwin's world.  Here you'll find a big chat area on the left side and the list of active games and online users on the right.  The Stables can be access by clicking options on the menu and picking manage stable.  There you can see your species stats and add and remove species.

To challenge a user to a battle just pick a user name and click challenge and you'll be prompted with the record of the user and ask if you are sure you want to challenage the user.  Upon accepting The challengee will receive a accept prompted with your record shown.  If they accept the challenge will receive an option box asking for the map species and number of creatures, you will be prompted for your species. After both player has pick their option you'll be taken to the server battle screen where the game will be promptly started. The battle will contiune as long as at least one user remains in the room.  The chat box is at the bottom of the screen.  User can leave and enter the room by closing the window and picking the game from the active game window and clicking spectate. 

If everyone leaves the room before the game determines a winner then the game will end with no winner and nobody stats would be effected (this is also good in the case that the game reaches a state that no one can win, such as none of the creatures can move).  After the game is over everyone will be sent back to the lobby. And the players stat are edited.  

LOCAL BATTLE:
Upon clicking on the local battle button you'll be taken to the local battle window.  On the left side of the screen will be a list of options to pick from. After you set all the option then pressing create game will initallize the display and enable the game control buttons.  The control button on the bottom of the screen going from left to right are the pause button, play button, step button and the step n buttons using the text field to select the number of steps.  After the game is over the Display will reinitallize so that you can run another battle.  To leave the local battle and return to the Start window at any time click on the end battle button or close the window. 

KNOWN BUGS:


O/S Developed/ Tested under:
Window Xp
Red Hat 9


Extra Credit Opportunities Attempted:
Best Creature

Comments
