renamed files
This commit is contained in:
parent
90c8364e40
commit
574d79947b
|
|
@ -36,4 +36,6 @@ Both game modes include:
|
|||
|
||||
### GUI
|
||||
|
||||
- Add the CPU
|
||||
- Add the CPU
|
||||
- animations
|
||||
- make the cursor follow the mouse
|
||||
|
|
@ -256,9 +256,7 @@ def cpu_move_provider(player, board):
|
|||
try:
|
||||
with open("settings.json", "r") as f:
|
||||
settings = json.load(f)
|
||||
print(f"Settings: {settings}")
|
||||
search_depth = settings.get("cpu_search_depth", 5)
|
||||
print(f"search depth: {search_depth}")
|
||||
except (FileNotFoundError, json.JSONDecodeError):
|
||||
search_depth = 5
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"display_mode": "emojis",
|
||||
"display_mode": "coloured_background",
|
||||
"cpu_search_depth": 5
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user