This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
888888888o 8888 88 8888 8888 888888888o. 888888888o . d888888o. d888888o. 8888888888 888888888o. | |
8888 `88. 8888 88 8888 8888 8888 `^888. 8888 `88. .888. .`8888:' `88. .`8888:' `88. 8888 8888 `^888. | |
8888 `88 8888 88 8888 8888 8888 `88. 8888 `88 :88888. 8.`8888. Y8 8.`8888. Y8 8888 8888 `88. | |
8888 ,88 8888 88 8888 8888 8888 `88 8888 ,88 . `88888. `8.`8888. `8.`8888. 8888 8888 `88 | |
8888. ,88' 8888 88 8888 8888 8888 88 8888. ,88'.8. `88888. `8.`8888. `8.`8888. 888888888888 8888 88 | |
8888888888 8888 88 8888 8888 8888 88 888888888P'.8`8. `88888. `8.`8888. `8.`8888. 8888 8888 88 | |
8888 ` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
# don't put duplicate lines or lines starting with space in the history. | |
# See bash(1) for more options | |
HISTCONTROL=ignoreboth |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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; | |
for(var i=0; i<30; i++){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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(); |