This is an RPG Like maze game with RPG Style Fight Sequences made only using text!
Beta Ver. 1.0.1
'#' = Wall
'-' = Floor
'P' = Player
'K' = Key
'E' = Enemy
'D' = Door
HOW TO PLAY:
Use the number, WASD Keys or just type the direction you'd like to move to in all caps to move!
Do the same to perform different actions!
When next to an E, you can FIGHT the enemy!
When next to a K, you can TAKE the key!
When next to a D, if you have a key you can LEAVE the maze!
Better inputs to move and perform actions!
This is a project I've been working on since August 25th and I've put a lot of work into. If this gets enough upvotes then I will DEFINITELY make updates to it. Also if you find any bugs or have any suggestions then just comment! I would love to hear your guys' suggestions and where there are some problems in the game. I would really appreciate it! Thanks!
I suggest using the module
getch or whatever it is called so we don't have to press enter or return after each key.
I've actually been working on a very similar project to this one, although yours is certainly more polished! I would suggest that you implement a few input checks to reduce the regularity of errors (ie. the ValueError with the potion menu I had some trouble with). Regardless, this is awesome! :D
Oh yeah, got an error:
00 = = = = = = = = = = = = = = = =
01 = = = = = = = = Enemy =
02 HP : 55.0
03 HP : 100.0
05 = Player = = = = = = =
06 [ 1 : A T K ]
07 [ 3 : I T M ]
08 = = = = = = = = = = = = = = = =
What do you do?
Traceback (most recent call last):
File "main.py", line 308, in <module>
File "main.py", line 210, in fightSequence
choice = int(input('What do you do? '))
ValueError: invalid literal for int() with base 10: ''
Connection closed abruptly
It was in the fighting part. I used potion 2.
Also, potion 3 healed the enemy fully. Not sure if it was meant to do that.
@GeneralBaker Did you type the name of the potion or the number to the very left of it. you're supposed to type the number to the very left. I probably should've clarified that. And I just tested it and It does increase your own health for each potion. The player health is to the right and below the enemy health. I hope this helps. Is there still any problems with it now that I've clarified?