You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
570 B

6 months ago
import configs
from Game2048 import Game2048
def main(args):
"""
screen_width: Width of the form
screen_height: Height of the form
block_gap: Gap between two blocks
block_size: Size of a block
"""
screen_width = args.screen_width
screen_height = args.screen_height
block_gap = args.block_gap
block_size = args.block_size
block_arc = args.block_arc
game = Game2048(screen_width, screen_height, block_gap, block_size, block_arc)
game.Form()
if __name__ == '__main__':
args = configs.parse_args()
main(args)