2048/_2048/__main__.py
2017-11-18 20:54:25 -05:00

15 lines
302 B
Python

"""This module makes the package executable"""
from .main import run_game
import os
def main():
"""Execute the game and store state in the current directory."""
run_game(data_dir=os.getcwd())
# Run the main function if this file is executed directly.
if __name__ == '__main__':
main()