Forum: General Bot Coding
29-09-2006
|
Replies: 11
Views: 7,271
Re: New to AI Programming
Alright, not searching for diagonal paths (which I'm pretty sure I implemented wrong anyway) decreases the search time incredibly from before (from over 1 sec to ~30ms).
EDIT: Fixed diagonal...
|
Forum: General Bot Coding
29-09-2006
|
Replies: 11
Views: 7,271
Re: New to AI Programming
Alright, I implemented Tiles to cover the map and make searching much easier. It is much faster than before (On my test, from 6seconds, to just over a second). I will also try to implement the...
|
Forum: General Bot Coding
28-09-2006
|
Replies: 11
Views: 7,271
Re: New to AI Programming
Thanks for your replies. In response to DrEvil, I was wondering if there is some sort of algorithm for generating regions and if not maybe how one would go about implementing it (I get the general...
|
Forum: General Bot Coding
27-09-2006
|
Replies: 11
Views: 7,271
Re: New to AI Programming
Alrighty. So I have implemented the A* Algorithm into Ruby from a couple C++ and Python examples but as of right now I am getting incredibly slow performance. It takes over 5(!) seconds to find a...
|
Forum: General Bot Coding
06-09-2006
|
Replies: 11
Views: 7,271
Re: New to AI Programming
I have been thinking about doing a simple or robust trace because it seems fairly easy to implement and is good for learning, but I haven't been able find anything but a description of how it works...
|
Forum: General Bot Coding
06-09-2006
|
Replies: 11
Views: 7,271
New to AI Programming
Hi,
I am creating a new 2D game using the Ruby programming language and have finally got around to trying to add Bots and AI to my game. Sadly, I have never had experience with programming bots and...
|