I hereby claim:
- I am bobmatnyc on github.
- I am bobmatnyc (https://keybase.io/bobmatnyc) on keybase.
- I have a public key ASDuOOTgA9BEyyNaFFaxDRHEGsjGrD_0cnb9K6cslPwixQo
To claim this, I am signing this object:
import psycopg2 | |
import requests | |
import json | |
import osm2geojson | |
import os, subprocess | |
ogr_base_path = "//Users/rmatsuoka/Google Drive/develop/python/sda/" | |
ogr_target_table = "t_dev_public_feat3" | |
params = { |
I hereby claim:
To claim this, I am signing this object:
Verifying that +bobmatnyc is my blockchain ID. https://onename.com/bobmatnyc |
// | |
// Turin.js 2.0.7b | |
// @author Bruno Dias | |
// | |
// Damn...events should never block!! | |
// TODO: a lot... | |
var clone; | |
var Robot = function(robot) { | |
this.targetAquired = false; | |
this.targetX = 0; |
var cannonRotation = 5; | |
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
robot.turn(360 - robot.angle); | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
robot.ahead(10); |
var cloned = false; | |
var C = false; | |
var first = true; | |
function Robot(robot) {} | |
// well, we need to do something... | |
// whenever our robot is idle, this method gets called. |
var Robot = function(robot){ | |
robot.turnLeft(robot.angle % 90); | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
if (robot.parentId) { | |
robot.ahead(1); | |
robot.turnGunRight(1); | |
} | |
else { |
var direction; | |
var start; | |
var runaway; | |
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
if(robot.parentId){ | |
direction = 1; |
function Robot(robot) {} | |
// well, we need to do something... | |
// whenever our robot is idle, this method gets called. | |
Robot.prototype.onIdle = function(ev) { | |
var robot; | |
robot = ev.robot; | |
robot.ahead(10); | |
robot.rotateCannon(15); | |
robot.turn(5); |
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
var rx = robot.position.x; | |
var ry = robot.position.y; | |
var aH = robot.arenaHeight; | |
var aW = robot.arenaWidth; | |
robot.clone() | |
}; |