summaryrefslogtreecommitdiff
path: root/src/sliceitoff/main.py
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-04-09 01:54:49 +0300
committerViljami Ilola <+@hix.fi>2024-04-09 01:54:49 +0300
commit7a97b9c7a779aa7739e743770559ca7146ba6df3 (patch)
tree2b4f917a2187e74b27e0a272a8d15c48fd41f60f /src/sliceitoff/main.py
parent5981707f152b4e611abb50a6975a44548844117a (diff)
use namespace package in importsv0.3b2
Diffstat (limited to 'src/sliceitoff/main.py')
-rw-r--r--src/sliceitoff/main.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/sliceitoff/main.py b/src/sliceitoff/main.py
index 58cc617..9a95b05 100644
--- a/src/sliceitoff/main.py
+++ b/src/sliceitoff/main.py
@@ -1,11 +1,10 @@
""" main.py """
-from runpy import run_path
-from pathlib import Path
+from sliceitoff.game import Game
def main():
- """ Let's start the app as current path being base """
- my_path = Path(__file__).parent.resolve()
- run_path(f"{my_path}", run_name="sliceitoff")
+ """ All the fun begins here """
+ game = Game()
+ game.run()
if __name__ == "__main__":
main()