Skip to content

Instantly share code, notes, and snippets.

View piotrbrzuska's full-sized avatar

Piotr Brzuska piotrbrzuska

View GitHub Profile
using System;
using System.Collections.Generic;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
namespace ArrayVsListBench
{
class Program
{
static void Main(string[] args)
//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.ahead(100);