.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > General Bot Coding
General Bot Coding See what a pain it is to get those little mechs shooting around

Reply
 
Thread Tools
Re: anyone to review this?
Old
  (#11)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: anyone to review this? - 18-05-2005

yes, i saw the PS3 thingy at gamespot (2 hours long, yep). And i saw killzone there, omg.... it looks very neat.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: anyone to review this?
Old
  (#12)
Lazy
Member
 
Lazy's Avatar
 
Status: Offline
Posts: 236
Join Date: Jan 2004
Location: Toronto, Ontario, Canada
Default Re: anyone to review this? - 25-05-2005

Looks good, the only thing I can suggest is a more detailed explanation of the floyd-warshall algorithm - unless I'm the only one not getting it o_O.

Say we have a byte array of a map, with values ranging from 0 ( open ) and 1 ( closed ).
If we want to find out if map[ x ][ y ] is a neighbour to map[ x + 1][ y ] how do we go about finding this out?
I'm guessing that CanGoTo just checks if map[ x + 1 ][ y ] is open?

Sorry if those are stupid questions, I tried looking for more on it but found next to nothing useful.
Good work on the article though, lots of useful info that will be put into use in the future .

Last edited by Lazy; 25-05-2005 at 16:29..
  
Reply With Quote
Re: anyone to review this?
Old
  (#13)
@$3.1415rin
Council Member, Author of JoeBOT
 
@$3.1415rin's Avatar
 
Status: Offline
Posts: 1,381
Join Date: Nov 2003
Location: Germany
Default Re: anyone to review this? - 25-05-2005

floyd warshall is used to get a path to another waypoint, or to get the distance between 2 waypoints. if a waypoint is a neighbor to another waypoint - you should be able to get this information from your world representation, that is for example from your waypoints which contain information to which they are connected.


  
Reply With Quote
Re: anyone to review this?
Old
  (#14)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: anyone to review this? - 25-05-2005

To understand the floyd-warshall algorithm I advise you to pay attention to the code comments much more than the actual text that's supposed to explain it



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com