Python Slayer – Work in Progress

Role:
Programmer
This was a solo project, not created for any class, but rather as a test of my skills in the python program. My main role in this project was to program and design a game entirely in python, while not using any visual elements. 

Description: 
Python Slayer is a solo Game Design / Creative Coding Project. It is a classic turn-based role playing game, created entirely in python. In order to play this game, you are required to use a python interpreter. It is currently not playable, it will be officially released this June. Visual elements are what I am best at in game design, so creating a game entirely using text was a difficult process. The main reason I started to design this game was in the hope that it could be played by anyone, even those who are visually impaired. Because the game is entirely in text, I would hope that it could be played with a screen reader. When the game is further into development, I plan to add in these accessibility features. As a part of all of my games, I create them for any audience. Games should be able to be enjoyed by anyone, no matter their skill or age. I hope that one day this game will be targeted towards a visually impaired audience.

Here is what a full playthrough of the game’s current content looks like:

Welcome to the Smelly Cave of Water.
A land filled with monsters, one that needs a Hero!

Choose a Class:
Or enter 6 to load!
Classes: Fighter = 1, Wizard = 2, Rouge = 3, Warlock = 4, Cleric = 5, Input Class: 1
The Adventure Begins!
A Slime Appears! Enemy HP: 20
Player is Faster!
———- Turn 1 ———-
LVL: 1 – HP: 30 / 30 – SP: 3 / 3 – Item: Fire Bomb – Status: Neutral
Actions: Attack = 1, Check = 2, Defend = 3, Cleave-[1] = 4, Item = 5 – Input Action: 1
You dealt: 8 Damage
———- Turn 2 ———-
Enemy: Slime Enemy HP: 12
Enemy dealt: 3 Damage
———- Turn 3 ———-
LVL: 1 – HP: 27 / 30 – SP: 3 / 3 – Item: Fire Bomb – Status: Neutral
Actions: Attack = 1, Check = 2, Defend = 3, Cleave-[1] = 4, Item = 5 – Input Action: 1
You dealt: 6 Damage
———- Turn 4 ———-
Enemy: Slime Enemy HP: 6
The Enemy used Gather! The Enemy regathered itself, regaining: 3 HP.
———- Turn 5 ———-
LVL: 1 – HP: 27 / 30 – SP: 3 / 3 – Item: Fire Bomb – Status: Neutral
Actions: Attack = 1, Check = 2, Defend = 3, Cleave-[1] = 4, Item = 5 – Input Action: 1
You dealt: 8 Damage
———- Turn 6 ———-
Enemy: Slime Enemy HP: 1
Enemy dealt: 2 Damage
———- Turn 7 ———-
LVL: 1 – HP: 25 / 30 – SP: 3 / 3 – Item: Fire Bomb – Status: Neutral
Actions: Attack = 1, Check = 2, Defend = 3, Cleave-[1] = 4, Item = 5 – Input Action: 1
You dealt: 6 Damage
Enemy Defeated!
Gold: 31

You leveled up!
Attack: 6 -> 6
Defense: 4 -> 6
Speed: 5 -> 5
Max HP: 30 -> 35
Max SP: 3 -> 4
Luck: 5 -> 5

Press Enter to Continue

You reach a rest point. What will you do?
Options: Sleep = 1, Train = 2 Input Option: 2

What do you want to train?
Options: Attack = 1, Defense = 2 Speed = 3 HP = 4 SP = 5 Input Option: 1
Attack: 6 -> 8
Press Enter to Continue

An Undead Appears! Enemy HP: 20
Player is Faster!
———- Turn 1 ———-
LVL: 2 – HP: 35 / 35 – SP: 4 / 4 – Item: Fire Bomb – Status: Neutral
Actions: Attack = 1, Check = 2, Defend = 3, Cleave-[1] = 4, Item = 5 – Input Action: 1
You dealt: 7 Damage
———- Turn 2 ———-
Enemy: Undead Enemy HP: 13
The Enemy used Foul Breath!
You feel weak.
Enemy dealt: 3 Damage
———- Turn 3 ———-
LVL: 2 – HP: 32 / 35 – SP: 4 / 4 – Item: Fire Bomb – Status: Weak
Actions: Attack = 1, Check = 2, Defend = 3, Cleave-[1] = 4, Item = 5 – Input Action: 1
You dealt: 7 Damage
———- Turn 4 ———-
Enemy: Undead Enemy HP: 6
The Enemy used Fury! The Enemy has grown stronger.
———- Turn 5 ———-
LVL: 2 – HP: 32 / 35 – SP: 4 / 4 – Item: Fire Bomb – Status: Weak
Actions: Attack = 1, Check = 2, Defend = 3, Cleave-[1] = 4, Item = 5 – Input Action: 4
You used Cleave! It consumed 1 SP.
You dealt: 12 Damage
Enemy Defeated!
Gold: 37

