Created
January 3, 2017 09:49
-
-
Save christabor/2b27a9e69e1f77ce6d65f039694903de to your computer and use it in GitHub Desktop.
alien name generator
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
Joovfif Laav Puuhge | |
Diuse'Uoclu Bulvi | |
Veemza'Coogku Wiizzaq | |
Pecgad'Niqbej Livqic | |
Xad'Fecye Kodva | |
Ham-Wefqon Xuqqek | |
Zaance Vooqfe Ueehmuv | |
Raadzuc-Yiikheu Voow | |
Siijuu'Boomnaq Peen | |
Lervo Fuusi Sen | |
Palbu'Bir Paxra | |
Boygu-Zuk Kol | |
Maauwef'Kuun Tiiklum | |
Gibpof'Tut Ronxuj | |
Seemfas-Caaltih Seem | |
Qiix Yiix Neezva | |
Piiz'Roof Qaafhus | |
Diuse-Likwo Javda | |
Xegye Boyqi Bumuud | |
Yeefdov-Liifge Wiimrux | |
Pujqi Rucbuv Kaqji | |
Uel'Puknof Rog | |
Pucva'Vim Yac | |
Gokvor-Wicqu Rubwe | |
Hiiduiv'Coojzo Ziit | |
Teelgip-Nuug Peedtev | |
Vuc'Uaspi Niw | |
Xes'Honyes Lunfoy | |
Mudmul Leqfoz Set | |
Xeet-Raak Piiq | |
Baacrod Guuf Joom | |
Vinzi Gexcu Yaw | |
Maqcur'Wujre Ceyvay | |
Noow'Leequi Qaauqin | |
Uiffuk-Yobfa Nir | |
Matge'Xiq Naz | |
Beeb'Liip Nuuwro | |
Wujfe-Uibde Semda | |
Luvua Qofji Keqsa | |
Hoor-Fuutneu Duukla | |
Yaacku'Muugbuv Kooflic | |
Caav-Taauso Wooufuh | |
Muuh-Huulcap Piiyhul | |
Wepuu Varuoz Deupeg | |
Yun'Zev Qicfid | |
Qorsi'Mis Zubbox | |
Feeq Rooj Uuub | |
Biiukap Saax Xeek | |
Wiiqvo-Raalvi Jiisvoy | |
Mojkuv'Qoy Joxsu | |
Qipmo Baqhup Kuv | |
Feetke Deesyav Zeeb | |
Pih'Duz Bildo | |
Wejvax'Zug Xovxa | |
Miipro'Puud Uuuwuex | |
Qoskur-Xaj Yak | |
Gezqe-Miugef Hot | |
Cir'Rozqij Reh | |
Woombu Qeexnuy Uaad | |
Juupxu Meeuso Feebweh | |
Deeywun Uaas Pooybes | |
Guupqo Xuulto Zeerraf | |
Cuktu-Govqe Seknuu | |
Pox-Hesxog Rar | |
Vaasuob-Uoojvil Hoonpu | |
Faay Moogcos Seeguay | |
Uiizja Yeebbes Ceegfuk | |
Vooc'Veedxu Seeqvi | |
Kebwa-Cawkix Buhwul | |
Uiqnur-Beq Tuuto | |
Poon-Foocbu Suuyzan | |
Tadte-Nevvun Noyje | |
Doolue'Doos Qeecqim | |
Sopmam'Wabwul Zusle | |
Pootmoz'Ziiywuq Niis |
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
import time | |
from random import choice, randrange | |
def alien_name(): | |
"""Generate a pretty legit alien name.""" | |
cons = list('bcdfghjklmnpqrstuvwxyz') | |
vowl = list('aeiou') | |
vowel_count = randrange(1, 3) | |
def atom_lg(): | |
return '{c1}{v1}{c2}{c3}{v2}{c4}'.format( | |
c1=choice(cons).upper(), | |
v1=choice(vowl) * vowel_count, | |
c2=choice(cons), | |
c3=choice(cons), | |
v2=choice(vowl), | |
c4=choice(cons), | |
) | |
def atom_med(): | |
return '{c1}{v1}{c2}{c3}{v2}'.format( | |
c1=choice(cons).upper(), | |
v1=choice(vowl) * vowel_count, | |
c2=choice(cons), | |
c3=choice(cons), | |
v2=choice(vowl), | |
) | |
def atom_sm(): | |
return '{c1}{v1}{c2}'.format( | |
c1=choice(cons).upper(), | |
v1=choice(vowl) * vowel_count, | |
c2=choice(cons), | |
) | |
funcs = [atom_lg, atom_med, atom_sm] | |
fst, sec, thrd = choice(funcs), choice(funcs), choice(funcs) | |
tokens = ['-', '\'', ' '] | |
return '{}{token}{} {}'.format(fst(), sec(), thrd(), token=choice(tokens)) | |
if __name__ == '__main__': | |
while True: | |
time.sleep(0.5) | |
f = alien_name() | |
print(f) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment