Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.ai    |    Awaiting the gospel from Sarah Connor    |    1,954 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 1,544 of 1,954    |
|    MathStuf to All    |
|    AI structure    |
|    17 Oct 07 00:53:52    |
      From: MathStuf@gmail.com              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. ]              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca