repl.it
@pieromqwerty/

Oryp Text-Based Game Engine (OTBGE)

Python

A text based game engine written in Python

fork
loading
Files
  • main.py
  • borderUtilities.py
  • scalingUtilities.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from borderUtilities import printBorder, moveCharacter, findGridLocation

# printBorder()

# moveCharacter(0, 0)

# x = 0
# while x < 50:
#     try:
#         print(str(x) + " " + str(findGridLocation(x)))
#         x = x + 1
#     except:
#         print(str(x) + " Nonexistent ID")
#         x = x + 1

print(chr(65))
print("")
moveCharacter(0, 18)
print("")
print(ord('a'))