You leveled up!
Attack: 8 -> 10
Defense: 6 -> 6
Speed: 5 -> 5
!+ Max HP: 35 -> 39
Max SP: 4 -> 4
Luck: 5 -> 5

Press Enter to Continue

You reach a rest point. What will you do?
Options: Sleep = 1, Train = 2 Input Option: 2

What do you want to train?
Options: Attack = 1, Defense = 2 Speed = 3 HP = 4 SP = 5 Input Option: 4
Max HP: 39 -> 43
Press Enter to Continue

A Mosquito Appears! Enemy HP: 32
Enemy is Faster!
———- Turn 1 ———-
Enemy: Mosquito Enemy HP: 32
Enemy dealt: 8 Damage
———- Turn 2 ———-
LVL: 3 – HP: 31 / 43 – SP: 3 / 4 – Item: Fire Bomb – Status: Neutral
Actions: Attack = 1, Check = 2, Defend = 3, Cleave-[1] = 4, Item = 5 – Input Action: 1
You dealt: 10 Damage
———- Turn 3 ———-
Enemy: Mosquito Enemy HP: 22
Enemy dealt: 10 Damage
———- Turn 4 ———-
LVL: 3 – HP: 21 / 43 – SP: 3 / 4 – Item: Fire Bomb – Status: Neutral
Actions: Attack = 1, Check = 2, Defend = 3, Cleave-[1] = 4, Item = 5 – Input Action: 1
You dealt: 12 Damage
———- Turn 5 ———-
Enemy: Mosquito Enemy HP: 10
The Enemy used Bug Buzz!
Enemy dealt: 8 Damage
———- Turn 6 ———-
LVL: 3 – HP: 13 / 43 – SP: 3 / 4 – Item: Fire Bomb – Status: Neutral
Actions: Attack = 1, Check = 2, Defend = 3, Cleave-[1] = 4, Item = 5 – Input Action: 1
Attack Missed!
———- Turn 7 ———-
Enemy: Mosquito Enemy HP: 10
The Enemy used Agility! The Enemy has grown faster.
———- Turn 8 ———-
LVL: 3 – HP: 13 / 43 – SP: 3 / 4 – Item: Fire Bomb – Status: Neutral
Actions: Attack = 1, Check = 2, Defend = 3, Cleave-[1] = 4, Item = 5 – Input Action: 5
You threw the fire bomb! It hits the enemy, dealing: 10 Damage
The enemy is now burning.
The enemy takes 5 burn damage.
Enemy Defeated!
Gold: 49

You leveled up!
Attack: 10 -> 11
Defense: 6 -> 7
Speed: 5 -> 6
Max HP: 43 -> 45
Max SP: 4 -> 6
Luck: 5 -> 6

Press Enter to Continue

You found a Witch.
She offers to randomize your build for: 20 Gold.

Current Gold: 49
Choose Option: Randomize= 1, Skip = 2 Input Option: 2
You decided to rest.
zzz..
zzz..
zzz..
You regained: 4 SP!
Press Enter to Continue

A Mosquito Appears! Enemy HP: 40
Enemy is Faster!
———- Turn 1 ———-
Enemy: Mosquito Enemy HP: 40
Enemy dealt: 10 Damage
———- Turn 2 ———-
LVL: 4 – HP: 35 / 45 – SP: 6 / 6 – Item: None – Status: Neutral
Actions: Attack = 1, Check = 2, Defend = 3, Cleave-[1] = 4, Item = 5 – Input Action: 1
You dealt: 10 Damage
———- Turn 3 ———-
Enemy: Mosquito Enemy HP: 30
The Enemy used Bug Buzz!
Enemy dealt: 8 Damage
———- Turn 4 ———-
LVL: 4 – HP: 27 / 45 – SP: 6 / 6 – Item: None – Status: Neutral
Actions: Attack = 1, Check = 2, Defend = 3, Cleave-[1] = 4, Item = 5 – Input Action: 1
You dealt: 11 Damage
———- Turn 5 ———-
Enemy: Mosquito Enemy HP: 19
The Enemy used Bug Buzz!
Enemy dealt: 8 Damage
———- Turn 6 ———-
LVL: 4 – HP: 19 / 45 – SP: 6 / 6 – Item: None – Status: Neutral
Actions: Attack = 1, Check = 2, Defend = 3, Cleave-[1] = 4, Item = 5 – Input Action: 1
Attack Missed!
———- Turn 7 ———-
Enemy: Mosquito Enemy HP: 19
The Enemy used Agility! The Enemy has grown faster.
———- Turn 8 ———-
LVL: 4 – HP: 19 / 45 – SP: 6 / 6 – Item: None – Status: Neutral
Actions: Attack = 1, Check = 2, Defend = 3, Cleave-[1] = 4, Item = 5 – Input Action: 4
You used Cleave! It consumed 1 SP.
You dealt: 14 Damage
———- Turn 9 ———-
Enemy: Mosquito Enemy HP: 5
Enemy dealt: 11 Damage
———- Turn 10 ———-
LVL: 4 – HP: 8 / 45 – SP: 5 / 6 – Item: None – Status: Neutral
Actions: Attack = 1, Check = 2, Defend = 3, Cleave-[1] = 4, Item = 5 – Input Action: 4
You used Cleave! It consumed 1 SP.
You dealt: 14 Damage
Enemy Defeated!
Gold: 63

You leveled up!
Attack: 11 -> 13
Defense: 7 -> 9
Speed: 6 -> 6
Max HP: 45 -> 50
Max SP: 6 -> 8
Luck: 6 -> 7

Press Enter to Continue

You found a merchant.
They are selling the item: Throwing Knife For a price of 10 Gold.
and they are selling the skill: Steal-[2] For a price of 50 Gold.

Current Gold: 63
Input Option: Throwing Knife = 1, Steal-[2] = 2, Skip = 3 Input Option: 1
You obtained: Throwing Knife
Press Enter to Continue

A Boss Dragon Appears! Enemy HP: 71
Player is Faster!
———- Turn 1 ———-
LVL: 5 – HP: 50 / 50 – SP: 6 / 8 – Item: Throwing Knife – Status: Neutral
Actions: Attack = 1, Check = 2, Defend = 3, Cleave-[1] = 4, Item = 5 – Input Action: 5
You threw the Knife! It slices the enemy, dealing: 5 Damage
The enemy is now bleeding.
The enemy takes 3 bleed damage.
———- Turn 2 ———-
Enemy: Dragon Enemy HP: 63
The Enemy used Acid Spit!
You’ve been poisoned!
Enemy dealt: 3 Damage
The enemy takes 3 bleed damage.
You take 1 poison damage.
———- Turn 3 ———-
LVL: 5 – HP: 46 / 50 – SP: 6 / 8 – Item: None – Status: Poison
Actions: Attack = 1, Check = 2, Defend = 3, Cleave-[1] = 4, Item = 5 – Input Action: 1
You dealt: 12 Damage
The enemy takes 3 bleed damage.
You take 1 poison damage.
———- Turn 4 ———-
Enemy: Dragon Enemy HP: 45
Attack Missed!
The enemy takes 3 bleed damage.
You take 1 poison damage.
———- Turn 5 ———-
LVL: 5 – HP: 44 / 50 – SP: 6 / 8 – Item: None – Status: Poison
Actions: Attack = 1, Check = 2, Defend = 3, Cleave-[1] = 4, Item = 5 – Input Action: 1
You dealt: 12 Damage
The enemy takes 3 bleed damage.
You take 1 poison damage.
———- Turn 6 ———-
Enemy: Dragon Enemy HP: 27
Attack Missed!
The enemy takes 3 bleed damage.
You take 1 poison damage.
———- Turn 7 ———-
LVL: 5 – HP: 42 / 50 – SP: 6 / 8 – Item: None – Status: Poison
Actions: Attack = 1, Check = 2, Defend = 3, Cleave-[1] = 4, Item = 5 – Input Action: 1
It’s a critical hit!
You dealt: 36 Damage
The enemy takes 3 bleed damage.
You take 1 poison damage.
Enemy Defeated!
You defeated a boss!
Gold: 74

You leveled up!
Attack: 13 -> 14
Defense: 9 -> 9
Speed: 6 -> 6
Max HP: 50 -> 53
Max SP: 8 -> 8
Luck: 7 -> 8

Press Enter to Continue

You found a merchant.
They are selling the item: Purple Vial For a price of 15 Gold.
and they are selling the skill: Fireball-[1] For a price of 30 Gold.

Current Gold: 74
Input Option: Purple Vial = 1, Fireball-[1] = 2, Skip = 3 Input Option: 2
You obtained: Fireball-[1]
Press Enter to Continue

A Goblin Appears! Enemy HP: 63
Enemy is Faster!
———- Turn 1 ———-
Enemy: Goblin Enemy HP: 63
Enemy dealt: 7 Damage
———- Turn 2 ———-
LVL: 6 – HP: 46 / 53 – SP: 6 / 8 – Item: None – Status: Neutral
Actions: Attack = 1, Check = 2, Defend = 3, Fireball-[1] = 4, Item = 5 – Input Action: 4
You cast Fireball! It consumed 1 SP.
You dealt: 33 Damage
———- Turn 3 ———-
Enemy: Goblin Enemy HP: 30
Enemy dealt: 5 Damage
———- Turn 4 ———-
LVL: 6 – HP: 41 / 53 – SP: 5 / 8 – Item: None – Status: Neutral
Actions: Attack = 1, Check = 2, Defend = 3, Fireball-[1] = 4, Item = 5 – Input Action: 4
You cast Fireball! It consumed 1 SP.
You dealt: 33 Damage
Enemy Defeated!
Gold: 89

You leveled up!
Attack: 14 -> 16
Defense: 9 -> 10
Speed: 6 -> 8
Max HP: 53 -> 55
Max SP: 8 -> 10
Luck: 8 -> 9

Press Enter to Continue

You reach a rest point. What will you do?
Options: Sleep = 1, Train = 2 Input Option: 1

You decided to rest.
zzz..
zzz..
zzz..
You regained: 10 SP!
Press Enter to Continue

A Lesser Python Appears! Enemy HP: 106
Enemy is Faster!
———- Turn 1 ———-
Enemy: Dragon Enemy HP: 106
Enemy dealt: 15 Damage
———- Turn 2 ———-
LVL: 7 – HP: 40 / 55 – SP: 10 / 10 – Item: None – Status: Neutral
Actions: Attack = 1, Check = 2, Defend = 3, Fireball-[1] = 4, Item = 5 – Input Action: 4
You cast Fireball! It consumed 1 SP.
You dealt: 39 Damage
———- Turn 3 ———-
Enemy: Dragon Enemy HP: 67
Enemy dealt: 15 Damage
———- Turn 4 ———-
LVL: 7 – HP: 25 / 55 – SP: 9 / 10 – Item: None – Status: Neutral
Actions: Attack = 1, Check = 2, Defend = 3, Fireball-[1] = 4, Item = 5 – Input Action: 1
You dealt: 14 Damage
———- Turn 5 ———-
Enemy: Dragon Enemy HP: 53
The Enemy used Acid Spit!
You’ve been poisoned!
Enemy dealt: 3 Damage
You take 1 poison damage.
———- Turn 6 ———-
LVL: 7 – HP: 21 / 55 – SP: 9 / 10 – Item: None – Status: Poison
Actions: Attack = 1, Check = 2, Defend = 3, Fireball-[1] = 4, Item = 5 – Input Action: 3
You Defend.
———- Turn 7 ———-
Enemy: Dragon Enemy HP: 53
Enemy dealt: 5 Damage
———- Turn 8 ———-
LVL: 7 – HP: 16 / 55 – SP: 9 / 10 – Item: None – Status: Neutral
Actions: Attack = 1, Check = 2, Defend = 3, Fireball-[1] = 4, Item = 5 – Input Action: 1
You dealt: 14 Damage
———- Turn 9 ———-
Enemy: Dragon Enemy HP: 39
Enemy dealt: 13 Damage
———- Turn 10 ———-
LVL: 7 – HP: 3 / 55 – SP: 9 / 10 – Item: None – Status: Neutral
Actions: Attack = 1, Check = 2, Defend = 3, Fireball-[1] = 4, Item = 5 – Input Action: 1
You dealt: 16 Damage
———- Turn 11 ———-
Enemy: Dragon Enemy HP: 23
Enemy dealt: 15 Damage

You Died.
Score: 7
Game Over.