Re: Robot challenge - More Complex Maze Needed!

new topic     » topic index » view thread      » older message » newer message

Irv Mullins considerately responded:

> OK. I didn't want to include Ralf's mazer in the e-mails, but
> anyone who wants it can download from RDS website.

It would be cool to have people create a few mazes so we can have a
maze-racing circuit, of sorts. Irv, why don't you write a program that lets
you create mazes and output a "maze file." Then, our robot-maze-racing
program would load up a maze, load up the bot include files, then send them
off to the maze races... you know what I mean? smile

> Now, if we can get 2 robot routines, we can have a contest.
> More importantly, perhaps you will share some insight into
> the strategy. (I think there is probably more than one strategy
> that would work?)

My mind went all over the place looking for a way to get a pixel through a
maze... I'll share my insights after we've had a few more contestants ready
to race. I think, though, that my strategy is probably one everybody would
stumble across given enough time... blink

> For a head-to-head contest (pixels got heads?) I suggest a
> simple naming convention:
> Your robot-moving code should be in an include file: CKBOT.E,
> with its function named MoveCKBot() - it returns the new bot
> coordinates.

If this is going to be the case, I'll need a few global variables/routines,
I think... won't I?

> Then to pit one against the other, all we'll have to do is:
> include CKBOT.E
> include RALFBOT.E
>
> while not(fini) do
> Bot[1] = MoveCKBot()
> --record the elapsed time
> Bot[2] = MoveRalfBot())
> -- record the elapsed time
> DrawBots()

> -- DrawBots routine plots the bots and sets fini = TRUE if either
> -- bot is at the finish line.
> end while
> PrintResults()
>
> Regards,
> Irv

Would it be okay if I added a laser weapon system to my bot, so I can shoot
RalfBot into oblivion? MUHAHAHA! <ahem>

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu