Skip to content

Instantly share code, notes, and snippets.

Sergey Schetinin maluke

Block or report user

Report or block maluke

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@maluke
maluke / robot.js
Created Dec 3, 2012
Zolmesiter fork
View robot.js
var Robot = function(robot){
robot.turnLeft(robot.angle % 90);
//robot.turnGunRight(90);
robot.clone();
this.direction = 1;
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(1);
if (robot.parentId) {
You can’t perform that action at this time.