Code that sucks

I'm writing some background stuff for the .NET Micro Framework book. We've been working on the final project, which we want be a mobile robot of some kind. I suggested a Micro Framework controlled vacuum cleaner, and so today I started work on the emulation environment for it.

The idea is that we can simulate "pixel dust" on the floor and the "virtual sucker" will sweep this up and collect it. Our vacuum will have a dust meter which will allow it to tell how much dust is being collected and the name of the game will be collect as much dust as possible whilst avoiding crashing into the "virtual furniture". Then we are going to try to put exactly the same code into a real roving robot and see what happens, Great fun.

It also means that I can write properly factored, well commented code with methods called "doSuck". Wonderful.