Started on Hex. Also fourinarow difficulty

Difficulty added when starting a game of fourinarow, on a scale of 1-5.
The Hex functions are added, but right now they are mostly copies of the fourinarow functions, and do not work
This commit is contained in:
jona605a
2020-08-04 10:18:30 +02:00
parent ee53f87c32
commit 5a656b1fb2
6 changed files with 452 additions and 21 deletions

View File

@ -191,6 +191,11 @@ def makeFiles():
os.makedirs("resources/games/4InARowBoards")
logThis("The 4 in a row boards directory didn't exist")
# Creates the hexBoards foulder if it doesn't exist
if os.path.isdir("resources/games/hexBoards") == False:
os.makedirs("resources/games/hexBoards")
logThis("The Hex boards directory didn't exist")
# Creates the oldImages foulder if it doesn't exist
if os.path.isdir("resources/games/oldImages") == False:
os.makedirs("resources/games/oldImages")