Skip to content

Instantly share code, notes, and snippets.

@adamball
Created November 8, 2017 20:40
Embed
What would you like to do?
The Most Important Ruby Script
#!/usr/bin/env ruby
ethic = ['lawful', 'neutral', 'chaotic']
moral = ['good', 'neutral', 'evil']
r = Random.new
e = ethic[r.rand(3)]
m = moral[r.rand(3)]
if e == m
e = 'true'
end
puts "#{e.capitalize} #{m.capitalize}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment