# Simple character stat roller by justokre

# Written in Python 3.2.3, on July 5, 2012

import random

import time

print ( "Welcome to the random character data roller." )

done = False

while not done :

charname = input ( str ( "What is the name of the character?" ) )

hp = random . randint ( 5 , 20 )

mp = random . randint ( 4 , 20 )

stre = random . randint ( 3 , 20 )

agi = random . randint ( 3 , 20 )

spd = random . randint ( 3 , 20 )

wis = random . randint ( 3 , 20 )

intel = random . randint ( 3 , 20 )

cha = random . randint ( 3 , 20 )

print ( charname )

print ( "HP:" , hp )

print ( "Mana:" , mp )

print ( "Strength:" , stre )

print ( "Agility:" , agi )

print ( "Speed:" , spd )

print ( "Wisdom:" , wis )

print ( "Intelligence:" , intel )

print ( "Charisma:" , cha )

time . sleep ( 1 ) #Wait for a sec, give the player a moment to read/think.

done = input ( "All done? y/n" )

if ( done == "y" ) :

done = True

elif ( done == "n" ) :

done = False

while done :

print ( "Farewell on your adventures." )

done = False

'''

Features to add:

* Ask about what class the char is. Then roll specifically for that class.

Play chooses class as Warrior, so roll all stats from 5 to 15, then add

4 to strength and hp, subtract 4 from mp and wis, etc.