renamed files

This commit is contained in:
Vincent Rodley 2025-08-28 10:44:32 +12:00
parent 90c8364e40
commit 574d79947b
3 changed files with 4 additions and 4 deletions

View File

@ -36,4 +36,6 @@ Both game modes include:
### GUI ### GUI
- Add the CPU - Add the CPU
- animations
- make the cursor follow the mouse

View File

@ -256,9 +256,7 @@ def cpu_move_provider(player, board):
try: try:
with open("settings.json", "r") as f: with open("settings.json", "r") as f:
settings = json.load(f) settings = json.load(f)
print(f"Settings: {settings}")
search_depth = settings.get("cpu_search_depth", 5) search_depth = settings.get("cpu_search_depth", 5)
print(f"search depth: {search_depth}")
except (FileNotFoundError, json.JSONDecodeError): except (FileNotFoundError, json.JSONDecodeError):
search_depth = 5 search_depth = 5

View File

@ -1,4 +1,4 @@
{ {
"display_mode": "emojis", "display_mode": "coloured_background",
"cpu_search_depth": 5 "cpu_search_depth": 5
} }