Classic TicTacToe just in Executable format

First, pick either 'X' or 'O' from the screen then, play the normal one Player TicTacToe.
Playing on Terminal is kinda boring so, I made it into an executable file.
This commit is contained in:
Chander Jindal
2022-03-12 22:26:23 +05:30
committed by GitHub
parent fc9ea8eaf9
commit 40557ce86b
5 changed files with 348 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
import os
IMAGE_SIZE = 103
SCREEN_SIZE = 321
NUM_TILES_SIDE = 3
NUM_TILES_TOTAL = 9
MARGIN = 2
ASSET_DIR = 'assets'
ASSET_FILES = [x for x in os.listdir(ASSET_DIR)]
#assert len(ASSET_FILES) == 8