Sunday, March 29, 2009
So how do I want to view the world
My head is melted at the minute trying to decide how I want my players to see the world. I suppose for simpleness I should just use some form of priority queue for players and pass to the closest player or shoot at goal whichever is possible at the present time but my mind keeps thinking about 3-4 steps from where I am at the minute. Think i just need to make a client that can actually kick a ball by himself and worry about the more complex stuff later on in the week.
Friday, March 27, 2009
Parser Bug FIXED
Finally found the problem preventing me from fully using the parser. Firstly I never accounted for the initial value in my big splitter method so I was getting an out of bounds exception so I just start to extract info from position 1 in the array of tokens rather than position 0 which had the type of command the server had sent in there. Once that was sorted I stumbled across another error as I use string.startswith("blah blah") in certain cases I would have a class where I was checking to see if a token began with blah and then with blah blah so it would never get to the blah blah part. Anyways nesting the two into one check worked great and so now my parser is fully done
Monday, March 16, 2009
Exams are comin :(
So i did my interim report about 2 weeks ago and at the minute i'm doing exams. From the end of next week on though it will be all project all the time till the May 7th deadline. I best get my coding hat on so.
Subscribe to:
Posts (Atom)