added __main__.py to allow launching as a module
This commit is contained in:
8
pypong/__main__.py
Normal file
8
pypong/__main__.py
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
"""
|
||||||
|
Launch script
|
||||||
|
"""
|
||||||
|
|
||||||
|
from pypong.game_files.game import main as game_main
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
game_main()
|
Reference in New Issue
Block a user