added __main__.py to allow launching as a module
This commit is contained in:
parent
faa55f0b47
commit
0c4684da30
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()
|
Loading…
Reference in New Issue
Block a user