$ wget "https://dev.mysql.com/get/Downloads/Connector-C++/mysql-connector-c++-1.1.6-linux-glibc2.5-x86-64bit.rpm"
# rpm -ivh mysql-connector-c++-1.1.6-linux-glibc2.5-x86-64bit.rpm
# sudo dnf install libuuid-devel boost-devel pcre-devel unixODBC-devel gdal-devel libxml2-devel libzip-devel gdk-pixbuf2-devel glibmm24-devel pango-devel cairo-devel gtk2-devel gtkmm24-devel ctemplate-devel vsqlite++-devel tinyxml-devel python-libs swig python-paramiko autoconf automake libtool gcc-c++ pkgconfig
$ wget http://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-community-6.3.5-src.tar.gz
$ tar xf mysql-workbench-community-6.3.5-src.tar.gz && cd mysql-workbench-community-6.3.5-src
$ mkdir wb-build
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
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) { |
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; | |
robot = ev.robot; |