Skip to content

Instantly share code, notes, and snippets.

@telnicky
Last active August 29, 2015 14:11
Show Gist options
  • Save telnicky/91f0a105f941c8e8604a to your computer and use it in GitHub Desktop.
Save telnicky/91f0a105f941c8e8604a to your computer and use it in GitHub Desktop.
my janky robot
require 'rrobots'
class JankyBot
include Robot
def tick(event)
accelerate(rand(8))
turn(rand(10))
fire(rand(3))
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment