Your game is great. One thing I would suggest would be to get the keyboard inputs directly, like @mat1 did with his hacker typer(https://repl.it/talk/share/keyboard-Hacker-Typer/18897). It would allow the game to progress much faster as players don't have to press enter for every action.
I also found a bug. If, in battle, you spam an attack and enter, it will continue to use that attack. I'm not sure if this is a problem with your code or with repl.it, but i thought you should know