Created
March 3, 2015 20:00
-
-
Save Voker57/6344b7b80c0cdd2fb773 to your computer and use it in GitHub Desktop.
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
hoster = rand((ARGV[0] || 2).to_i) | |
alllist = "Spartan Federation | |
Gaia's Stepdaughters | |
University of Planet | |
Peacekeeping Forces | |
Human Hive | |
Lord's Believers | |
Morgan Industries | |
Cult of Planet | |
Cybernetic Consciousness | |
Data Angels | |
Free Drones | |
Nautilus Pirates | |
Manifold Usurpers | |
Manifold Caretakers".split("\n") | |
faclist = alllist.shuffle[0..6] | |
while (faclist.include? "Manifold Usurpers") ^ (faclist.include? "Manifold Caretakers") | |
faclist = alllist.shuffle[0..6] | |
end | |
puts "Player #{hoster} is hosting" | |
puts | |
puts faclist.join("\n") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment