summaryrefslogtreecommitdiff
path: root/gamelib.py
diff options
context:
space:
mode:
Diffstat (limited to 'gamelib.py')
-rw-r--r--gamelib.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/gamelib.py b/gamelib.py
new file mode 100644
index 0000000..8728194
--- /dev/null
+++ b/gamelib.py
@@ -0,0 +1,8 @@
+def winending():
+ printinfo("Congratulations, You Win!")
+ exit(0)
+
+def loseending():
+ printwarning("You lose!")
+ printerror("RuntimeError: CRASHING Computer........")
+ raise RuntimeError("You lose!") \ No newline at end of file