|
-
Sep 17th, 2000, 04:27 PM
#6
Hyperactive Member
Go ahead if you like
But the inputs I need would be better coming from you directly rather than me reading it from your code. Everybody (me included) always has something to say about other people's code.
If you tell me about the structure you are storing your maze in and some more details about obstacles, rules etc I can use that as input into making an "engine" or "brain" for your enemy.
If there is no maze - just wide open space with perhaps a few obstacles around, then I presume the goals of your players/enemies are:
1) stay alive the longest - by always giving yourself as much room to manoeveur as possible
2) when possible and when not in conflict with 1), cut off any opposition
I would make the enemies and players classes and then the "AI" can be tacked on to enemies. In this way, you may have several different ai's available, e.g. aggressive, conservative, chaotic, orderly etc. each enemy could have a random ai which would be more of a challenge.
All the ai's do is help the enemy decide what choice to make at each obstacle.
I hope this makes sense to you.
regards
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|