AI structure
- From: MathStuf <MathStuf@xxxxxxxxx>
- Date: Wed, 17 Oct 2007 00:53:52 GMT
I am building a two player game where players decide to make moves oat
the same time and which gets done first depends on stats. Also, I
don't want to make it a cheating AI. So I set up an Arena class that
interfaces through two Team classes. Then there are 3 classes that
inherit Team: Human, Bot, and GhostBot. The Human class will get
decisions from a user, the Bot will use Alpha-Beta Pruning to decide
which move to make. GhostBot will be an image slowly built up from
what the Bot sees happening in the game (it won't know what moves the
enemy knows until it uses the move) and it will try to guess what the
opponent will do from that information. In order to do that, I need to
take the base Fighter class and provide another class (Ghost) with
which I can feed data into it and it will build the original Fighter
from. Is this a good way to go about this, or is there a better way?
Thanks.
--MathStuf
[ comp.ai is moderated ... your article may take a while to appear. ]
.
- Prev by Date: Re: clustering criterion
- Next by Date: Re: clustering criterion
- Previous by thread: ANN: Logic Reasoner: a first-order theorem prover
- Next by thread: CFP: reminder: SMART'08 - TWO WEEKS to Submission Deadline - November 2nd, 2007
- Index(es):