Re: Pixel Bot Wars
- Posted by Ralf Nieuwenhuijsen <nieuwen at XS4ALL.NL> Nov 07, 1998
- 638 views
include mazer.e include flavours.e sequence maze_image maze_image = mazer ({600,400}, flv_die_hard (25, {300,200},1)) maze_image[1][2..24] = 2 maze_image[600][376..399] = 3 If it hits a wall of color 2, its the beginning position, or whatever. If it hits a wall of color 3, its the end position. You could also, put a circle somewhere in it, or a small box, but two vertical lines seemed easier.. Ralf