Re: Pixel Bot Wars

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

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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu