1. Re: Robot challenge -Reply -Reply

On Thu, 5 Nov 1998 13:56:13 -0600, Jay Turley <jturley at MDC.COM> wrote:


>You need to specify a color for bots, then, so that other bots can sense
>them.  Walls are yellow, start is green, end is red, maybe bots are white?
>Then we can dispense with any fancy movement-tracking functions (like
>scanning the sensor area for pixels changing to the background color
>again.)  Or maybe this is what you want?

Sounds complex. Let's just say Bot #1 will be magenta, Bot #2 cyan.

>Then my info above isn't necesary, because they won't all be moving at
>once.  Only if there are multiple bots is it necessary to implement a piolling
>procedure.

I suggest the actual MoveBot1() and MoveBot2() routines be provided
along with the maze itself. The flow would be as follows:
Start timer1; call bot1, when bot1 calls MoveBot1(), stop the timer.
Start timer2, call bot2......
That way, we will have elapsed time for computation for each bot,
and a count of the number of moves. Will a lot of moves in a short
time work better than a few (long) moves which take more computation?
Could be three winners: whoever gets to the goal first, whoever
does it in the least number of moves, and whoever uses the least
machine time.

Irv

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu