viewing paste Unknown #52078 | Python

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
import time
import random
import os
clear = lambda : os.system('tput reset')
 
print('Welcome To Console Fighters')
time.sleep(1)
name = input('What Do You Want Your Character To Be Called? \n')
clear()
print('welcome to the game, ' + (name))
time.sleep(1)
 
print('What kit do you want to be (1, 2, 3, or 4)')
time.sleep(1)
Kit1 = 1
print('Kit 1 is ARCHER, you receive - 1 Bow - Full Wolf Skin Armor -')
time.sleep(1.5)
Kit2 = 2
print('Kit 2 is SWORDSMEN, you receive - 1 Sharpened Sword - Full Chain Armor -')
time.sleep(1.5)
Kit3 = 3
print('Kit 3 is MAGE, you receive - 1 Spell Staff - Weak Dungeon Armor -')
time.sleep(1.5)
Kit4 = 4
print('Kit 4 is TANK, you receive - 1 Blunt Sword - Full Hardened Steel Armor -')
 
time.sleep(1)
playerkit = input('Choose Kit Number 1, 2, 3, or 4 \n')
if playerkit == '1':
  clear()
  print('Archer kit chosen \n')
  time.sleep(1)
elif playerkit == '2':
  clear()
  print('Swordsmen kit chosen \n')
  time.sleep(1)
elif playerkit == '3':
  clear()
  print('Mage kit chosen \n')
  time.sleep(1)
elif playerkit == '4':
  clear()
  print('Tank kit chosen \n')
  time.sleep(1)
 
print('game begins in...'), time.sleep(1)
print('5'), time.sleep(1)
print('4'), time.sleep(1)
print('3'), time.sleep(1)
print('2'), time.sleep(1)
print('1'), time.sleep(1)
 
clear()
print('GAME BEGINS! \n'), time.sleep(1)
 
Spawntype = random.randint(1,3)
if Spawntype == 1:
  print('You wake up in a thick, misty forest. With little-to-no vision it will be a struggle to remain alive')
  time.sleep(3)
  print('to your left, you vaguely see a light in the distance, but to your right you see a clearing in the forest')
  time.sleep(3)
  Forestchoice = input('which way do you go. Left, or Right \n')
  if Forestchoice.lower() == 'left':
    print('You begin slowly walking toward the light in the distance, as it begins to grow, you realise that it is a village and there are people that live')
  if Forestchoice.lower() == 'right':
    print('bad choice')
elif Spawntype == 2:
  print('You awake at the entrance of a temple. This temple has a massive prize inside.')
elif Spawntype == 3:
  print('You have awoken, stuck in a mossy jail cell. You beleive that you are underground, and must fight your way out')
Viewed 568 times, submitted by Guest.