|
From: Ben C. <cro...@ne...> - 2000-03-25 14:18:53
|
Don, It's looking good. A few suggestions are: for the type argument in the send() method, 0 should send to all players, while 1-n send to that player # (n being the number of players). That way you can send messages to just one person. In fact, that would be kind of cool since you could send messages to the AI players (and if someone wanted to write a script to parse that input and reply, it would be even cooler ;)). I think the update() methods will just create a string with the client's info and then send that to the server -- i.e. something like this (without the quotes): Player # Name X Y Move_X Move_Y Health Armor Strength" "2 Bob 203 193 5 -2 95 33" Of course we'll need to update information on which weapons the player has and how much ammo and all of that too. Once I finish coding the prototype (which is after I finish coding the Boulderdash tutorial), we'll finalize the game classes (all those .h files) and then start writing script wrappers. Once that happens, work can begin in earnest. Until then, look around for ideas and do your assignments. Later, Ben -- "The ultimate measure of a man is not where he stands in moments of comfort and convenience, but where he stands at times of challenge and controversy." -- Martin Luther King, Jr. On Wed, 22 Mar 2000, Don Jordan wrote: > Ben, > > Here is what I think should be in wrapper class at present. If you would > like to change anything let me know and I will see if I can figure out how > to do it. Also where it says I'm not sure and has a question mark if you > could possbily fill some of those in. I'm unsure of what arguments will > be. It all depends on how the other things are going to work. |