repl.it
@JohnnyWobble/

The Quest into Abquoria

Python

Just a fun little MUD game I'm working on

fork
loading
Files
  • main.py
  • _test_runner.py
  • desisions.py
  • dice.py
  • fights.py
  • logs.txt
  • obituary.py
  • secret.py
  • things.py
  • winner.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import desisions as des
import fights
from datetime import datetime
import os, sys

def startup():
  name = input("What is your name? ")
  while True:
    if len(name) >= 13:
      name = input("What is your name (under 13 char)? ")
      continue
    break
  print(f"Hello {name}, you have been exploring a dark tunnel in to the land \nof Abquoria for serveral hours already, and you have just come across a \nfork in the tunnel. You hope to find a clear path through so you can lead \nyour people away from the evil tyrant who rules your homeland, Pyhras, \nand to safety. But first you must find a safe path through the twisting \nmaze of tunnels and kill any monsters blocking the way. \n\nGood luck, and may the odds be ever in your favor!\n ")
  fights.player_name = name
  des.leftright() 

def main():
  startup()
  des.desList()
  
if __name__ == '__main__':
  main()