aboutsummaryrefslogtreecommitdiffstats
path: root/Not Jack/main.py
diff options
context:
space:
mode:
authorRossTheRoss <mstrapp@protonmail.com>2021-04-25 14:54:51 -0500
committerRossTheRoss <mstrapp@protonmail.com>2021-04-25 14:54:51 -0500
commitd40e0d02c955e97738615314443704d94219cff4 (patch)
tree14539c6b942f3293da6fd3dfd3187f5f69c422cc /Not Jack/main.py
parentAdd files via upload (diff)
downloadcsci4511w-d40e0d02c955e97738615314443704d94219cff4.tar
csci4511w-d40e0d02c955e97738615314443704d94219cff4.tar.gz
csci4511w-d40e0d02c955e97738615314443704d94219cff4.tar.bz2
csci4511w-d40e0d02c955e97738615314443704d94219cff4.tar.lz
csci4511w-d40e0d02c955e97738615314443704d94219cff4.tar.xz
csci4511w-d40e0d02c955e97738615314443704d94219cff4.tar.zst
csci4511w-d40e0d02c955e97738615314443704d94219cff4.zip
Remove redundant folder
Diffstat (limited to 'Not Jack/main.py')
-rw-r--r--Not Jack/main.py40
1 files changed, 0 insertions, 40 deletions
diff --git a/Not Jack/main.py b/Not Jack/main.py
deleted file mode 100644
index 4e37684..0000000
--- a/Not Jack/main.py
+++ /dev/null
@@ -1,40 +0,0 @@
-from Algorithm import *
-from DotsNBoxes import *
-from Board import *
-from Nodes import *
-
-def main():
- while True:
-
- print("\t\t!! Welcome to the game of Dots and Boxes !!\n\n Be prepared to be crushed by the power of Artificial Intelligence ... !!\n\n\
- Kidding! You totally can beat it!\n\n\n")
-
- x = input("Press 1 to start the game or press 2 to escape from the inevitable doom!!\n\n")
- if x == "1":
-
- Board_Xdim = int(input("\nPlease enter the number of rows for the board: \n")) * 2 + 1
-
- if Board_Xdim < 5:
- print("\nthe number of rows should atleast be 2\n")
- exit()
-
- Board_Ydim = int(input("\nPlease enter the number of columns for the board: \n")) * 2 + 1
-
- if Board_Ydim < 5:
- print("\nthe number of columns should atleast be 2\n")
- exit()
-
- Ply_num = int(input("\nPlease enter the number of plies used by the AI: \n"))
-
- if Ply_num < 2:
- print("\nThe number of plies should be higher than 1\n")
- exit()
-
- Match = DotsNBoxes(Board_Xdim, Board_Ydim, Ply_num)
- Match.start()
- else:
- print ("\n\nEscape it is!")
- exit()
-
-if __name__ == "__main__":
- main()