public void run() {
                // Put a spiffy message in the console
                Mazewar.consolePrintLn("Robot client \"" + this.getName() + "\" activated.");

                // Loop while we are active
                while(active) {
                        // Try to move forward
                        if(!forward()) {
                                // If we fail...
                                if(randomGen.nextInt(3) == 1) {
                                        // turn left!
                                        turnLeft();
                                } else {
                                        // or perhaps turn right!
                                        turnRight();
                                }
                        }

                        // Shoot at things once and a while.
                        if(randomGen.nextInt(10) == 1) {
                                fire();
                        }
                        
                        // Sleep so the humans can possibly compete.
                        try {
                                thread.sleep(200);
                        } catch(Exception e) {
                                // Shouldn't happen.
                        }
                }
        }