Python Forum
Alt history randomized
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Alt history randomized
#1
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:
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]
#2
see if you can make it look like a Wikipedia page to add an air of authority to it :D 

Imagine Rome being a colony of the Greenlandic Empire (ruled by king Skaperen) :P
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
#3
:D Heck ya dude that would be hilarious.  I just started learning python this past couple of month, so this is the most complicated thing i've ever made. 
But in time i could certainly do that. Mabye even hook it up as part of a website. 

I can see it now...
  A full detailed history of the life and times of Francesco Bernoulli, and his assent to the status of god king of Greenland

:dance: :dance: :dance: :dance:
BliepMonster likes this post


Possibly Related Threads…
Thread Author Replies Views Last Post
  Youtube Watched History Analyzer Aerosmite 4 8,018 Nov-06-2017, 12:38 AM
Last Post: Redoudou

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020