Skip to content

Instantly share code, notes, and snippets.

View PycKamil's full-sized avatar
👋

Kamil Pyć PycKamil

👋
View GitHub Profile
@PycKamil
PycKamil / robot.js
Created December 5, 2012 14:13 — forked from Shipow/robot.js
showmean
var Robot = function(robot) {
robot.rotateCannon(-90);
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead();
//i'll add a clone but i need to refactor collision
//robot.clone();
};
@PycKamil
PycKamil / robot.js
Created December 4, 2012 12:06 — forked from fabiopimentel/robot.js
Pyciu Tank
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.clone();