Oct-08-2016, 07:26 PM
I made this program called the Alt history randomized.
As you can see, it prints a string that basically creates a new, random historical figure, his/her political ideology, title, and nation they rule over.
I'm thinking about someday expanding this to create a graphical output of some sort based on the character (imagine Julius Caesar with a sombrero)
anyways, enjoy! :dance:
As you can see, it prints a string that basically creates a new, random historical figure, his/her political ideology, title, and nation they rule over.
I'm thinking about someday expanding this to create a graphical output of some sort based on the character (imagine Julius Caesar with a sombrero)
anyways, enjoy! :dance:
nations = ['germany','mexico','france','japan','the moon','japan','babylon','canada','greenland','texis','iceland','cuba','panama','colombia','jamica','venezuela','brazil','antarcrica','england','ireland','scotland','norway','sweden','spain','poland','portugal','italy','austra','austria-hungary','denmark','rome','greece','carthage','yugoslavia','china','egypt','mali','libya','sudan','congo','iraq','russia','vietnam','singapore'] ideologys = ['socialist', 'republican', 'communist', 'jewish anarchist', 'fascist','anarchist','anarcho communist','feminist'] titles = ['king','queen','president','doge','emperor','field marshal','archduke','prince','grand prince','grand duke','duke','marquess','count','earl','viscount','baron','esquire','grand king','god king','kaiser','czar','samraat','pharoh','raj'] rulers= ['francesco bernoulli','julius caesar','louis XIV','genghis khan','montezuma','elizabeth I','william I','james I','tokugawa leyasu','charlemagne','napoleon','adolf hitler','joseph stalin','benito mussolini','winston churchill','vladimir lenin','attila','genghis khan','pol pot','vlad tepes','leopold II','bashar al-assad','george w. bush','ldi amin data',] #all of these can be added too ad infinitum print "\t\tWelcome to the alternate history randomizer\n\n\t\tPress enter for your new historical identity\n\n" import random while 1: #add softwere switch to terminate n = str((random.choice(nations)).title()) i = str((random.choice(ideologys)).title()) t = str((random.choice(titles)).title()) r = str((random.choice(rulers)).title()) if n == 'louis XIV': n = 'Louis XIV' raw_input() print r + ' the ' + i + ' ' + t + ' of ' + n + '\n' #Made by James Francis 10/8/2016 #email: [email protected]