This file contains hidden or 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
| @keyframes restart-next { | |
| 0% { | |
| margin-left: -400px; /* =-2*box.width */ | |
| } | |
| 100% { | |
| margin-left: -600px; /* =-3*box.width */ | |
| } | |
| } | |
| @keyframes restart-back { | |
| 0% { |
This file contains hidden or 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
| @keyframes restart-next { | |
| 0% { | |
| margin-left: -400px; /* =-2*box.width */ | |
| } | |
| 100% { | |
| margin-left: -600px; /* =-3*box.width (last box)*/ | |
| } | |
| } | |
| @keyframes restart-back { | |
| 0% { |
This file contains hidden or 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
| @import url(http://fonts.googleapis.com/css?family=Trochut); | |
| ul { | |
| list-style: none; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| .carrossel { | |
| position: relative; | |
| width: 939px; |
This file contains hidden or 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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import sys | |
| def insertion_sort(array): | |
| size = len(array) | |
| if size > 1: | |
| for i in xrange(size): | |
| j = i |
This file contains hidden or 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 robotClass | |
| var robotClass = function(){ | |
| }; | |
| robotClass.prototype.onIdle = function(ev) { | |
| var robot = ev.robot; | |
| robot.ahead(100); | |
| robot.rotateCannon(360); |
This file contains hidden or 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) { | |
| this.stop= false; | |
| this.step = 1; | |
| this.bla = true; | |
| }; | |
| Robot.prototype.onIdle = function(ev) { |
This file contains hidden or 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
| function Robot(robot) { | |
| this.countDown = 0; | |
| this.countTurnFast = 0; | |
| robot.clone(); | |
| this.myRobotId = null; | |
| this.myCloneId = null; | |
| } | |
| Robot.prototype.onIdle = function(ev) { | |
| var robot = ev.robot; |
This file contains hidden or 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
| 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(50); | |
| robot.turn(90); | |
| robot.rotateCannon(10); | |
| robot.rotateCannon(-20); |
This file contains hidden or 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
| 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(50); | |
| robot.turn(90); | |
| robot.rotateCannon(10); | |
| robot.rotateCannon(-20); |
This file contains hidden or 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.clone(); | |
| this.ascending = true; | |
| robot.ahead(100); | |
| }; | |