start new:
tmux
start new with session name:
tmux new -s myname
| class SuperWallBot extends BaseRobot | |
| onInit:() -> | |
| @turnTurretLeft(-Infinity) | |
| onScannedRobot:(event) -> | |
| @fire(1) | |
| tr = new SuperWallBot("Super Wall Bot") |
| class TestRobot1 extends BaseRobot | |
| run: () -> | |
| @move_forwards 10, => | |
| @move_backwards 10 | |
| @turn_left Math.floor(Math.random()*361), => | |
| @_run() | |
| tr = new TestRobot1("My first test robot") |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script type="text/javascript" src="http://mbostock.github.com/d3/d3.v2.js"></script> | |
| <style type="text/css"> | |
| svg { | |
| border:1px solid gray | |
| } | |
| #countries path { |