I hereby claim:
- I am helloandre on github.
- I am helloandre (https://keybase.io/helloandre) on keybase.
- I have a public key ASCsF93coLzbFsMqTjqD9BVFQjF76HUG8ySfJ-Ib4amwCgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
var Robot = function(robot) { | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
robot.turn(rand_dist(180)); | |
robot.ahead(rand_dist(100)); | |
robot.rotateCannon(rand_dist(360)); | |
}; |
import random, string | |
from operator import attrgetter | |
max_iters = 1024 | |
start_pop = 4096 | |
mutate_chance = .25 | |
elite_chance = .10 # keep the top | |
elite = int(start_pop*elite_chance) | |
goal = "Hello, World!" | |
goal_len = len(goal) |