Jump to content
  • Advertisement
Sign in to follow this  
deonbotha

bomberman

This topic is 4831 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Well I'm creating a bomberman clone in java and I've got to the point where I am implemening the computer player ai. The problem is I'm not sure what kind of ai to implement. This is pretty much my first game with ai, so where should I start? I'm not totally new to ai though as I did a module in it last semester. I implemented A*, Depth First Search, and Breadth First Search to solve an 8 puzzle problem. So if anyone could point me in the right direction that would be great!

Share this post


Link to post
Share on other sites
Advertisement
With your knowlegde, i would start with a way finding algorihm for your ai,
next try with that an easy bomb laying algorithm and the move of your ai after that, than start to improve your bomb laying algorithm:
- like shortest path to known upgrades,
- determination of target points, your opponent might or even must pass...

Share this post


Link to post
Share on other sites
In otherwords, simple rule based AI. Ie. a bunch of if statements that decide what should be done next coupled with variables representing the state of the AI agent.
Basically try to figure out how you'd play the game and write that into a program.

Share this post


Link to post
Share on other sites
first thing i was going to do was get the ai to find the player. I was going to use an A* search, to get the ai as close to the player as possible without using a bomb.The A* search would only look at tiles reachable by the ai player, and for its heuristic function would determine how far each tile is from the player. This would take the ai to an explodeable brick tile which the ai will then plant a bomb at (and run away). This will simply repeat until the ai has reached the player. Very simple at the moment but I'll expand on it once I've done that, obviously allowing the ai to possibly know where powerups are etc. Would this be a good method to use?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!