View Single Post
Re: A Couple Questions???
Old
  (#4)
koraX
Member
 
koraX's Avatar
 
Status: Offline
Posts: 145
Join Date: Jan 2004
Location: Slovak Republic
Default Re: A Couple Questions??? - 10-01-2004

Quote:
Originally Posted by Pierre-Marie Baty
I would rather suggest you start writing your own bot, using botman's code to pick ideas from, with a class hierarchy similar to this :
Player (top level)
Bot (as Player::Bot, subclass of Player)
subclasses of Bot (like Bot::BotBrain, for example)
And additional side classes like "Server", "Round", "Mission", etc.
Good luck !
In short I used this structure :
CGeneral for general things (logging, containing instances of other classes)
CGame for handling general stuff for clients and bots
CClient for client
CBot derived from CClient
CBot has instances of these classes :
: CSensoric - for example testing if bot is stuck
: CCognitive - thinking, navigation
: CMotoric - moving, ...


kXBot
koraX's utils
- see my homepage for other projects (OpenGL CSG Editor, FAT16 Sim, NNetwork Sim, ...)

Last edited by koraX; 10-01-2004 at 12:01..
  
Reply With Quote