integrated MctsEngine into lichess bot

This commit is contained in:
2024-01-27 22:22:27 +01:00
parent c69b542653
commit 5527c4e4c3
5 changed files with 748 additions and 1166 deletions

View File

@@ -1,4 +1,3 @@
config.yml
**/__pycache__
/engines/*
!/engines/README.md

232
lichess_bot/config.yml Normal file
View File

@@ -0,0 +1,232 @@
token: "lip_5jijOxOe0f9k0Sld44dG" # Lichess OAuth2 Token.
url: "https://lichess.org/" # Lichess base URL.
engine: # Engine settings.
dir: "./engines" # Directory containing the engine. This can be an absolute path or one relative to lichess_bot/.
name: "MctsEngine" # Binary name of the engine to use.
working_dir: "" # Directory where the chess engine will read and write files. If blank or missing, the current directory is used.
# NOTE: If working_dir is set, the engine will look for files and directories relative to this directory, not where lichess_bot was launched. Absolute paths are unaffected.
protocol: "homemade" # "uci", "xboard" or "homemade"
ponder: true # Think on opponent's time.
polyglot:
enabled: false # Activate polyglot book.
book:
standard: # List of book file paths for variant standard.
- engines/book1.bin
- engines/book2.bin
# atomic: # List of book file paths for variant atomic.
# - engines/atomicbook1.bin
# - engines/atomicbook2.bin
# etc.
# Use the same pattern for 'chess960', 'giveaway' (antichess), 'crazyhouse', 'horde', 'kingofthehill', 'racingkings' and '3check' as well.
min_weight: 1 # Does not select moves with weight below min_weight (min 0, max: 65535).
selection: "weighted_random" # Move selection is one of "weighted_random", "uniform_random" or "best_move" (but not below the min_weight in the 2nd and 3rd case).
max_depth: 20 # How many moves from the start to take from the book.
draw_or_resign:
resign_enabled: false # Whether or not the bot should resign.
resign_score: -1000 # If the score is less than or equal to this value, the bot resigns (in cp).
resign_for_egtb_minus_two: true # If true the bot will resign in positions where the online_egtb returns a wdl of -2.
resign_moves: 3 # How many moves in a row the score has to be below the resign value.
offer_draw_enabled: true # Whether or not the bot should offer/accept draw.
offer_draw_score: 0 # If the absolute value of the score is less than or equal to this value, the bot offers/accepts draw (in cp).
offer_draw_for_egtb_zero: true # If true the bot will offer/accept draw in positions where the online_egtb returns a wdl of 0.
offer_draw_moves: 10 # How many moves in a row the absolute value of the score has to be below the draw value.
offer_draw_pieces: 10 # Only if the pieces on board are less than or equal to this value, the bot offers/accepts draw.
online_moves:
max_out_of_book_moves: 10 # Stop using online opening books after they don't have a move for 'max_out_of_book_moves' positions. Doesn't apply to the online endgame tablebases.
max_retries: 2 # The maximum amount of retries when getting an online move.
# max_depth: 10 # How many moves from the start to take from online books. Default is no limit.
chessdb_book:
enabled: false # Whether or not to use chessdb book.
min_time: 20 # Minimum time (in seconds) to use chessdb book.
move_quality: "good" # One of "all", "good", "best".
min_depth: 20 # Only for move_quality: "best".
lichess_cloud_analysis:
enabled: false # Whether or not to use lichess cloud analysis.
min_time: 20 # Minimum time (in seconds) the bot must have to use cloud analysis.
move_quality: "best" # One of "good", "best".
max_score_difference: 50 # Only for move_quality: "good". The maximum score difference (in cp) between the best move and the other moves.
min_depth: 20
min_knodes: 0
lichess_opening_explorer:
enabled: false
min_time: 20
source: "masters" # One of "lichess", "masters", "player"
player_name: "" # The lichess username. Leave empty for the bot's username to be used. Used only when source is "player".
sort: "winrate" # One of "winrate", "games_played"
min_games: 10 # Minimum number of times a move must have been played to be chosen.
online_egtb:
enabled: false # Whether or not to enable online endgame tablebases.
min_time: 20 # Minimum time (in seconds) the bot must have to use online EGTBs.
max_pieces: 7 # Maximum number of pieces on the board to use endgame tablebases.
source: "lichess" # One of "lichess", "chessdb".
move_quality: "best" # One of "best" or "suggest" (it takes all the moves with the same WDL and tells the engine to only consider these; will move instantly if there is only 1 "good" move).
lichess_bot_tbs: # The tablebases list here will be read by lichess_bot, not the engine.
syzygy:
enabled: false # Whether or not to use local syzygy endgame tablebases.
paths: # Paths to Syzygy endgame tablebases.
- "engines/syzygy"
max_pieces: 7 # Maximum number of pieces in the endgame tablebase.
move_quality: "best" # One of "best" or "suggest" (it takes all the moves with the same WDL and tells the engine to only consider these; will move instantly if there is only 1 "good" move).
gaviota:
enabled: false # Whether or not to use local gaviota endgame tablebases.
paths:
- "engines/gaviota"
max_pieces: 5
min_dtm_to_consider_as_wdl_1: 120 # The minimum DTM to consider as syzygy WDL=1/-1. Set to 100 to disable.
move_quality: "best" # One of "best" or "suggest" (it takes all the moves with the same WDL and tells the engine to only consider these; will move instantly if there is only 1 "good" move).
# engine_options: # Any custom command line params to pass to the engine.
# cpuct: 3.1
homemade_options:
# Hash: 256
uci_options: # Arbitrary UCI options passed to the engine.
Move Overhead: 100 # Increase if your bot flags games too often.
Threads: 4 # Max CPU threads the engine can use.
Hash: 512 # Max memory (in megabytes) the engine can allocate.
SyzygyPath: "./syzygy/" # Paths to Syzygy endgame tablebases that the engine reads.
UCI_ShowWDL: true # Show the chance of the engine winning.
# go_commands: # Additional options to pass to the UCI go command.
# nodes: 1 # Search so many nodes only.
# depth: 5 # Search depth ply only.
# movetime: 1000 # Integer. Search exactly movetime milliseconds.
# xboard_options: # Arbitrary XBoard options passed to the engine.
# cores: "4"
# memory: "4096"
# egtpath: # Directory containing egtb (endgame tablabases), relative to this project. For 'xboard' engines.
# gaviota: "Gaviota path"
# nalimov: "Nalimov Path"
# scorpio: "Scorpio Path"
# syzygy: "Syzygy Path"
# go_commands: # Additional options to pass to the XBoard go command.
# depth: 5 # Search depth ply only.
# Do note that the go commands 'movetime' and 'nodes' are invalid and may cause bad time management for XBoard engines.
silence_stderr: false # Some engines (yes you, Leela) are very noisy.
abort_time: 30 # Time to abort a game in seconds when there is no activity.
fake_think_time: false # Artificially slow down the bot to pretend like it's thinking.
rate_limiting_delay: 0 # Time (in ms) to delay after sending a move to prevent "Too Many Requests" errors.
move_overhead: 2000 # Increase if your bot flags games too often.
correspondence:
move_time: 60 # Time in seconds to search in correspondence games.
checkin_period: 300 # How often to check for opponent moves in correspondence games after disconnecting.
disconnect_time: 150 # Time before disconnecting from a correspondence game.
ponder: false # Ponder in correspondence games the bot is connected to.
challenge: # Incoming challenges.
concurrency: 1 # Number of games to play simultaneously.
sort_by: "best" # Possible values: "best" and "first".
accept_bot: true # Accepts challenges coming from other bots.
only_bot: false # Accept challenges by bots only.
max_increment: 20 # Maximum amount of increment to accept a challenge in seconds. The max is 180. Set to 0 for no increment.
min_increment: 0 # Minimum amount of increment to accept a challenge in seconds.
max_base: 1800 # Maximum amount of base time to accept a challenge in seconds. The max is 10800 (3 hours).
min_base: 0 # Minimum amount of base time to accept a challenge in seconds.
max_days: 14 # Maximum number of days per move to accept a challenge for a correspondence game.
# Unlimited games can be accepted by removing this field or specifying .inf
min_days: 1 # Minimum number of days per move to accept a challenge for a correspondence game.
variants: # Chess variants to accept (https://lichess.org/variant).
- standard
# - fromPosition
# - antichess
# - atomic
# - chess960
# - crazyhouse
# - horde
# - kingOfTheHill
# - racingKings
# - threeCheck
time_controls: # Time controls to accept.
- bullet
- blitz
- rapid
- classical
# - correspondence
modes: # Game modes to accept.
- casual # Unrated games.
- rated # Rated games - must comment if the engine doesn't try to win.
# block_list: # List of users from which the challenges are always declined.
# - user1
# - user2
# allow_list: # List of users from which challenges are exclusively accepted, all others being declined. If empty, challenges from all users may be accepted.
# - user3
# - user4
# recent_bot_challenge_age: 60 # Maximum age of a bot challenge to be considered recent in seconds
# max_recent_bot_challenges: 2 # Maximum number of recent challenges that can be accepted from the same bot
bullet_requires_increment: False # Require that bullet game challenges from bots have a non-zero increment
greeting:
# Optional substitution keywords (include curly braces):
# {opponent} to insert opponent's name
# {me} to insert bot's name
# Any other words in curly braces will be removed.
hello: "Hi! I'm {me}. Good luck! Type !help for a list of commands I can respond to." # Message to send to opponent chat at the start of a game
goodbye: "Good game!" # Message to send to opponent chat at the end of a game
hello_spectators: "Hi! I'm {me}. Type !help for a list of commands I can respond to." # Message to send to spectator chat at the start of a game
goodbye_spectators: "Thanks for watching!" # Message to send to spectator chat at the end of a game
# pgn_directory: "game_records" # A directory where PGN-format records of the bot's games are kept
# pgn_file_grouping: "game" # How to group games into files. Options are "game", "opponent", and "all"
# "game" (default) - every game is written to a different file named "{White name} vs. {Black name} - {lichess game ID}.pgn"
# "opponent" - every game with a given opponent is written to a file named "{Bot name} games vs. {Opponent name}.pgn"
# "all" - every game is written to a single file named "{Bot name} games.pgn"
matchmaking:
allow_matchmaking: false # Set it to 'true' to challenge other bots.
challenge_variant: "random" # If set to 'random', the bot will choose one variant from the variants enabled in 'challenge.variants'.
challenge_timeout: 30 # Create a challenge after being idle for 'challenge_timeout' minutes. The minimum is 1 minute.
challenge_initial_time: # Initial time in seconds of the challenge (to be chosen at random).
- 60
- 180
challenge_increment: # Increment in seconds of the challenge (to be chosen at random).
- 1
- 2
# challenge_days: # Days for correspondence challenge (to be chosen at random).
# - 1
# - 2
# opponent_min_rating: 600 # Opponents rating should be above this value (600 is the minimum rating in lichess).
# opponent_max_rating: 4000 # Opponents rating should be below this value (4000 is the maximum rating in lichess).
opponent_rating_difference: 300 # The maximum difference in rating between the bot's rating and opponent's rating.
rating_preference: "none" # One of "none", "high", "low".
opponent_allow_tos_violation: false # Set to 'true' to allow challenging bots that violated the Lichess Terms of Service.
challenge_mode: "random" # Set it to the mode in which challenges are sent. Possible options are 'casual', 'rated' and 'random'.
challenge_filter: none # If a bot declines a challenge, do not issue a similar challenge to that bot. Possible options are 'none', 'coarse', and 'fine'.
# block_list: # The list of bots that will not be challenged
# - user1
# - user2
# overrides: # List of overrides for the matchmaking specifications above. When a challenge is created, either the default specification above or one of the overrides will be randomly chosen.
# bullet_only_horde: # Name of the override. Can be anything as long as each override has a unique name ("bullet_only_horde" and "easy_chess960" in these examples).
# challenge_variant: "horde" # List of options to override. Only the options mentioned will change when making the challenge. The rest will follow the default matchmaking options above.
# challenge_initial_time:
# - 1
# - 2
# challenge_increment:
# - 0
# - 1
#
# easy_chess960:
# challenge_variant: "chess960"
# opponent_min_rating: 400
# opponent_max_rating: 1200
# opponent_rating_difference:
# challenge_mode: casual
#
# no_pressure_correspondence:
# challenge_initial_time:
# challenge_increment:
# challenge_days:
# - 2
# - 3
# challenge_mode: casual
#
# The following configurations cannot be overridden: allow_matchmaking, challenge_timeout, challenge_filter and block_list.

View File

@@ -12,7 +12,7 @@ from lib.engine_wrapper import MinimalEngine, MOVE
from typing import Any
import logging
from engines import engine
from chesspp.engine import ClassicMctsEngine
# Use this logger variable to print messages to the console or log files.
# logger.info("message") will always print "message" to the console or log file.
@@ -63,7 +63,8 @@ class ComboEngine(ExampleEngine):
This engine demonstrates how one can use `time_limit`, `draw_offered`, and `root_moves`.
"""
def search(self, board: chess.Board, time_limit: Limit, ponder: bool, draw_offered: bool, root_moves: MOVE) -> PlayResult:
def search(self, board: chess.Board, time_limit: Limit, ponder: bool, draw_offered: bool,
root_moves: MOVE) -> PlayResult:
"""
Choose a move using multiple different methods.
@@ -96,20 +97,30 @@ class ComboEngine(ExampleEngine):
return PlayResult(move, None, draw_offered=draw_offered)
class ProbStockfish(MinimalEngine):
# class ProbStockfish(MinimalEngine):
# def search(self, board: chess.Board, time_limit: chess.engine.Limit, ponder: bool, draw_offered: bool,
# root_moves: MOVE) -> chess.engine.PlayResult:
# moves = {}
# untried_moves = list(board.legal_moves)
# for move in untried_moves:
# mean, std = engine.simulate_stockfish_prob(board.copy(), move, 10, 2)
# moves[move] = (mean, std)
# if mean == 100_000 and std == 0:
# return chess.engine.PlayResult(move, None)
#
# return self.get_best_move(moves)
#
# def get_best_move(self, moves: dict) -> chess.engine.PlayResult:
# best_avg = max(moves.items(), key=lambda m: m[1][0])
# next_move = best_avg[0]
# return chess.engine.PlayResult(next_move, None)
class MctsEngine(MinimalEngine):
def search(self, board: chess.Board, time_limit: chess.engine.Limit, ponder: bool, draw_offered: bool,
root_moves: MOVE) -> chess.engine.PlayResult:
moves = {}
untried_moves = list(board.legal_moves)
for move in untried_moves:
mean, std = engine.simulate_stockfish_prob(board.copy(), move, 10, 2)
moves[move] = (mean, std)
if mean == 100_000 and std == 0:
return chess.engine.PlayResult(move, None)
return self.get_best_move(moves)
def get_best_move(self, moves: dict) -> chess.engine.PlayResult:
best_avg = max(moves.items(), key=lambda m: m[1][0])
next_move = best_avg[0]
return chess.engine.PlayResult(next_move, None)
my_engine = ClassicMctsEngine(board.turn)
print("Color:", board.turn)
print("engine play result: ", my_engine.play(board.copy()))
print("Engine name", my_engine)
return my_engine.play(board.copy())

View File

@@ -1,16 +1,16 @@
2024-01-26 16:56:16,511 __main__ (lichess-bot.py:1023) INFO
2024-01-27 22:11:10,124 __main__ (lichess-bot.py:1023) INFO
. _/|
. // o\
. || ._) lichess_bot 2024.1.21.1
. //__\
. )___( Play on Lichess with a bot
2024-01-26 16:56:16,531 lib.config (config.py:261) DEBUG Config:
2024-01-27 22:11:10,145 lib.config (config.py:261) DEBUG Config:
token: logger
url: https://lichess.org/
engine:
dir: ./engines
name: ProbStockfish
name: MctsEngine
working_dir: ''
protocol: homemade
ponder: true
@@ -137,13 +137,13 @@ matchmaking:
challenge_mode: random
challenge_filter: none
2024-01-26 16:56:16,531 lib.config (config.py:262) DEBUG ====================
2024-01-26 16:56:16,536 lib.config (config.py:261) DEBUG Config:
2024-01-27 22:11:10,145 lib.config (config.py:262) DEBUG ====================
2024-01-27 22:11:10,150 lib.config (config.py:261) DEBUG Config:
token: logger
url: https://lichess.org/
engine:
dir: ./engines
name: ProbStockfish
name: MctsEngine
working_dir: /home/luke/projects/pp-project/chess-engine-pp/lichess_bot
protocol: homemade
ponder: true
@@ -282,634 +282,42 @@ matchmaking:
overrides: {}
pgn_file_grouping: game
2024-01-26 16:56:16,536 lib.config (config.py:262) DEBUG ====================
2024-01-26 16:56:16,536 __main__ (lichess-bot.py:1026) INFO Checking engine configuration ...
2024-01-26 16:56:16,586 lib.engine_wrapper (engine_wrapper.py:65) DEBUG Starting engine: ['/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/engines/ProbStockfish']
2024-01-26 16:56:16,586 __main__ (lichess-bot.py:1029) INFO Engine configuration OK
2024-01-26 16:56:16,588 urllib3.connectionpool (connectionpool.py:1052) DEBUG Starting new HTTPS connection (1): lichess.org:443
2024-01-26 16:56:16,733 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/token/test HTTP/1.1" 200 None
2024-01-26 16:56:16,764 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "GET /api/account HTTP/1.1" 200 None
2024-01-26 16:56:16,764 __main__ (lichess-bot.py:1038) INFO Welcome probabilistic-bot!
2024-01-26 16:56:16,765 __main__ (lichess-bot.py:206) INFO You're now connected to https://lichess.org/ and awaiting challenges.
2024-01-26 16:56:17,110 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "GET /api/account/playing HTTP/1.1" 200 None
2024-01-26 16:56:17,365 __main__ (lichess-bot.py:370) DEBUG Event: {'type': 'gameStart', 'game': {'fullId': '4bebkUSq8GI3', 'gameId': '4bebkUSq', 'fen': 'rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1', 'color': 'white', 'lastMove': '', 'source': 'friend', 'status': {'id': 20, 'name': 'started'}, 'variant': {'key': 'standard', 'name': 'Standard'}, 'speed': 'rapid', 'perf': 'rapid', 'rated': False, 'hasMoved': False, 'opponent': {'id': 'luk3k', 'username': 'luk3k', 'rating': 1500}, 'isMyTurn': True, 'secondsLeft': 480, 'compat': {'bot': True, 'board': True}, 'id': '4bebkUSq'}}
2024-01-26 16:56:17,365 __main__ (lichess-bot.py:254) INFO --- Process Used. Count: 1. IDs: {'4bebkUSq'}
2024-01-26 16:56:17,371 urllib3.connectionpool (connectionpool.py:1052) DEBUG Starting new HTTPS connection (1): lichess.org:443
2024-01-26 16:56:17,516 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "GET /api/bot/game/stream/4bebkUSq HTTP/1.1" 200 None
2024-01-26 16:56:17,517 __mp_main__ (lichess-bot.py:572) DEBUG Initial state: {'id': '4bebkUSq', 'variant': {'key': 'standard', 'name': 'Standard', 'short': 'Std'}, 'speed': 'rapid', 'perf': {'name': 'Rapid'}, 'rated': False, 'createdAt': 1706284502377, 'white': {'id': 'probabilistic-bot', 'name': 'probabilistic-bot', 'title': 'BOT', 'rating': 2000, 'provisional': True}, 'black': {'id': 'luk3k', 'name': 'luk3k', 'title': None, 'rating': 1500, 'provisional': True}, 'initialFen': 'startpos', 'clock': {'initial': 480000, 'increment': 3000}, 'type': 'gameFull', 'state': {'type': 'gameState', 'moves': '', 'wtime': 480000, 'btime': 480000, 'winc': 3000, 'binc': 3000, 'status': 'started'}}
2024-01-26 16:56:17,564 lib.engine_wrapper (engine_wrapper.py:65) DEBUG Starting engine: ['/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/engines/ProbStockfish']
2024-01-26 16:56:17,564 __mp_main__ (lichess-bot.py:578) DEBUG The engine for game 4bebkUSq has pid=?
2024-01-26 16:56:17,564 __mp_main__ (lichess-bot.py:581) INFO +++ https://lichess.org/4bebkUSq/white Rapid vs luk3k (1500?) (4bebkUSq)
2024-01-26 16:56:17,564 lib.conversation (conversation.py:83) INFO *** https://lichess.org/4bebkUSq/white [player] probabilistic-bot: Hi! I'm probabilistic-bot. Good luck! Type !help for a list of commands I can respond to.
2024-01-26 16:56:17,565 urllib3.connectionpool (connectionpool.py:1052) DEBUG Starting new HTTPS connection (2): lichess.org:443
2024-01-26 16:56:17,712 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/4bebkUSq/chat HTTP/1.1" 200 11
2024-01-26 16:56:17,713 lib.conversation (conversation.py:83) INFO *** https://lichess.org/4bebkUSq/white [spectator] probabilistic-bot: Hi! I'm probabilistic-bot. Type !help for a list of commands I can respond to.
2024-01-26 16:56:17,746 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/4bebkUSq/chat HTTP/1.1" 200 11
2024-01-26 16:56:17,747 __mp_main__ (lichess-bot.py:688) INFO
2024-01-26 16:56:17,747 __mp_main__ (lichess-bot.py:689) INFO move: 1
2024-01-26 16:56:17,747 lib.engine_wrapper (engine_wrapper.py:650) INFO Searching for time 10 seconds for game 4bebkUSq
2024-01-26 16:56:17,748 asyncio (selector_events.py:54) DEBUG Using selector: EpollSelector
2024-01-26 16:56:17,749 chess.engine (engine.py:124) DEBUG Using PidfdChildWatcher
2024-01-26 16:56:17,750 chess.engine (engine.py:1040) DEBUG <UciProtocol (pid=100788)>: Connection made
2024-01-26 16:56:17,750 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << uci
2024-01-26 16:56:17,751 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> Stockfish 16 by the Stockfish developers (see AUTHORS file)
2024-01-26 16:56:17,869 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> id name Stockfish 16
2024-01-26 16:56:17,870 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> id author the Stockfish developers (see AUTHORS file)
2024-01-26 16:56:17,870 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >>
2024-01-26 16:56:17,870 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> option name Debug Log File type string default
2024-01-26 16:56:17,870 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> option name Threads type spin default 1 min 1 max 1024
2024-01-26 16:56:17,870 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> option name Hash type spin default 16 min 1 max 33554432
2024-01-26 16:56:17,870 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> option name Clear Hash type button
2024-01-26 16:56:17,870 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> option name Ponder type check default false
2024-01-26 16:56:17,870 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> option name MultiPV type spin default 1 min 1 max 500
2024-01-26 16:56:17,871 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> option name Skill Level type spin default 20 min 0 max 20
2024-01-26 16:56:17,871 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> option name Move Overhead type spin default 10 min 0 max 5000
2024-01-26 16:56:17,871 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> option name Slow Mover type spin default 100 min 10 max 1000
2024-01-26 16:56:17,871 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> option name nodestime type spin default 0 min 0 max 10000
2024-01-26 16:56:17,871 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> option name UCI_Chess960 type check default false
2024-01-26 16:56:17,871 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> option name UCI_AnalyseMode type check default false
2024-01-26 16:56:17,871 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> option name UCI_LimitStrength type check default false
2024-01-26 16:56:17,871 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> option name UCI_Elo type spin default 1320 min 1320 max 3190
2024-01-26 16:56:17,871 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> option name UCI_ShowWDL type check default false
2024-01-26 16:56:17,871 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> option name SyzygyPath type string default <empty>
2024-01-26 16:56:17,872 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> option name SyzygyProbeDepth type spin default 1 min 1 max 100
2024-01-26 16:56:17,872 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> option name Syzygy50MoveRule type check default true
2024-01-26 16:56:17,872 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> option name SyzygyProbeLimit type spin default 7 min 0 max 7
2024-01-26 16:56:17,872 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> option name Use NNUE type check default true
2024-01-26 16:56:17,872 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> option name EvalFile type string default nn-5af11540bbfe.nnue
2024-01-26 16:56:17,872 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> uciok
2024-01-26 16:56:17,873 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << ucinewgame
2024-01-26 16:56:17,873 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << isready
2024-01-26 16:56:17,874 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> readyok
2024-01-26 16:56:17,875 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << position startpos moves g1h3
2024-01-26 16:56:17,875 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << go depth 2
2024-01-26 16:56:17,875 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:17,875 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info depth 1 seldepth 1 multipv 1 score cp -5 nodes 20 nps 20000 hashfull 0 tbhits 0 time 1 pv g8f6
2024-01-26 16:56:17,875 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info depth 2 seldepth 2 multipv 1 score cp -5 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv g8f6
2024-01-26 16:56:17,875 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> bestmove g8f6
2024-01-26 16:56:17,876 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << position startpos moves g1h3 g8f6
2024-01-26 16:56:17,876 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << go depth 2
2024-01-26 16:56:17,876 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:17,876 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info depth 1 seldepth 1 multipv 1 score cp -28 nodes 20 nps 20000 hashfull 0 tbhits 0 time 1 pv d2d4
2024-01-26 16:56:17,876 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info depth 2 seldepth 2 multipv 1 score cp -28 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv d2d4
2024-01-26 16:56:17,877 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> bestmove d2d4
2024-01-26 16:56:17,877 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << position startpos moves g1h3 g8f6 d2d4
2024-01-26 16:56:17,877 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << go depth 2
2024-01-26 16:56:17,877 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:17,877 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info depth 1 seldepth 1 multipv 1 score cp -9 nodes 24 nps 12000 hashfull 0 tbhits 0 time 2 pv d7d5
2024-01-26 16:56:17,878 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info depth 2 seldepth 2 multipv 1 score cp -9 nodes 46 nps 23000 hashfull 0 tbhits 0 time 2 pv d7d5
2024-01-26 16:56:17,878 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> bestmove d7d5
2024-01-26 16:56:17,878 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << position startpos moves g1h3 g8f6 d2d4 d7d5
2024-01-26 16:56:17,878 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << go depth 2
2024-01-26 16:56:17,878 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:17,879 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info depth 1 seldepth 1 multipv 1 score cp -59 nodes 48 nps 48000 hashfull 0 tbhits 0 time 1 pv g2g3
2024-01-26 16:56:17,879 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info depth 2 seldepth 2 multipv 1 score cp -59 nodes 78 nps 78000 hashfull 0 tbhits 0 time 1 pv g2g3
2024-01-26 16:56:17,879 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> bestmove g2g3
2024-01-26 16:56:17,879 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3
2024-01-26 16:56:17,879 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << go depth 2
2024-01-26 16:56:17,879 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:17,880 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info depth 1 seldepth 1 multipv 1 score cp 13 nodes 34 nps 34000 hashfull 0 tbhits 0 time 1 pv c7c5
2024-01-26 16:56:17,880 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info depth 2 seldepth 2 multipv 1 score cp 13 nodes 65 nps 65000 hashfull 0 tbhits 0 time 1 pv c7c5
2024-01-26 16:56:17,880 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> bestmove c7c5
2024-01-26 16:56:17,880 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5
2024-01-26 16:56:17,880 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << go depth 2
2024-01-26 16:56:17,881 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:17,881 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info depth 1 seldepth 1 multipv 1 score cp -18 nodes 36 nps 36000 hashfull 0 tbhits 0 time 1 pv d4c5
2024-01-26 16:56:17,881 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info depth 2 seldepth 2 multipv 1 score cp -18 nodes 65 nps 65000 hashfull 0 tbhits 0 time 1 pv d4c5
2024-01-26 16:56:17,881 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> bestmove d4c5
2024-01-26 16:56:17,881 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5
2024-01-26 16:56:17,882 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << go depth 2
2024-01-26 16:56:17,882 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:17,882 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info depth 1 seldepth 1 multipv 1 score cp 525 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv d8a5 b2b4 a5b4 b1c3 b4c3 c1d2
2024-01-26 16:56:17,882 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info depth 2 seldepth 2 multipv 1 score cp 6 nodes 187 nps 187000 hashfull 0 tbhits 0 time 1 pv e7e5
2024-01-26 16:56:17,882 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> bestmove e7e5
2024-01-26 16:56:17,883 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5
2024-01-26 16:56:17,883 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << go depth 2
2024-01-26 16:56:17,883 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:17,883 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info depth 1 seldepth 1 multipv 1 score cp -78 nodes 50 nps 50000 hashfull 0 tbhits 0 time 1 pv f1g2 f8c5
2024-01-26 16:56:17,883 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info depth 2 seldepth 2 multipv 1 score cp -78 nodes 87 nps 87000 hashfull 0 tbhits 0 time 1 pv f1g2 f8c5
2024-01-26 16:56:17,883 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> bestmove f1g2 ponder f8c5
2024-01-26 16:56:17,884 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5 f1g2
2024-01-26 16:56:17,884 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << go depth 2
2024-01-26 16:56:17,884 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:17,884 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info depth 1 seldepth 1 multipv 1 score cp 78 nodes 38 nps 38000 hashfull 0 tbhits 0 time 1 pv f8c5
2024-01-26 16:56:17,884 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info depth 2 seldepth 2 multipv 1 score cp 78 nodes 74 nps 74000 hashfull 0 tbhits 0 time 1 pv f8c5
2024-01-26 16:56:17,884 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> bestmove f8c5
2024-01-26 16:56:17,885 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5 f1g2 f8c5
2024-01-26 16:56:17,885 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << go depth 2
2024-01-26 16:56:17,885 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:17,885 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info depth 1 seldepth 1 multipv 1 score cp -80 nodes 50 nps 50000 hashfull 0 tbhits 0 time 1 pv c2c4
2024-01-26 16:56:17,885 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> info depth 2 seldepth 2 multipv 1 score cp -80 nodes 87 nps 87000 hashfull 0 tbhits 0 time 1 pv c2c4
2024-01-26 16:56:17,885 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100788)>: >> bestmove c2c4
2024-01-26 16:56:17,886 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100788)>: << quit
2024-01-26 16:56:17,890 chess.engine (engine.py:1059) DEBUG <UciProtocol (pid=100788)>: Process exited
2024-01-26 16:56:17,891 chess.engine (engine.py:1046) DEBUG <UciProtocol (pid=100788)>: Connection lost (exit code: 0, error: None)
2024-01-26 16:56:17,891 backoff (_common.py:105) INFO Backing off play_game(...) for 0.4s (TypeError: cannot unpack non-iterable NoneType object)
2024-01-26 16:56:17,891 lib.lichess (lichess.py:63) DEBUG Backing off 0.4 seconds after 1 tries calling function <function play_game at 0x7f265698ed40> with args () and kwargs {'li': <lib.lichess.Lichess object at 0x7f2656999b40>, 'control_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7f265699a920>, 'user_profile': {'id': 'probabilistic-bot', 'username': 'probabilistic-bot', 'perfs': {'blitz': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'bullet': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'correspondence': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'classical': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'rapid': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}}, 'title': 'BOT', 'createdAt': 1706196643794, 'seenAt': 1706284268775, 'playTime': {'total': 1252, 'tv': 0}, 'url': 'https://lichess.org/@/probabilistic-bot', 'playing': 'https://lichess.org/4bebkUSq/white', 'count': {'all': 5, 'rated': 0, 'ai': 0, 'draw': 0, 'drawH': 0, 'loss': 4, 'lossH': 4, 'win': 1, 'winH': 1, 'bookmark': 0, 'playing': 1, 'import': 0, 'me': 0}, 'followable': True, 'following': False, 'blocking': False, 'followsYou': False}, 'config': <lib.config.Configuration object at 0x7f265699a8f0>, 'challenge_queue': <ListProxy object, typeid 'list' at 0x7f265699bc40>, 'correspondence_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7f26569dfd00>, 'logging_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7f26569df9a0>, 'game_id': '4bebkUSq'}
2024-01-26 16:56:17,892 lib.lichess (lichess.py:65) DEBUG Exception: Traceback (most recent call last):
File "/home/luke/projects/pp-project/chess-engine-pp/.venv/lib/python3.10/site-packages/backoff/_sync.py", line 105, in retry
ret = target(*args, **kwargs)
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lichess-bot.py", line 620, in play_game
engine.play_move(board,
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lib/engine_wrapper.py", line 157, in play_move
best_move = self.search(board, time_limit, can_ponder, draw_offered, best_move)
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lib/strategies.py", line 105, in search
mean, std = engine.simulate_game(board.copy(), move, 10)
TypeError: cannot unpack non-iterable NoneType object
2024-01-26 16:56:18,270 urllib3.connectionpool (connectionpool.py:292) DEBUG Resetting dropped connection: lichess.org
2024-01-26 16:56:18,456 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "GET /api/bot/game/stream/4bebkUSq HTTP/1.1" 200 None
2024-01-26 16:56:18,457 __mp_main__ (lichess-bot.py:572) DEBUG Initial state: {'id': '4bebkUSq', 'variant': {'key': 'standard', 'name': 'Standard', 'short': 'Std'}, 'speed': 'rapid', 'perf': {'name': 'Rapid'}, 'rated': False, 'createdAt': 1706284502377, 'white': {'id': 'probabilistic-bot', 'name': 'probabilistic-bot', 'title': 'BOT', 'rating': 2000, 'provisional': True}, 'black': {'id': 'luk3k', 'name': 'luk3k', 'title': None, 'rating': 1500, 'provisional': True}, 'initialFen': 'startpos', 'clock': {'initial': 480000, 'increment': 3000}, 'type': 'gameFull', 'state': {'type': 'gameState', 'moves': '', 'wtime': 480000, 'btime': 480000, 'winc': 3000, 'binc': 3000, 'status': 'started'}}
2024-01-26 16:56:18,457 lib.engine_wrapper (engine_wrapper.py:65) DEBUG Starting engine: ['/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/engines/ProbStockfish']
2024-01-26 16:56:18,457 __mp_main__ (lichess-bot.py:578) DEBUG The engine for game 4bebkUSq has pid=?
2024-01-26 16:56:18,457 __mp_main__ (lichess-bot.py:581) INFO +++ https://lichess.org/4bebkUSq/white Rapid vs luk3k (1500?) (4bebkUSq)
2024-01-26 16:56:18,457 lib.conversation (conversation.py:83) INFO *** https://lichess.org/4bebkUSq/white [player] probabilistic-bot: Hi! I'm probabilistic-bot. Good luck! Type !help for a list of commands I can respond to.
2024-01-26 16:56:18,491 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/4bebkUSq/chat HTTP/1.1" 200 11
2024-01-26 16:56:18,491 lib.conversation (conversation.py:83) INFO *** https://lichess.org/4bebkUSq/white [spectator] probabilistic-bot: Hi! I'm probabilistic-bot. Type !help for a list of commands I can respond to.
2024-01-26 16:56:18,529 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/4bebkUSq/chat HTTP/1.1" 200 11
2024-01-26 16:56:18,529 __mp_main__ (lichess-bot.py:688) INFO
2024-01-26 16:56:18,530 __mp_main__ (lichess-bot.py:689) INFO move: 1
2024-01-26 16:56:18,530 lib.engine_wrapper (engine_wrapper.py:650) INFO Searching for time 10 seconds for game 4bebkUSq
2024-01-26 16:56:18,530 asyncio (selector_events.py:54) DEBUG Using selector: EpollSelector
2024-01-26 16:56:18,532 chess.engine (engine.py:124) DEBUG Using PidfdChildWatcher
2024-01-26 16:56:18,532 chess.engine (engine.py:1040) DEBUG <UciProtocol (pid=100795)>: Connection made
2024-01-26 16:56:18,533 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << uci
2024-01-26 16:56:18,534 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> Stockfish 16 by the Stockfish developers (see AUTHORS file)
2024-01-26 16:56:18,651 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> id name Stockfish 16
2024-01-26 16:56:18,651 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> id author the Stockfish developers (see AUTHORS file)
2024-01-26 16:56:18,651 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >>
2024-01-26 16:56:18,652 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> option name Debug Log File type string default
2024-01-26 16:56:18,652 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> option name Threads type spin default 1 min 1 max 1024
2024-01-26 16:56:18,652 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> option name Hash type spin default 16 min 1 max 33554432
2024-01-26 16:56:18,652 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> option name Clear Hash type button
2024-01-26 16:56:18,652 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> option name Ponder type check default false
2024-01-26 16:56:18,652 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> option name MultiPV type spin default 1 min 1 max 500
2024-01-26 16:56:18,652 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> option name Skill Level type spin default 20 min 0 max 20
2024-01-26 16:56:18,652 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> option name Move Overhead type spin default 10 min 0 max 5000
2024-01-26 16:56:18,652 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> option name Slow Mover type spin default 100 min 10 max 1000
2024-01-26 16:56:18,652 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> option name nodestime type spin default 0 min 0 max 10000
2024-01-26 16:56:18,653 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> option name UCI_Chess960 type check default false
2024-01-26 16:56:18,653 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> option name UCI_AnalyseMode type check default false
2024-01-26 16:56:18,653 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> option name UCI_LimitStrength type check default false
2024-01-26 16:56:18,653 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> option name UCI_Elo type spin default 1320 min 1320 max 3190
2024-01-26 16:56:18,653 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> option name UCI_ShowWDL type check default false
2024-01-26 16:56:18,653 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> option name SyzygyPath type string default <empty>
2024-01-26 16:56:18,653 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> option name SyzygyProbeDepth type spin default 1 min 1 max 100
2024-01-26 16:56:18,653 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> option name Syzygy50MoveRule type check default true
2024-01-26 16:56:18,653 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> option name SyzygyProbeLimit type spin default 7 min 0 max 7
2024-01-26 16:56:18,654 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> option name Use NNUE type check default true
2024-01-26 16:56:18,654 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> option name EvalFile type string default nn-5af11540bbfe.nnue
2024-01-26 16:56:18,654 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> uciok
2024-01-26 16:56:18,654 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << ucinewgame
2024-01-26 16:56:18,655 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << isready
2024-01-26 16:56:18,656 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> readyok
2024-01-26 16:56:18,657 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << position startpos moves g1h3
2024-01-26 16:56:18,657 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << go depth 2
2024-01-26 16:56:18,657 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:18,657 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info depth 1 seldepth 1 multipv 1 score cp -5 nodes 20 nps 20000 hashfull 0 tbhits 0 time 1 pv g8f6
2024-01-26 16:56:18,657 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info depth 2 seldepth 2 multipv 1 score cp -5 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv g8f6
2024-01-26 16:56:18,658 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> bestmove g8f6
2024-01-26 16:56:18,658 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << position startpos moves g1h3 g8f6
2024-01-26 16:56:18,658 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << go depth 2
2024-01-26 16:56:18,659 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:18,659 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info depth 1 seldepth 1 multipv 1 score cp -28 nodes 20 nps 20000 hashfull 0 tbhits 0 time 1 pv d2d4
2024-01-26 16:56:18,659 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info depth 2 seldepth 2 multipv 1 score cp -28 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv d2d4
2024-01-26 16:56:18,659 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> bestmove d2d4
2024-01-26 16:56:18,660 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << position startpos moves g1h3 g8f6 d2d4
2024-01-26 16:56:18,660 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << go depth 2
2024-01-26 16:56:18,660 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:18,660 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info depth 1 seldepth 1 multipv 1 score cp -9 nodes 24 nps 24000 hashfull 0 tbhits 0 time 1 pv d7d5
2024-01-26 16:56:18,661 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info depth 2 seldepth 2 multipv 1 score cp -9 nodes 46 nps 46000 hashfull 0 tbhits 0 time 1 pv d7d5
2024-01-26 16:56:18,661 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> bestmove d7d5
2024-01-26 16:56:18,661 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << position startpos moves g1h3 g8f6 d2d4 d7d5
2024-01-26 16:56:18,662 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << go depth 2
2024-01-26 16:56:18,662 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:18,662 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info depth 1 seldepth 1 multipv 1 score cp -59 nodes 48 nps 48000 hashfull 0 tbhits 0 time 1 pv g2g3
2024-01-26 16:56:18,662 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info depth 2 seldepth 2 multipv 1 score cp -59 nodes 78 nps 78000 hashfull 0 tbhits 0 time 1 pv g2g3
2024-01-26 16:56:18,662 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> bestmove g2g3
2024-01-26 16:56:18,663 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3
2024-01-26 16:56:18,663 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << go depth 2
2024-01-26 16:56:18,663 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:18,663 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info depth 1 seldepth 1 multipv 1 score cp 13 nodes 34 nps 34000 hashfull 0 tbhits 0 time 1 pv c7c5
2024-01-26 16:56:18,664 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info depth 2 seldepth 2 multipv 1 score cp 13 nodes 65 nps 65000 hashfull 0 tbhits 0 time 1 pv c7c5
2024-01-26 16:56:18,664 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> bestmove c7c5
2024-01-26 16:56:18,664 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5
2024-01-26 16:56:18,664 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << go depth 2
2024-01-26 16:56:18,665 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:18,665 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info depth 1 seldepth 1 multipv 1 score cp -18 nodes 36 nps 36000 hashfull 0 tbhits 0 time 1 pv d4c5
2024-01-26 16:56:18,665 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info depth 2 seldepth 2 multipv 1 score cp -18 nodes 65 nps 65000 hashfull 0 tbhits 0 time 1 pv d4c5
2024-01-26 16:56:18,665 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> bestmove d4c5
2024-01-26 16:56:18,666 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5
2024-01-26 16:56:18,666 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << go depth 2
2024-01-26 16:56:18,666 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:18,666 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info depth 1 seldepth 1 multipv 1 score cp 525 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv d8a5 b2b4 a5b4 b1c3 b4c3 c1d2
2024-01-26 16:56:18,666 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info depth 2 seldepth 2 multipv 1 score cp 6 nodes 187 nps 187000 hashfull 0 tbhits 0 time 1 pv e7e5
2024-01-26 16:56:18,667 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> bestmove e7e5
2024-01-26 16:56:18,667 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5
2024-01-26 16:56:18,667 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << go depth 2
2024-01-26 16:56:18,668 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:18,668 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info depth 1 seldepth 1 multipv 1 score cp -78 nodes 50 nps 50000 hashfull 0 tbhits 0 time 1 pv f1g2 f8c5
2024-01-26 16:56:18,668 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info depth 2 seldepth 2 multipv 1 score cp -78 nodes 87 nps 87000 hashfull 0 tbhits 0 time 1 pv f1g2 f8c5
2024-01-26 16:56:18,668 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> bestmove f1g2 ponder f8c5
2024-01-26 16:56:18,669 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5 f1g2
2024-01-26 16:56:18,669 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << go depth 2
2024-01-26 16:56:18,669 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:18,669 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info depth 1 seldepth 1 multipv 1 score cp 78 nodes 38 nps 38000 hashfull 0 tbhits 0 time 1 pv f8c5
2024-01-26 16:56:18,669 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info depth 2 seldepth 2 multipv 1 score cp 78 nodes 74 nps 74000 hashfull 0 tbhits 0 time 1 pv f8c5
2024-01-26 16:56:18,669 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> bestmove f8c5
2024-01-26 16:56:18,670 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5 f1g2 f8c5
2024-01-26 16:56:18,670 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << go depth 2
2024-01-26 16:56:18,671 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:18,671 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info depth 1 seldepth 1 multipv 1 score cp -80 nodes 50 nps 50000 hashfull 0 tbhits 0 time 1 pv c2c4
2024-01-26 16:56:18,671 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> info depth 2 seldepth 2 multipv 1 score cp -80 nodes 87 nps 87000 hashfull 0 tbhits 0 time 1 pv c2c4
2024-01-26 16:56:18,671 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100795)>: >> bestmove c2c4
2024-01-26 16:56:18,671 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100795)>: << quit
2024-01-26 16:56:18,676 chess.engine (engine.py:1059) DEBUG <UciProtocol (pid=100795)>: Process exited
2024-01-26 16:56:18,676 chess.engine (engine.py:1046) DEBUG <UciProtocol (pid=100795)>: Connection lost (exit code: 0, error: None)
2024-01-26 16:56:18,676 backoff (_common.py:105) INFO Backing off play_game(...) for 1.8s (TypeError: cannot unpack non-iterable NoneType object)
2024-01-26 16:56:18,677 lib.lichess (lichess.py:63) DEBUG Backing off 1.8 seconds after 2 tries calling function <function play_game at 0x7f265698ed40> with args () and kwargs {'li': <lib.lichess.Lichess object at 0x7f2656999b40>, 'control_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7f265699a920>, 'user_profile': {'id': 'probabilistic-bot', 'username': 'probabilistic-bot', 'perfs': {'blitz': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'bullet': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'correspondence': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'classical': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'rapid': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}}, 'title': 'BOT', 'createdAt': 1706196643794, 'seenAt': 1706284268775, 'playTime': {'total': 1252, 'tv': 0}, 'url': 'https://lichess.org/@/probabilistic-bot', 'playing': 'https://lichess.org/4bebkUSq/white', 'count': {'all': 5, 'rated': 0, 'ai': 0, 'draw': 0, 'drawH': 0, 'loss': 4, 'lossH': 4, 'win': 1, 'winH': 1, 'bookmark': 0, 'playing': 1, 'import': 0, 'me': 0}, 'followable': True, 'following': False, 'blocking': False, 'followsYou': False}, 'config': <lib.config.Configuration object at 0x7f265699a8f0>, 'challenge_queue': <ListProxy object, typeid 'list' at 0x7f265699bc40>, 'correspondence_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7f26569dfd00>, 'logging_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7f26569df9a0>, 'game_id': '4bebkUSq'}
2024-01-26 16:56:18,677 lib.lichess (lichess.py:65) DEBUG Exception: Traceback (most recent call last):
File "/home/luke/projects/pp-project/chess-engine-pp/.venv/lib/python3.10/site-packages/backoff/_sync.py", line 105, in retry
ret = target(*args, **kwargs)
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lichess-bot.py", line 620, in play_game
engine.play_move(board,
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lib/engine_wrapper.py", line 157, in play_move
best_move = self.search(board, time_limit, can_ponder, draw_offered, best_move)
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lib/strategies.py", line 105, in search
mean, std = engine.simulate_game(board.copy(), move, 10)
TypeError: cannot unpack non-iterable NoneType object
2024-01-26 16:56:20,494 urllib3.connectionpool (connectionpool.py:292) DEBUG Resetting dropped connection: lichess.org
2024-01-26 16:56:20,676 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "GET /api/bot/game/stream/4bebkUSq HTTP/1.1" 200 None
2024-01-26 16:56:20,677 __mp_main__ (lichess-bot.py:572) DEBUG Initial state: {'id': '4bebkUSq', 'variant': {'key': 'standard', 'name': 'Standard', 'short': 'Std'}, 'speed': 'rapid', 'perf': {'name': 'Rapid'}, 'rated': False, 'createdAt': 1706284502377, 'white': {'id': 'probabilistic-bot', 'name': 'probabilistic-bot', 'title': 'BOT', 'rating': 2000, 'provisional': True}, 'black': {'id': 'luk3k', 'name': 'luk3k', 'title': None, 'rating': 1500, 'provisional': True}, 'initialFen': 'startpos', 'clock': {'initial': 480000, 'increment': 3000}, 'type': 'gameFull', 'state': {'type': 'gameState', 'moves': '', 'wtime': 480000, 'btime': 480000, 'winc': 3000, 'binc': 3000, 'status': 'started'}}
2024-01-26 16:56:20,677 lib.engine_wrapper (engine_wrapper.py:65) DEBUG Starting engine: ['/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/engines/ProbStockfish']
2024-01-26 16:56:20,677 __mp_main__ (lichess-bot.py:578) DEBUG The engine for game 4bebkUSq has pid=?
2024-01-26 16:56:20,677 __mp_main__ (lichess-bot.py:581) INFO +++ https://lichess.org/4bebkUSq/white Rapid vs luk3k (1500?) (4bebkUSq)
2024-01-26 16:56:20,678 lib.conversation (conversation.py:83) INFO *** https://lichess.org/4bebkUSq/white [player] probabilistic-bot: Hi! I'm probabilistic-bot. Good luck! Type !help for a list of commands I can respond to.
2024-01-26 16:56:20,712 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/4bebkUSq/chat HTTP/1.1" 200 11
2024-01-26 16:56:20,712 lib.conversation (conversation.py:83) INFO *** https://lichess.org/4bebkUSq/white [spectator] probabilistic-bot: Hi! I'm probabilistic-bot. Type !help for a list of commands I can respond to.
2024-01-26 16:56:20,746 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/4bebkUSq/chat HTTP/1.1" 200 11
2024-01-26 16:56:20,747 __mp_main__ (lichess-bot.py:688) INFO
2024-01-26 16:56:20,747 __mp_main__ (lichess-bot.py:689) INFO move: 1
2024-01-26 16:56:20,747 lib.engine_wrapper (engine_wrapper.py:650) INFO Searching for time 10 seconds for game 4bebkUSq
2024-01-26 16:56:20,748 asyncio (selector_events.py:54) DEBUG Using selector: EpollSelector
2024-01-26 16:56:20,749 chess.engine (engine.py:124) DEBUG Using PidfdChildWatcher
2024-01-26 16:56:20,749 chess.engine (engine.py:1040) DEBUG <UciProtocol (pid=100802)>: Connection made
2024-01-26 16:56:20,750 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << uci
2024-01-26 16:56:20,751 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> Stockfish 16 by the Stockfish developers (see AUTHORS file)
2024-01-26 16:56:20,865 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> id name Stockfish 16
2024-01-26 16:56:20,866 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> id author the Stockfish developers (see AUTHORS file)
2024-01-26 16:56:20,866 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >>
2024-01-26 16:56:20,866 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> option name Debug Log File type string default
2024-01-26 16:56:20,866 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> option name Threads type spin default 1 min 1 max 1024
2024-01-26 16:56:20,866 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> option name Hash type spin default 16 min 1 max 33554432
2024-01-26 16:56:20,866 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> option name Clear Hash type button
2024-01-26 16:56:20,866 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> option name Ponder type check default false
2024-01-26 16:56:20,866 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> option name MultiPV type spin default 1 min 1 max 500
2024-01-26 16:56:20,866 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> option name Skill Level type spin default 20 min 0 max 20
2024-01-26 16:56:20,867 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> option name Move Overhead type spin default 10 min 0 max 5000
2024-01-26 16:56:20,867 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> option name Slow Mover type spin default 100 min 10 max 1000
2024-01-26 16:56:20,867 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> option name nodestime type spin default 0 min 0 max 10000
2024-01-26 16:56:20,867 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> option name UCI_Chess960 type check default false
2024-01-26 16:56:20,867 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> option name UCI_AnalyseMode type check default false
2024-01-26 16:56:20,867 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> option name UCI_LimitStrength type check default false
2024-01-26 16:56:20,867 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> option name UCI_Elo type spin default 1320 min 1320 max 3190
2024-01-26 16:56:20,867 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> option name UCI_ShowWDL type check default false
2024-01-26 16:56:20,867 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> option name SyzygyPath type string default <empty>
2024-01-26 16:56:20,867 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> option name SyzygyProbeDepth type spin default 1 min 1 max 100
2024-01-26 16:56:20,867 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> option name Syzygy50MoveRule type check default true
2024-01-26 16:56:20,868 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> option name SyzygyProbeLimit type spin default 7 min 0 max 7
2024-01-26 16:56:20,868 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> option name Use NNUE type check default true
2024-01-26 16:56:20,868 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> option name EvalFile type string default nn-5af11540bbfe.nnue
2024-01-26 16:56:20,868 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> uciok
2024-01-26 16:56:20,868 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << ucinewgame
2024-01-26 16:56:20,869 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << isready
2024-01-26 16:56:20,870 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> readyok
2024-01-26 16:56:20,871 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << position startpos moves g1h3
2024-01-26 16:56:20,871 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << go depth 2
2024-01-26 16:56:20,871 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:20,871 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info depth 1 seldepth 1 multipv 1 score cp -5 nodes 20 nps 20000 hashfull 0 tbhits 0 time 1 pv g8f6
2024-01-26 16:56:20,871 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info depth 2 seldepth 2 multipv 1 score cp -5 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv g8f6
2024-01-26 16:56:20,872 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> bestmove g8f6
2024-01-26 16:56:20,872 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << position startpos moves g1h3 g8f6
2024-01-26 16:56:20,872 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << go depth 2
2024-01-26 16:56:20,873 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:20,873 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info depth 1 seldepth 1 multipv 1 score cp -28 nodes 20 nps 20000 hashfull 0 tbhits 0 time 1 pv d2d4
2024-01-26 16:56:20,873 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info depth 2 seldepth 2 multipv 1 score cp -28 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv d2d4
2024-01-26 16:56:20,873 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> bestmove d2d4
2024-01-26 16:56:20,874 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << position startpos moves g1h3 g8f6 d2d4
2024-01-26 16:56:20,874 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << go depth 2
2024-01-26 16:56:20,874 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:20,874 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info depth 1 seldepth 1 multipv 1 score cp -9 nodes 24 nps 24000 hashfull 0 tbhits 0 time 1 pv d7d5
2024-01-26 16:56:20,874 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info depth 2 seldepth 2 multipv 1 score cp -9 nodes 46 nps 46000 hashfull 0 tbhits 0 time 1 pv d7d5
2024-01-26 16:56:20,875 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> bestmove d7d5
2024-01-26 16:56:20,875 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << position startpos moves g1h3 g8f6 d2d4 d7d5
2024-01-26 16:56:20,875 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << go depth 2
2024-01-26 16:56:20,876 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:20,876 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info depth 1 seldepth 1 multipv 1 score cp -59 nodes 48 nps 48000 hashfull 0 tbhits 0 time 1 pv g2g3
2024-01-26 16:56:20,876 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info depth 2 seldepth 2 multipv 1 score cp -59 nodes 78 nps 78000 hashfull 0 tbhits 0 time 1 pv g2g3
2024-01-26 16:56:20,876 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> bestmove g2g3
2024-01-26 16:56:20,877 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3
2024-01-26 16:56:20,877 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << go depth 2
2024-01-26 16:56:20,877 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:20,877 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info depth 1 seldepth 1 multipv 1 score cp 13 nodes 34 nps 34000 hashfull 0 tbhits 0 time 1 pv c7c5
2024-01-26 16:56:20,877 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info depth 2 seldepth 2 multipv 1 score cp 13 nodes 65 nps 65000 hashfull 0 tbhits 0 time 1 pv c7c5
2024-01-26 16:56:20,878 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> bestmove c7c5
2024-01-26 16:56:20,878 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5
2024-01-26 16:56:20,879 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << go depth 2
2024-01-26 16:56:20,879 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:20,879 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info depth 1 seldepth 1 multipv 1 score cp -18 nodes 36 nps 36000 hashfull 0 tbhits 0 time 1 pv d4c5
2024-01-26 16:56:20,879 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info depth 2 seldepth 2 multipv 1 score cp -18 nodes 65 nps 65000 hashfull 0 tbhits 0 time 1 pv d4c5
2024-01-26 16:56:20,879 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> bestmove d4c5
2024-01-26 16:56:20,880 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5
2024-01-26 16:56:20,880 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << go depth 2
2024-01-26 16:56:20,880 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:20,881 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info depth 1 seldepth 1 multipv 1 score cp 525 nodes 40 nps 20000 hashfull 0 tbhits 0 time 2 pv d8a5 b2b4 a5b4 b1c3 b4c3 c1d2
2024-01-26 16:56:20,881 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info depth 2 seldepth 2 multipv 1 score cp 6 nodes 187 nps 93500 hashfull 0 tbhits 0 time 2 pv e7e5
2024-01-26 16:56:20,881 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> bestmove e7e5
2024-01-26 16:56:20,881 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5
2024-01-26 16:56:20,882 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << go depth 2
2024-01-26 16:56:20,882 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:20,882 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info depth 1 seldepth 1 multipv 1 score cp -78 nodes 50 nps 50000 hashfull 0 tbhits 0 time 1 pv f1g2 f8c5
2024-01-26 16:56:20,882 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info depth 2 seldepth 2 multipv 1 score cp -78 nodes 87 nps 87000 hashfull 0 tbhits 0 time 1 pv f1g2 f8c5
2024-01-26 16:56:20,882 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> bestmove f1g2 ponder f8c5
2024-01-26 16:56:20,883 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5 f1g2
2024-01-26 16:56:20,883 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << go depth 2
2024-01-26 16:56:20,883 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:20,884 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info depth 1 seldepth 1 multipv 1 score cp 78 nodes 38 nps 38000 hashfull 0 tbhits 0 time 1 pv f8c5
2024-01-26 16:56:20,884 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info depth 2 seldepth 2 multipv 1 score cp 78 nodes 74 nps 74000 hashfull 0 tbhits 0 time 1 pv f8c5
2024-01-26 16:56:20,884 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> bestmove f8c5
2024-01-26 16:56:20,885 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5 f1g2 f8c5
2024-01-26 16:56:20,885 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << go depth 2
2024-01-26 16:56:20,885 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:20,885 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info depth 1 seldepth 1 multipv 1 score cp -80 nodes 50 nps 50000 hashfull 0 tbhits 0 time 1 pv c2c4
2024-01-26 16:56:20,885 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> info depth 2 seldepth 2 multipv 1 score cp -80 nodes 87 nps 87000 hashfull 0 tbhits 0 time 1 pv c2c4
2024-01-26 16:56:20,885 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100802)>: >> bestmove c2c4
2024-01-26 16:56:20,886 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100802)>: << quit
2024-01-26 16:56:20,891 chess.engine (engine.py:1059) DEBUG <UciProtocol (pid=100802)>: Process exited
2024-01-26 16:56:20,891 chess.engine (engine.py:1046) DEBUG <UciProtocol (pid=100802)>: Connection lost (exit code: 0, error: None)
2024-01-26 16:56:20,892 backoff (_common.py:105) INFO Backing off play_game(...) for 3.1s (TypeError: cannot unpack non-iterable NoneType object)
2024-01-26 16:56:20,892 lib.lichess (lichess.py:63) DEBUG Backing off 3.1 seconds after 3 tries calling function <function play_game at 0x7f265698ed40> with args () and kwargs {'li': <lib.lichess.Lichess object at 0x7f2656999b40>, 'control_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7f265699a920>, 'user_profile': {'id': 'probabilistic-bot', 'username': 'probabilistic-bot', 'perfs': {'blitz': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'bullet': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'correspondence': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'classical': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'rapid': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}}, 'title': 'BOT', 'createdAt': 1706196643794, 'seenAt': 1706284268775, 'playTime': {'total': 1252, 'tv': 0}, 'url': 'https://lichess.org/@/probabilistic-bot', 'playing': 'https://lichess.org/4bebkUSq/white', 'count': {'all': 5, 'rated': 0, 'ai': 0, 'draw': 0, 'drawH': 0, 'loss': 4, 'lossH': 4, 'win': 1, 'winH': 1, 'bookmark': 0, 'playing': 1, 'import': 0, 'me': 0}, 'followable': True, 'following': False, 'blocking': False, 'followsYou': False}, 'config': <lib.config.Configuration object at 0x7f265699a8f0>, 'challenge_queue': <ListProxy object, typeid 'list' at 0x7f265699bc40>, 'correspondence_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7f26569dfd00>, 'logging_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7f26569df9a0>, 'game_id': '4bebkUSq'}
2024-01-26 16:56:20,892 lib.lichess (lichess.py:65) DEBUG Exception: Traceback (most recent call last):
File "/home/luke/projects/pp-project/chess-engine-pp/.venv/lib/python3.10/site-packages/backoff/_sync.py", line 105, in retry
ret = target(*args, **kwargs)
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lichess-bot.py", line 620, in play_game
engine.play_move(board,
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lib/engine_wrapper.py", line 157, in play_move
best_move = self.search(board, time_limit, can_ponder, draw_offered, best_move)
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lib/strategies.py", line 105, in search
mean, std = engine.simulate_game(board.copy(), move, 10)
TypeError: cannot unpack non-iterable NoneType object
2024-01-26 16:56:24,027 urllib3.connectionpool (connectionpool.py:292) DEBUG Resetting dropped connection: lichess.org
2024-01-26 16:56:24,209 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "GET /api/bot/game/stream/4bebkUSq HTTP/1.1" 200 None
2024-01-26 16:56:24,210 __mp_main__ (lichess-bot.py:572) DEBUG Initial state: {'id': '4bebkUSq', 'variant': {'key': 'standard', 'name': 'Standard', 'short': 'Std'}, 'speed': 'rapid', 'perf': {'name': 'Rapid'}, 'rated': False, 'createdAt': 1706284502377, 'white': {'id': 'probabilistic-bot', 'name': 'probabilistic-bot', 'title': 'BOT', 'rating': 2000, 'provisional': True}, 'black': {'id': 'luk3k', 'name': 'luk3k', 'title': None, 'rating': 1500, 'provisional': True}, 'initialFen': 'startpos', 'clock': {'initial': 480000, 'increment': 3000}, 'type': 'gameFull', 'state': {'type': 'gameState', 'moves': '', 'wtime': 480000, 'btime': 480000, 'winc': 3000, 'binc': 3000, 'status': 'started'}}
2024-01-26 16:56:24,210 lib.engine_wrapper (engine_wrapper.py:65) DEBUG Starting engine: ['/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/engines/ProbStockfish']
2024-01-26 16:56:24,210 __mp_main__ (lichess-bot.py:578) DEBUG The engine for game 4bebkUSq has pid=?
2024-01-26 16:56:24,211 __mp_main__ (lichess-bot.py:581) INFO +++ https://lichess.org/4bebkUSq/white Rapid vs luk3k (1500?) (4bebkUSq)
2024-01-26 16:56:24,211 lib.conversation (conversation.py:83) INFO *** https://lichess.org/4bebkUSq/white [player] probabilistic-bot: Hi! I'm probabilistic-bot. Good luck! Type !help for a list of commands I can respond to.
2024-01-26 16:56:24,249 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/4bebkUSq/chat HTTP/1.1" 200 11
2024-01-26 16:56:24,249 lib.conversation (conversation.py:83) INFO *** https://lichess.org/4bebkUSq/white [spectator] probabilistic-bot: Hi! I'm probabilistic-bot. Type !help for a list of commands I can respond to.
2024-01-26 16:56:24,304 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/4bebkUSq/chat HTTP/1.1" 200 11
2024-01-26 16:56:24,305 __mp_main__ (lichess-bot.py:688) INFO
2024-01-26 16:56:24,305 __mp_main__ (lichess-bot.py:689) INFO move: 1
2024-01-26 16:56:24,305 lib.engine_wrapper (engine_wrapper.py:650) INFO Searching for time 10 seconds for game 4bebkUSq
2024-01-26 16:56:24,306 asyncio (selector_events.py:54) DEBUG Using selector: EpollSelector
2024-01-26 16:56:24,307 chess.engine (engine.py:124) DEBUG Using PidfdChildWatcher
2024-01-26 16:56:24,308 chess.engine (engine.py:1040) DEBUG <UciProtocol (pid=100811)>: Connection made
2024-01-26 16:56:24,308 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << uci
2024-01-26 16:56:24,310 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> Stockfish 16 by the Stockfish developers (see AUTHORS file)
2024-01-26 16:56:24,429 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> id name Stockfish 16
2024-01-26 16:56:24,429 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> id author the Stockfish developers (see AUTHORS file)
2024-01-26 16:56:24,429 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >>
2024-01-26 16:56:24,429 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> option name Debug Log File type string default
2024-01-26 16:56:24,429 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> option name Threads type spin default 1 min 1 max 1024
2024-01-26 16:56:24,429 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> option name Hash type spin default 16 min 1 max 33554432
2024-01-26 16:56:24,429 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> option name Clear Hash type button
2024-01-26 16:56:24,429 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> option name Ponder type check default false
2024-01-26 16:56:24,429 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> option name MultiPV type spin default 1 min 1 max 500
2024-01-26 16:56:24,429 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> option name Skill Level type spin default 20 min 0 max 20
2024-01-26 16:56:24,429 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> option name Move Overhead type spin default 10 min 0 max 5000
2024-01-26 16:56:24,430 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> option name Slow Mover type spin default 100 min 10 max 1000
2024-01-26 16:56:24,430 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> option name nodestime type spin default 0 min 0 max 10000
2024-01-26 16:56:24,430 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> option name UCI_Chess960 type check default false
2024-01-26 16:56:24,430 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> option name UCI_AnalyseMode type check default false
2024-01-26 16:56:24,430 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> option name UCI_LimitStrength type check default false
2024-01-26 16:56:24,430 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> option name UCI_Elo type spin default 1320 min 1320 max 3190
2024-01-26 16:56:24,430 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> option name UCI_ShowWDL type check default false
2024-01-26 16:56:24,430 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> option name SyzygyPath type string default <empty>
2024-01-26 16:56:24,431 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> option name SyzygyProbeDepth type spin default 1 min 1 max 100
2024-01-26 16:56:24,431 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> option name Syzygy50MoveRule type check default true
2024-01-26 16:56:24,431 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> option name SyzygyProbeLimit type spin default 7 min 0 max 7
2024-01-26 16:56:24,431 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> option name Use NNUE type check default true
2024-01-26 16:56:24,431 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> option name EvalFile type string default nn-5af11540bbfe.nnue
2024-01-26 16:56:24,431 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> uciok
2024-01-26 16:56:24,432 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << ucinewgame
2024-01-26 16:56:24,432 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << isready
2024-01-26 16:56:24,434 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> readyok
2024-01-26 16:56:24,434 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << position startpos moves g1h3
2024-01-26 16:56:24,434 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << go depth 2
2024-01-26 16:56:24,434 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:24,435 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info depth 1 seldepth 1 multipv 1 score cp -5 nodes 20 nps 20000 hashfull 0 tbhits 0 time 1 pv g8f6
2024-01-26 16:56:24,435 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info depth 2 seldepth 2 multipv 1 score cp -5 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv g8f6
2024-01-26 16:56:24,435 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> bestmove g8f6
2024-01-26 16:56:24,436 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << position startpos moves g1h3 g8f6
2024-01-26 16:56:24,436 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << go depth 2
2024-01-26 16:56:24,436 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:24,436 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info depth 1 seldepth 1 multipv 1 score cp -28 nodes 20 nps 20000 hashfull 0 tbhits 0 time 1 pv d2d4
2024-01-26 16:56:24,436 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info depth 2 seldepth 2 multipv 1 score cp -28 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv d2d4
2024-01-26 16:56:24,436 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> bestmove d2d4
2024-01-26 16:56:24,437 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << position startpos moves g1h3 g8f6 d2d4
2024-01-26 16:56:24,437 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << go depth 2
2024-01-26 16:56:24,438 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:24,438 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info depth 1 seldepth 1 multipv 1 score cp -9 nodes 24 nps 24000 hashfull 0 tbhits 0 time 1 pv d7d5
2024-01-26 16:56:24,438 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info depth 2 seldepth 2 multipv 1 score cp -9 nodes 46 nps 46000 hashfull 0 tbhits 0 time 1 pv d7d5
2024-01-26 16:56:24,438 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> bestmove d7d5
2024-01-26 16:56:24,439 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << position startpos moves g1h3 g8f6 d2d4 d7d5
2024-01-26 16:56:24,439 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << go depth 2
2024-01-26 16:56:24,439 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:24,439 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info depth 1 seldepth 1 multipv 1 score cp -59 nodes 48 nps 48000 hashfull 0 tbhits 0 time 1 pv g2g3
2024-01-26 16:56:24,439 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info depth 2 seldepth 2 multipv 1 score cp -59 nodes 78 nps 78000 hashfull 0 tbhits 0 time 1 pv g2g3
2024-01-26 16:56:24,439 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> bestmove g2g3
2024-01-26 16:56:24,440 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3
2024-01-26 16:56:24,440 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << go depth 2
2024-01-26 16:56:24,441 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:24,441 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info depth 1 seldepth 1 multipv 1 score cp 13 nodes 34 nps 34000 hashfull 0 tbhits 0 time 1 pv c7c5
2024-01-26 16:56:24,441 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info depth 2 seldepth 2 multipv 1 score cp 13 nodes 65 nps 65000 hashfull 0 tbhits 0 time 1 pv c7c5
2024-01-26 16:56:24,441 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> bestmove c7c5
2024-01-26 16:56:24,442 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5
2024-01-26 16:56:24,442 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << go depth 2
2024-01-26 16:56:24,442 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:24,442 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info depth 1 seldepth 1 multipv 1 score cp -18 nodes 36 nps 36000 hashfull 0 tbhits 0 time 1 pv d4c5
2024-01-26 16:56:24,442 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info depth 2 seldepth 2 multipv 1 score cp -18 nodes 65 nps 65000 hashfull 0 tbhits 0 time 1 pv d4c5
2024-01-26 16:56:24,442 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> bestmove d4c5
2024-01-26 16:56:24,443 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5
2024-01-26 16:56:24,443 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << go depth 2
2024-01-26 16:56:24,444 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:24,444 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info depth 1 seldepth 1 multipv 1 score cp 525 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv d8a5 b2b4 a5b4 b1c3 b4c3 c1d2
2024-01-26 16:56:24,444 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info depth 2 seldepth 2 multipv 1 score cp 6 nodes 187 nps 187000 hashfull 0 tbhits 0 time 1 pv e7e5
2024-01-26 16:56:24,444 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> bestmove e7e5
2024-01-26 16:56:24,445 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5
2024-01-26 16:56:24,445 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << go depth 2
2024-01-26 16:56:24,445 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:24,445 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info depth 1 seldepth 1 multipv 1 score cp -78 nodes 50 nps 50000 hashfull 0 tbhits 0 time 1 pv f1g2 f8c5
2024-01-26 16:56:24,445 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info depth 2 seldepth 2 multipv 1 score cp -78 nodes 87 nps 87000 hashfull 0 tbhits 0 time 1 pv f1g2 f8c5
2024-01-26 16:56:24,446 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> bestmove f1g2 ponder f8c5
2024-01-26 16:56:24,446 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5 f1g2
2024-01-26 16:56:24,447 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << go depth 2
2024-01-26 16:56:24,447 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:24,447 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info depth 1 seldepth 1 multipv 1 score cp 78 nodes 38 nps 38000 hashfull 0 tbhits 0 time 1 pv f8c5
2024-01-26 16:56:24,447 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info depth 2 seldepth 2 multipv 1 score cp 78 nodes 74 nps 74000 hashfull 0 tbhits 0 time 1 pv f8c5
2024-01-26 16:56:24,447 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> bestmove f8c5
2024-01-26 16:56:24,448 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5 f1g2 f8c5
2024-01-26 16:56:24,448 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << go depth 2
2024-01-26 16:56:24,448 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:24,449 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info depth 1 seldepth 1 multipv 1 score cp -80 nodes 50 nps 50000 hashfull 0 tbhits 0 time 1 pv c2c4
2024-01-26 16:56:24,449 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> info depth 2 seldepth 2 multipv 1 score cp -80 nodes 87 nps 87000 hashfull 0 tbhits 0 time 1 pv c2c4
2024-01-26 16:56:24,449 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100811)>: >> bestmove c2c4
2024-01-26 16:56:24,449 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100811)>: << quit
2024-01-26 16:56:24,454 chess.engine (engine.py:1059) DEBUG <UciProtocol (pid=100811)>: Process exited
2024-01-26 16:56:24,454 chess.engine (engine.py:1046) DEBUG <UciProtocol (pid=100811)>: Connection lost (exit code: 0, error: None)
2024-01-26 16:56:24,454 backoff (_common.py:105) INFO Backing off play_game(...) for 2.8s (TypeError: cannot unpack non-iterable NoneType object)
2024-01-26 16:56:24,455 lib.lichess (lichess.py:63) DEBUG Backing off 2.8 seconds after 4 tries calling function <function play_game at 0x7f265698ed40> with args () and kwargs {'li': <lib.lichess.Lichess object at 0x7f2656999b40>, 'control_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7f265699a920>, 'user_profile': {'id': 'probabilistic-bot', 'username': 'probabilistic-bot', 'perfs': {'blitz': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'bullet': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'correspondence': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'classical': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'rapid': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}}, 'title': 'BOT', 'createdAt': 1706196643794, 'seenAt': 1706284268775, 'playTime': {'total': 1252, 'tv': 0}, 'url': 'https://lichess.org/@/probabilistic-bot', 'playing': 'https://lichess.org/4bebkUSq/white', 'count': {'all': 5, 'rated': 0, 'ai': 0, 'draw': 0, 'drawH': 0, 'loss': 4, 'lossH': 4, 'win': 1, 'winH': 1, 'bookmark': 0, 'playing': 1, 'import': 0, 'me': 0}, 'followable': True, 'following': False, 'blocking': False, 'followsYou': False}, 'config': <lib.config.Configuration object at 0x7f265699a8f0>, 'challenge_queue': <ListProxy object, typeid 'list' at 0x7f265699bc40>, 'correspondence_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7f26569dfd00>, 'logging_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7f26569df9a0>, 'game_id': '4bebkUSq'}
2024-01-26 16:56:24,455 lib.lichess (lichess.py:65) DEBUG Exception: Traceback (most recent call last):
File "/home/luke/projects/pp-project/chess-engine-pp/.venv/lib/python3.10/site-packages/backoff/_sync.py", line 105, in retry
ret = target(*args, **kwargs)
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lichess-bot.py", line 620, in play_game
engine.play_move(board,
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lib/engine_wrapper.py", line 157, in play_move
best_move = self.search(board, time_limit, can_ponder, draw_offered, best_move)
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lib/strategies.py", line 105, in search
mean, std = engine.simulate_game(board.copy(), move, 10)
TypeError: cannot unpack non-iterable NoneType object
2024-01-26 16:56:27,307 urllib3.connectionpool (connectionpool.py:292) DEBUG Resetting dropped connection: lichess.org
2024-01-26 16:56:27,499 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "GET /api/bot/game/stream/4bebkUSq HTTP/1.1" 200 None
2024-01-26 16:56:27,499 __mp_main__ (lichess-bot.py:572) DEBUG Initial state: {'id': '4bebkUSq', 'variant': {'key': 'standard', 'name': 'Standard', 'short': 'Std'}, 'speed': 'rapid', 'perf': {'name': 'Rapid'}, 'rated': False, 'createdAt': 1706284502377, 'white': {'id': 'probabilistic-bot', 'name': 'probabilistic-bot', 'title': 'BOT', 'rating': 2000, 'provisional': True}, 'black': {'id': 'luk3k', 'name': 'luk3k', 'title': None, 'rating': 1500, 'provisional': True}, 'initialFen': 'startpos', 'clock': {'initial': 480000, 'increment': 3000}, 'type': 'gameFull', 'state': {'type': 'gameState', 'moves': '', 'wtime': 480000, 'btime': 480000, 'winc': 3000, 'binc': 3000, 'status': 'started'}}
2024-01-26 16:56:27,499 lib.engine_wrapper (engine_wrapper.py:65) DEBUG Starting engine: ['/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/engines/ProbStockfish']
2024-01-26 16:56:27,499 __mp_main__ (lichess-bot.py:578) DEBUG The engine for game 4bebkUSq has pid=?
2024-01-26 16:56:27,500 __mp_main__ (lichess-bot.py:581) INFO +++ https://lichess.org/4bebkUSq/white Rapid vs luk3k (1500?) (4bebkUSq)
2024-01-26 16:56:27,500 lib.conversation (conversation.py:83) INFO *** https://lichess.org/4bebkUSq/white [player] probabilistic-bot: Hi! I'm probabilistic-bot. Good luck! Type !help for a list of commands I can respond to.
2024-01-26 16:56:27,535 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/4bebkUSq/chat HTTP/1.1" 200 11
2024-01-26 16:56:27,535 lib.conversation (conversation.py:83) INFO *** https://lichess.org/4bebkUSq/white [spectator] probabilistic-bot: Hi! I'm probabilistic-bot. Type !help for a list of commands I can respond to.
2024-01-26 16:56:27,571 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/4bebkUSq/chat HTTP/1.1" 200 11
2024-01-26 16:56:27,571 __mp_main__ (lichess-bot.py:688) INFO
2024-01-26 16:56:27,572 __mp_main__ (lichess-bot.py:689) INFO move: 1
2024-01-26 16:56:27,572 lib.engine_wrapper (engine_wrapper.py:650) INFO Searching for time 10 seconds for game 4bebkUSq
2024-01-26 16:56:27,572 asyncio (selector_events.py:54) DEBUG Using selector: EpollSelector
2024-01-26 16:56:27,573 chess.engine (engine.py:124) DEBUG Using PidfdChildWatcher
2024-01-26 16:56:27,574 chess.engine (engine.py:1040) DEBUG <UciProtocol (pid=100820)>: Connection made
2024-01-26 16:56:27,574 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << uci
2024-01-26 16:56:27,576 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> Stockfish 16 by the Stockfish developers (see AUTHORS file)
2024-01-26 16:56:27,695 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> id name Stockfish 16
2024-01-26 16:56:27,696 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> id author the Stockfish developers (see AUTHORS file)
2024-01-26 16:56:27,696 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >>
2024-01-26 16:56:27,696 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> option name Debug Log File type string default
2024-01-26 16:56:27,696 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> option name Threads type spin default 1 min 1 max 1024
2024-01-26 16:56:27,696 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> option name Hash type spin default 16 min 1 max 33554432
2024-01-26 16:56:27,697 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> option name Clear Hash type button
2024-01-26 16:56:27,697 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> option name Ponder type check default false
2024-01-26 16:56:27,697 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> option name MultiPV type spin default 1 min 1 max 500
2024-01-26 16:56:27,697 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> option name Skill Level type spin default 20 min 0 max 20
2024-01-26 16:56:27,697 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> option name Move Overhead type spin default 10 min 0 max 5000
2024-01-26 16:56:27,697 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> option name Slow Mover type spin default 100 min 10 max 1000
2024-01-26 16:56:27,697 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> option name nodestime type spin default 0 min 0 max 10000
2024-01-26 16:56:27,698 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> option name UCI_Chess960 type check default false
2024-01-26 16:56:27,698 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> option name UCI_AnalyseMode type check default false
2024-01-26 16:56:27,698 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> option name UCI_LimitStrength type check default false
2024-01-26 16:56:27,698 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> option name UCI_Elo type spin default 1320 min 1320 max 3190
2024-01-26 16:56:27,698 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> option name UCI_ShowWDL type check default false
2024-01-26 16:56:27,698 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> option name SyzygyPath type string default <empty>
2024-01-26 16:56:27,698 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> option name SyzygyProbeDepth type spin default 1 min 1 max 100
2024-01-26 16:56:27,698 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> option name Syzygy50MoveRule type check default true
2024-01-26 16:56:27,699 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> option name SyzygyProbeLimit type spin default 7 min 0 max 7
2024-01-26 16:56:27,699 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> option name Use NNUE type check default true
2024-01-26 16:56:27,699 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> option name EvalFile type string default nn-5af11540bbfe.nnue
2024-01-26 16:56:27,699 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> uciok
2024-01-26 16:56:27,700 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << ucinewgame
2024-01-26 16:56:27,700 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << isready
2024-01-26 16:56:27,702 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> readyok
2024-01-26 16:56:27,702 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << position startpos moves g1h3
2024-01-26 16:56:27,702 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << go depth 2
2024-01-26 16:56:27,702 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:27,702 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info depth 1 seldepth 1 multipv 1 score cp -5 nodes 20 nps 20000 hashfull 0 tbhits 0 time 1 pv g8f6
2024-01-26 16:56:27,702 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info depth 2 seldepth 2 multipv 1 score cp -5 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv g8f6
2024-01-26 16:56:27,703 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> bestmove g8f6
2024-01-26 16:56:27,703 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << position startpos moves g1h3 g8f6
2024-01-26 16:56:27,703 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << go depth 2
2024-01-26 16:56:27,704 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:27,704 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info depth 1 seldepth 1 multipv 1 score cp -28 nodes 20 nps 20000 hashfull 0 tbhits 0 time 1 pv d2d4
2024-01-26 16:56:27,704 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info depth 2 seldepth 2 multipv 1 score cp -28 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv d2d4
2024-01-26 16:56:27,704 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> bestmove d2d4
2024-01-26 16:56:27,704 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << position startpos moves g1h3 g8f6 d2d4
2024-01-26 16:56:27,705 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << go depth 2
2024-01-26 16:56:27,705 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:27,705 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info depth 1 seldepth 1 multipv 1 score cp -9 nodes 24 nps 24000 hashfull 0 tbhits 0 time 1 pv d7d5
2024-01-26 16:56:27,705 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info depth 2 seldepth 2 multipv 1 score cp -9 nodes 46 nps 46000 hashfull 0 tbhits 0 time 1 pv d7d5
2024-01-26 16:56:27,705 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> bestmove d7d5
2024-01-26 16:56:27,706 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << position startpos moves g1h3 g8f6 d2d4 d7d5
2024-01-26 16:56:27,706 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << go depth 2
2024-01-26 16:56:27,706 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:27,706 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info depth 1 seldepth 1 multipv 1 score cp -59 nodes 48 nps 48000 hashfull 0 tbhits 0 time 1 pv g2g3
2024-01-26 16:56:27,706 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info depth 2 seldepth 2 multipv 1 score cp -59 nodes 78 nps 78000 hashfull 0 tbhits 0 time 1 pv g2g3
2024-01-26 16:56:27,707 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> bestmove g2g3
2024-01-26 16:56:27,707 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3
2024-01-26 16:56:27,707 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << go depth 2
2024-01-26 16:56:27,707 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:27,707 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info depth 1 seldepth 1 multipv 1 score cp 13 nodes 34 nps 17000 hashfull 0 tbhits 0 time 2 pv c7c5
2024-01-26 16:56:27,708 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info depth 2 seldepth 2 multipv 1 score cp 13 nodes 65 nps 32500 hashfull 0 tbhits 0 time 2 pv c7c5
2024-01-26 16:56:27,708 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> bestmove c7c5
2024-01-26 16:56:27,708 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5
2024-01-26 16:56:27,708 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << go depth 2
2024-01-26 16:56:27,708 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:27,708 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info depth 1 seldepth 1 multipv 1 score cp -18 nodes 36 nps 18000 hashfull 0 tbhits 0 time 2 pv d4c5
2024-01-26 16:56:27,709 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info depth 2 seldepth 2 multipv 1 score cp -18 nodes 65 nps 32500 hashfull 0 tbhits 0 time 2 pv d4c5
2024-01-26 16:56:27,709 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> bestmove d4c5
2024-01-26 16:56:27,709 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5
2024-01-26 16:56:27,709 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << go depth 2
2024-01-26 16:56:27,709 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:27,709 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info depth 1 seldepth 1 multipv 1 score cp 525 nodes 40 nps 20000 hashfull 0 tbhits 0 time 2 pv d8a5 b2b4 a5b4 b1c3 b4c3 c1d2
2024-01-26 16:56:27,710 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info depth 2 seldepth 2 multipv 1 score cp 6 nodes 187 nps 93500 hashfull 0 tbhits 0 time 2 pv e7e5
2024-01-26 16:56:27,710 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> bestmove e7e5
2024-01-26 16:56:27,710 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5
2024-01-26 16:56:27,710 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << go depth 2
2024-01-26 16:56:27,710 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:27,711 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info depth 1 seldepth 1 multipv 1 score cp -78 nodes 50 nps 50000 hashfull 0 tbhits 0 time 1 pv f1g2 f8c5
2024-01-26 16:56:27,711 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info depth 2 seldepth 2 multipv 1 score cp -78 nodes 87 nps 87000 hashfull 0 tbhits 0 time 1 pv f1g2 f8c5
2024-01-26 16:56:27,711 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> bestmove f1g2 ponder f8c5
2024-01-26 16:56:27,711 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5 f1g2
2024-01-26 16:56:27,711 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << go depth 2
2024-01-26 16:56:27,712 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:27,712 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info depth 1 seldepth 1 multipv 1 score cp 78 nodes 38 nps 38000 hashfull 0 tbhits 0 time 1 pv f8c5
2024-01-26 16:56:27,712 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info depth 2 seldepth 2 multipv 1 score cp 78 nodes 74 nps 74000 hashfull 0 tbhits 0 time 1 pv f8c5
2024-01-26 16:56:27,712 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> bestmove f8c5
2024-01-26 16:56:27,712 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5 f1g2 f8c5
2024-01-26 16:56:27,712 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << go depth 2
2024-01-26 16:56:27,713 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:27,713 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info depth 1 seldepth 1 multipv 1 score cp -80 nodes 50 nps 50000 hashfull 0 tbhits 0 time 1 pv c2c4
2024-01-26 16:56:27,713 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> info depth 2 seldepth 2 multipv 1 score cp -80 nodes 87 nps 87000 hashfull 0 tbhits 0 time 1 pv c2c4
2024-01-26 16:56:27,713 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100820)>: >> bestmove c2c4
2024-01-26 16:56:27,713 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100820)>: << quit
2024-01-26 16:56:27,717 chess.engine (engine.py:1059) DEBUG <UciProtocol (pid=100820)>: Process exited
2024-01-26 16:56:27,718 chess.engine (engine.py:1046) DEBUG <UciProtocol (pid=100820)>: Connection lost (exit code: 0, error: None)
2024-01-26 16:56:27,718 backoff (_common.py:105) INFO Backing off play_game(...) for 5.4s (TypeError: cannot unpack non-iterable NoneType object)
2024-01-26 16:56:27,718 lib.lichess (lichess.py:63) DEBUG Backing off 5.4 seconds after 5 tries calling function <function play_game at 0x7f265698ed40> with args () and kwargs {'li': <lib.lichess.Lichess object at 0x7f2656999b40>, 'control_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7f265699a920>, 'user_profile': {'id': 'probabilistic-bot', 'username': 'probabilistic-bot', 'perfs': {'blitz': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'bullet': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'correspondence': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'classical': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'rapid': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}}, 'title': 'BOT', 'createdAt': 1706196643794, 'seenAt': 1706284268775, 'playTime': {'total': 1252, 'tv': 0}, 'url': 'https://lichess.org/@/probabilistic-bot', 'playing': 'https://lichess.org/4bebkUSq/white', 'count': {'all': 5, 'rated': 0, 'ai': 0, 'draw': 0, 'drawH': 0, 'loss': 4, 'lossH': 4, 'win': 1, 'winH': 1, 'bookmark': 0, 'playing': 1, 'import': 0, 'me': 0}, 'followable': True, 'following': False, 'blocking': False, 'followsYou': False}, 'config': <lib.config.Configuration object at 0x7f265699a8f0>, 'challenge_queue': <ListProxy object, typeid 'list' at 0x7f265699bc40>, 'correspondence_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7f26569dfd00>, 'logging_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7f26569df9a0>, 'game_id': '4bebkUSq'}
2024-01-26 16:56:27,719 lib.lichess (lichess.py:65) DEBUG Exception: Traceback (most recent call last):
File "/home/luke/projects/pp-project/chess-engine-pp/.venv/lib/python3.10/site-packages/backoff/_sync.py", line 105, in retry
ret = target(*args, **kwargs)
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lichess-bot.py", line 620, in play_game
engine.play_move(board,
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lib/engine_wrapper.py", line 157, in play_move
best_move = self.search(board, time_limit, can_ponder, draw_offered, best_move)
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lib/strategies.py", line 105, in search
mean, std = engine.simulate_game(board.copy(), move, 10)
TypeError: cannot unpack non-iterable NoneType object
2024-01-26 16:56:28,831 __main__ (lichess-bot.py:370) DEBUG Event: {'type': 'gameFinish', 'game': {'fullId': '4bebkUSq8GI3', 'gameId': '4bebkUSq', 'fen': 'rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1', 'color': 'white', 'lastMove': '', 'source': 'friend', 'status': {'id': 25, 'name': 'aborted'}, 'variant': {'key': 'standard', 'name': 'Standard'}, 'speed': 'rapid', 'perf': 'rapid', 'rated': False, 'hasMoved': False, 'opponent': {'id': 'luk3k', 'username': 'luk3k', 'rating': 1500}, 'isMyTurn': False, 'secondsLeft': 480, 'compat': {'bot': True, 'board': True}, 'id': '4bebkUSq'}}
2024-01-26 16:56:33,167 urllib3.connectionpool (connectionpool.py:292) DEBUG Resetting dropped connection: lichess.org
2024-01-26 16:56:33,237 __mp_main__ (lichess-bot.py:65) DEBUG Received SIGINT. Terminating client.
2024-01-26 16:56:33,281 __mp_main__ (lichess-bot.py:65) DEBUG Received SIGINT. Terminating client.
2024-01-26 16:56:33,378 __main__ (lichess-bot.py:1091) ERROR Quitting lichess_bot due to an error:
2024-01-27 22:11:10,150 lib.config (config.py:262) DEBUG ====================
2024-01-27 22:11:10,150 __main__ (lichess-bot.py:1026) INFO Checking engine configuration ...
2024-01-27 22:11:10,199 lib.engine_wrapper (engine_wrapper.py:65) DEBUG Starting engine: ['/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/engines/MctsEngine']
2024-01-27 22:11:10,199 __main__ (lichess-bot.py:1029) INFO Engine configuration OK
2024-01-27 22:11:10,201 urllib3.connectionpool (connectionpool.py:1052) DEBUG Starting new HTTPS connection (1): lichess.org:443
2024-01-27 22:11:10,344 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/token/test HTTP/1.1" 200 None
2024-01-27 22:11:10,376 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "GET /api/account HTTP/1.1" 200 None
2024-01-27 22:11:10,376 __main__ (lichess-bot.py:1038) INFO Welcome probabilistic-bot!
2024-01-27 22:11:10,377 __main__ (lichess-bot.py:206) INFO You're now connected to https://lichess.org/ and awaiting challenges.
2024-01-27 22:11:10,630 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "GET /api/account/playing HTTP/1.1" 200 None
2024-01-27 22:11:10,980 __main__ (lichess-bot.py:370) DEBUG Event: {'type': 'gameStart', 'game': {'fullId': 'ki4gFNqkIdEg', 'gameId': 'ki4gFNqk', 'fen': 'rnbqkbnr/pppppppp/8/8/3P4/8/PPP1PPPP/RNBQKBNR b KQkq - 0 1', 'color': 'black', 'lastMove': 'd2d4', 'source': 'friend', 'status': {'id': 20, 'name': 'started'}, 'variant': {'key': 'standard', 'name': 'Standard'}, 'speed': 'blitz', 'perf': 'blitz', 'rated': False, 'hasMoved': False, 'opponent': {'id': 'luk3k', 'username': 'luk3k', 'rating': 1500}, 'isMyTurn': True, 'secondsLeft': 300, 'compat': {'bot': True, 'board': True}, 'id': 'ki4gFNqk'}}
2024-01-27 22:11:10,980 __main__ (lichess-bot.py:254) INFO --- Process Used. Count: 1. IDs: {'ki4gFNqk'}
2024-01-27 22:11:10,986 urllib3.connectionpool (connectionpool.py:1052) DEBUG Starting new HTTPS connection (1): lichess.org:443
2024-01-27 22:11:11,146 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "GET /api/bot/game/stream/ki4gFNqk HTTP/1.1" 200 None
2024-01-27 22:11:11,147 __mp_main__ (lichess-bot.py:572) DEBUG Initial state: {'id': 'ki4gFNqk', 'variant': {'key': 'standard', 'name': 'Standard', 'short': 'Std'}, 'speed': 'blitz', 'perf': {'name': 'Blitz'}, 'rated': False, 'createdAt': 1706389046389, 'white': {'id': 'luk3k', 'name': 'luk3k', 'title': None, 'rating': 1500, 'provisional': True}, 'black': {'id': 'probabilistic-bot', 'name': 'probabilistic-bot', 'title': 'BOT', 'rating': 2000, 'provisional': True}, 'initialFen': 'startpos', 'clock': {'initial': 300000, 'increment': 3000}, 'type': 'gameFull', 'state': {'type': 'gameState', 'moves': 'd2d4', 'wtime': 300000, 'btime': 300000, 'winc': 3000, 'binc': 3000, 'status': 'started'}}
2024-01-27 22:11:11,194 lib.engine_wrapper (engine_wrapper.py:65) DEBUG Starting engine: ['/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/engines/MctsEngine']
2024-01-27 22:11:11,194 __mp_main__ (lichess-bot.py:578) DEBUG The engine for game ki4gFNqk has pid=?
2024-01-27 22:11:11,194 __mp_main__ (lichess-bot.py:581) INFO +++ https://lichess.org/ki4gFNqk/black Blitz vs luk3k (1500?) (ki4gFNqk)
2024-01-27 22:11:11,195 lib.conversation (conversation.py:83) INFO *** https://lichess.org/ki4gFNqk/black [player] probabilistic-bot: Hi! I'm probabilistic-bot. Good luck! Type !help for a list of commands I can respond to.
2024-01-27 22:11:11,195 urllib3.connectionpool (connectionpool.py:1052) DEBUG Starting new HTTPS connection (2): lichess.org:443
2024-01-27 22:11:11,335 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/ki4gFNqk/chat HTTP/1.1" 200 11
2024-01-27 22:11:11,335 lib.conversation (conversation.py:83) INFO *** https://lichess.org/ki4gFNqk/black [spectator] probabilistic-bot: Hi! I'm probabilistic-bot. Type !help for a list of commands I can respond to.
2024-01-27 22:11:11,363 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/ki4gFNqk/chat HTTP/1.1" 200 11
2024-01-27 22:11:11,364 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:11:11,364 __mp_main__ (lichess-bot.py:689) INFO move: 1
2024-01-27 22:11:11,364 lib.engine_wrapper (engine_wrapper.py:650) INFO Searching for time 10 seconds for game ki4gFNqk
2024-01-27 22:11:17,153 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:11:17,187 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/ki4gFNqk/move/b8a6?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:11:17,187 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'chatLine', 'room': 'player', 'username': 'probabilistic-bot', 'text': "Hi! I'm probabilistic-bot. Good luck! Type !help for a list of commands I can respond to."}
2024-01-27 22:11:17,188 lib.conversation (conversation.py:42) INFO *** https://lichess.org/ki4gFNqk/black [player] probabilistic-bot: Hi! I'm probabilistic-bot. Good luck! Type !help for a list of commands I can respond to.
2024-01-27 22:11:17,188 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'chatLine', 'room': 'spectator', 'username': 'probabilistic-bot', 'text': "Hi! I'm probabilistic-bot. Type !help for a list of commands I can respond to."}
2024-01-27 22:11:17,188 lib.conversation (conversation.py:42) INFO *** https://lichess.org/ki4gFNqk/black [spectator] probabilistic-bot: Hi! I'm probabilistic-bot. Type !help for a list of commands I can respond to.
2024-01-27 22:11:17,188 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'd2d4 b8a6', 'wtime': 300000, 'btime': 300000, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:11:22,844 __mp_main__ (lichess-bot.py:65) DEBUG Received SIGINT. Terminating client.
2024-01-27 22:11:22,844 __mp_main__ (lichess-bot.py:65) DEBUG Received SIGINT. Terminating client.
2024-01-27 22:11:23,017 __main__ (lichess-bot.py:1091) ERROR Quitting lichess_bot due to an error:
Traceback (most recent call last):
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lichess-bot.py", line 1088, in <module>
start_lichess_bot()

View File

@@ -1,16 +1,16 @@
2024-01-26 16:56:35,832 __main__ (lichess-bot.py:1023) INFO
2024-01-27 22:11:40,995 __main__ (lichess-bot.py:1023) INFO
. _/|
. // o\
. || ._) lichess_bot 2024.1.21.1
. //__\
. )___( Play on Lichess with a bot
2024-01-26 16:56:35,853 lib.config (config.py:261) DEBUG Config:
2024-01-27 22:11:41,015 lib.config (config.py:261) DEBUG Config:
token: logger
url: https://lichess.org/
engine:
dir: ./engines
name: ProbStockfish
name: MctsEngine
working_dir: ''
protocol: homemade
ponder: true
@@ -137,13 +137,13 @@ matchmaking:
challenge_mode: random
challenge_filter: none
2024-01-26 16:56:35,853 lib.config (config.py:262) DEBUG ====================
2024-01-26 16:56:35,858 lib.config (config.py:261) DEBUG Config:
2024-01-27 22:11:41,015 lib.config (config.py:262) DEBUG ====================
2024-01-27 22:11:41,020 lib.config (config.py:261) DEBUG Config:
token: logger
url: https://lichess.org/
engine:
dir: ./engines
name: ProbStockfish
name: MctsEngine
working_dir: /home/luke/projects/pp-project/chess-engine-pp/lichess_bot
protocol: homemade
ponder: true
@@ -282,514 +282,446 @@ matchmaking:
overrides: {}
pgn_file_grouping: game
2024-01-26 16:56:35,858 lib.config (config.py:262) DEBUG ====================
2024-01-26 16:56:35,858 __main__ (lichess-bot.py:1026) INFO Checking engine configuration ...
2024-01-26 16:56:35,908 lib.engine_wrapper (engine_wrapper.py:65) DEBUG Starting engine: ['/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/engines/ProbStockfish']
2024-01-26 16:56:35,908 __main__ (lichess-bot.py:1029) INFO Engine configuration OK
2024-01-26 16:56:35,910 urllib3.connectionpool (connectionpool.py:1052) DEBUG Starting new HTTPS connection (1): lichess.org:443
2024-01-26 16:56:36,075 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/token/test HTTP/1.1" 200 None
2024-01-26 16:56:36,126 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "GET /api/account HTTP/1.1" 200 None
2024-01-26 16:56:36,126 __main__ (lichess-bot.py:1038) INFO Welcome probabilistic-bot!
2024-01-26 16:56:36,127 __main__ (lichess-bot.py:206) INFO You're now connected to https://lichess.org/ and awaiting challenges.
2024-01-26 16:56:36,382 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "GET /api/account/playing HTTP/1.1" 200 17
2024-01-26 16:56:46,023 __main__ (lichess-bot.py:370) DEBUG Event: {'type': 'challenge', 'challenge': {'id': 'KGZF6I6j', 'url': 'https://lichess.org/KGZF6I6j', 'status': 'created', 'challenger': {'id': 'luk3k', 'name': 'luk3k', 'rating': 1500, 'title': None, 'provisional': True, 'online': True, 'lag': 4}, 'destUser': {'id': 'probabilistic-bot', 'name': 'probabilistic-bot', 'rating': 2000, 'title': 'BOT', 'provisional': True, 'online': True}, 'variant': {'key': 'standard', 'name': 'Standard', 'short': 'Std'}, 'rated': False, 'speed': 'rapid', 'timeControl': {'type': 'clock', 'limit': 480, 'increment': 3, 'show': '8+3'}, 'color': 'black', 'finalColor': 'black', 'perf': {'icon': '\ue017', 'name': 'Rapid'}}, 'compat': {'bot': True, 'board': True}}
2024-01-26 16:56:46,024 __main__ (lichess-bot.py:421) INFO Accept Rapid casual challenge from luk3k (1500?) (KGZF6I6j)
2024-01-26 16:56:46,066 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/challenge/KGZF6I6j/accept HTTP/1.1" 200 11
2024-01-26 16:56:46,066 __main__ (lichess-bot.py:254) INFO --- Process Queued. Count: 1. IDs: {'KGZF6I6j'}
2024-01-26 16:56:46,067 __main__ (lichess-bot.py:370) DEBUG Event: {'type': 'gameStart', 'game': {'fullId': 'KGZF6I6jogOQ', 'gameId': 'KGZF6I6j', 'fen': 'rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1', 'color': 'white', 'lastMove': '', 'source': 'friend', 'status': {'id': 20, 'name': 'started'}, 'variant': {'key': 'standard', 'name': 'Standard'}, 'speed': 'rapid', 'perf': 'rapid', 'rated': False, 'hasMoved': False, 'opponent': {'id': 'luk3k', 'username': 'luk3k', 'rating': 1500}, 'isMyTurn': True, 'secondsLeft': 480, 'compat': {'bot': True, 'board': True}, 'id': 'KGZF6I6j'}}
2024-01-26 16:56:46,067 __main__ (lichess-bot.py:254) INFO --- Process Used. Count: 1. IDs: {'KGZF6I6j'}
2024-01-26 16:56:46,073 urllib3.connectionpool (connectionpool.py:1052) DEBUG Starting new HTTPS connection (1): lichess.org:443
2024-01-26 16:56:46,228 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "GET /api/bot/game/stream/KGZF6I6j HTTP/1.1" 200 None
2024-01-26 16:56:46,228 __mp_main__ (lichess-bot.py:572) DEBUG Initial state: {'id': 'KGZF6I6j', 'variant': {'key': 'standard', 'name': 'Standard', 'short': 'Std'}, 'speed': 'rapid', 'perf': {'name': 'Rapid'}, 'rated': False, 'createdAt': 1706284606050, 'white': {'id': 'probabilistic-bot', 'name': 'probabilistic-bot', 'title': 'BOT', 'rating': 2000, 'provisional': True}, 'black': {'id': 'luk3k', 'name': 'luk3k', 'title': None, 'rating': 1500, 'provisional': True}, 'initialFen': 'startpos', 'clock': {'initial': 480000, 'increment': 3000}, 'type': 'gameFull', 'state': {'type': 'gameState', 'moves': '', 'wtime': 480000, 'btime': 480000, 'winc': 3000, 'binc': 3000, 'status': 'started'}}
2024-01-26 16:56:46,276 lib.engine_wrapper (engine_wrapper.py:65) DEBUG Starting engine: ['/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/engines/ProbStockfish']
2024-01-26 16:56:46,276 __mp_main__ (lichess-bot.py:578) DEBUG The engine for game KGZF6I6j has pid=?
2024-01-26 16:56:46,277 __mp_main__ (lichess-bot.py:581) INFO +++ https://lichess.org/KGZF6I6j/white Rapid vs luk3k (1500?) (KGZF6I6j)
2024-01-26 16:56:46,277 lib.conversation (conversation.py:83) INFO *** https://lichess.org/KGZF6I6j/white [player] probabilistic-bot: Hi! I'm probabilistic-bot. Good luck! Type !help for a list of commands I can respond to.
2024-01-26 16:56:46,278 urllib3.connectionpool (connectionpool.py:1052) DEBUG Starting new HTTPS connection (2): lichess.org:443
2024-01-26 16:56:46,428 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/KGZF6I6j/chat HTTP/1.1" 200 11
2024-01-26 16:56:46,429 lib.conversation (conversation.py:83) INFO *** https://lichess.org/KGZF6I6j/white [spectator] probabilistic-bot: Hi! I'm probabilistic-bot. Type !help for a list of commands I can respond to.
2024-01-26 16:56:46,462 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/KGZF6I6j/chat HTTP/1.1" 200 11
2024-01-26 16:56:46,463 __mp_main__ (lichess-bot.py:688) INFO
2024-01-26 16:56:46,463 __mp_main__ (lichess-bot.py:689) INFO move: 1
2024-01-26 16:56:46,463 lib.engine_wrapper (engine_wrapper.py:650) INFO Searching for time 10 seconds for game KGZF6I6j
2024-01-26 16:56:46,464 asyncio (selector_events.py:54) DEBUG Using selector: EpollSelector
2024-01-26 16:56:46,466 chess.engine (engine.py:124) DEBUG Using PidfdChildWatcher
2024-01-26 16:56:46,466 chess.engine (engine.py:1040) DEBUG <UciProtocol (pid=100959)>: Connection made
2024-01-26 16:56:46,466 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << uci
2024-01-26 16:56:46,467 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> Stockfish 16 by the Stockfish developers (see AUTHORS file)
2024-01-26 16:56:46,585 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> id name Stockfish 16
2024-01-26 16:56:46,585 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> id author the Stockfish developers (see AUTHORS file)
2024-01-26 16:56:46,585 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >>
2024-01-26 16:56:46,585 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> option name Debug Log File type string default
2024-01-26 16:56:46,586 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> option name Threads type spin default 1 min 1 max 1024
2024-01-26 16:56:46,586 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> option name Hash type spin default 16 min 1 max 33554432
2024-01-26 16:56:46,586 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> option name Clear Hash type button
2024-01-26 16:56:46,586 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> option name Ponder type check default false
2024-01-26 16:56:46,586 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> option name MultiPV type spin default 1 min 1 max 500
2024-01-26 16:56:46,586 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> option name Skill Level type spin default 20 min 0 max 20
2024-01-26 16:56:46,587 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> option name Move Overhead type spin default 10 min 0 max 5000
2024-01-26 16:56:46,587 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> option name Slow Mover type spin default 100 min 10 max 1000
2024-01-26 16:56:46,587 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> option name nodestime type spin default 0 min 0 max 10000
2024-01-26 16:56:46,587 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> option name UCI_Chess960 type check default false
2024-01-26 16:56:46,587 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> option name UCI_AnalyseMode type check default false
2024-01-26 16:56:46,587 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> option name UCI_LimitStrength type check default false
2024-01-26 16:56:46,588 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> option name UCI_Elo type spin default 1320 min 1320 max 3190
2024-01-26 16:56:46,588 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> option name UCI_ShowWDL type check default false
2024-01-26 16:56:46,588 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> option name SyzygyPath type string default <empty>
2024-01-26 16:56:46,588 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> option name SyzygyProbeDepth type spin default 1 min 1 max 100
2024-01-26 16:56:46,588 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> option name Syzygy50MoveRule type check default true
2024-01-26 16:56:46,588 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> option name SyzygyProbeLimit type spin default 7 min 0 max 7
2024-01-26 16:56:46,589 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> option name Use NNUE type check default true
2024-01-26 16:56:46,589 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> option name EvalFile type string default nn-5af11540bbfe.nnue
2024-01-26 16:56:46,589 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> uciok
2024-01-26 16:56:46,590 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << ucinewgame
2024-01-26 16:56:46,590 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << isready
2024-01-26 16:56:46,592 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> readyok
2024-01-26 16:56:46,592 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << position startpos moves g1h3
2024-01-26 16:56:46,592 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << go depth 2
2024-01-26 16:56:46,593 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:46,593 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info depth 1 seldepth 1 multipv 1 score cp -5 nodes 20 nps 20000 hashfull 0 tbhits 0 time 1 pv g8f6
2024-01-26 16:56:46,593 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info depth 2 seldepth 2 multipv 1 score cp -5 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv g8f6
2024-01-26 16:56:46,593 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> bestmove g8f6
2024-01-26 16:56:46,594 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << position startpos moves g1h3 g8f6
2024-01-26 16:56:46,594 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << go depth 2
2024-01-26 16:56:46,595 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:46,595 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info depth 1 seldepth 1 multipv 1 score cp -28 nodes 20 nps 20000 hashfull 0 tbhits 0 time 1 pv d2d4
2024-01-26 16:56:46,595 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info depth 2 seldepth 2 multipv 1 score cp -28 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv d2d4
2024-01-26 16:56:46,595 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> bestmove d2d4
2024-01-26 16:56:46,596 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << position startpos moves g1h3 g8f6 d2d4
2024-01-26 16:56:46,596 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << go depth 2
2024-01-26 16:56:46,596 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:46,596 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info depth 1 seldepth 1 multipv 1 score cp -9 nodes 24 nps 24000 hashfull 0 tbhits 0 time 1 pv d7d5
2024-01-26 16:56:46,596 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info depth 2 seldepth 2 multipv 1 score cp -9 nodes 46 nps 46000 hashfull 0 tbhits 0 time 1 pv d7d5
2024-01-26 16:56:46,597 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> bestmove d7d5
2024-01-26 16:56:46,597 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << position startpos moves g1h3 g8f6 d2d4 d7d5
2024-01-26 16:56:46,598 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << go depth 2
2024-01-26 16:56:46,598 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:46,598 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info depth 1 seldepth 1 multipv 1 score cp -59 nodes 48 nps 48000 hashfull 0 tbhits 0 time 1 pv g2g3
2024-01-26 16:56:46,598 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info depth 2 seldepth 2 multipv 1 score cp -59 nodes 78 nps 78000 hashfull 0 tbhits 0 time 1 pv g2g3
2024-01-26 16:56:46,598 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> bestmove g2g3
2024-01-26 16:56:46,599 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3
2024-01-26 16:56:46,599 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << go depth 2
2024-01-26 16:56:46,599 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:46,599 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info depth 1 seldepth 1 multipv 1 score cp 13 nodes 34 nps 17000 hashfull 0 tbhits 0 time 2 pv c7c5
2024-01-26 16:56:46,600 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info depth 2 seldepth 2 multipv 1 score cp 13 nodes 65 nps 32500 hashfull 0 tbhits 0 time 2 pv c7c5
2024-01-26 16:56:46,600 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> bestmove c7c5
2024-01-26 16:56:46,601 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5
2024-01-26 16:56:46,601 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << go depth 2
2024-01-26 16:56:46,601 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:46,601 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info depth 1 seldepth 1 multipv 1 score cp -18 nodes 36 nps 36000 hashfull 0 tbhits 0 time 1 pv d4c5
2024-01-26 16:56:46,601 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info depth 2 seldepth 2 multipv 1 score cp -18 nodes 65 nps 65000 hashfull 0 tbhits 0 time 1 pv d4c5
2024-01-26 16:56:46,601 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> bestmove d4c5
2024-01-26 16:56:46,602 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5
2024-01-26 16:56:46,602 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << go depth 2
2024-01-26 16:56:46,603 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:46,603 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info depth 1 seldepth 1 multipv 1 score cp 525 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv d8a5 b2b4 a5b4 b1c3 b4c3 c1d2
2024-01-26 16:56:46,603 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info depth 2 seldepth 2 multipv 1 score cp 6 nodes 187 nps 187000 hashfull 0 tbhits 0 time 1 pv e7e5
2024-01-26 16:56:46,603 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> bestmove e7e5
2024-01-26 16:56:46,604 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5
2024-01-26 16:56:46,604 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << go depth 2
2024-01-26 16:56:46,604 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:46,604 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info depth 1 seldepth 1 multipv 1 score cp -78 nodes 50 nps 25000 hashfull 0 tbhits 0 time 2 pv f1g2 f8c5
2024-01-26 16:56:46,605 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info depth 2 seldepth 2 multipv 1 score cp -78 nodes 87 nps 43500 hashfull 0 tbhits 0 time 2 pv f1g2 f8c5
2024-01-26 16:56:46,605 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> bestmove f1g2 ponder f8c5
2024-01-26 16:56:46,606 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5 f1g2
2024-01-26 16:56:46,606 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << go depth 2
2024-01-26 16:56:46,606 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:46,606 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info depth 1 seldepth 1 multipv 1 score cp 78 nodes 38 nps 38000 hashfull 0 tbhits 0 time 1 pv f8c5
2024-01-26 16:56:46,606 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info depth 2 seldepth 2 multipv 1 score cp 78 nodes 74 nps 74000 hashfull 0 tbhits 0 time 1 pv f8c5
2024-01-26 16:56:46,606 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> bestmove f8c5
2024-01-26 16:56:46,607 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5 f1g2 f8c5
2024-01-26 16:56:46,607 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << go depth 2
2024-01-26 16:56:46,608 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:46,608 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info depth 1 seldepth 1 multipv 1 score cp -80 nodes 50 nps 50000 hashfull 0 tbhits 0 time 1 pv c2c4
2024-01-26 16:56:46,608 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> info depth 2 seldepth 2 multipv 1 score cp -80 nodes 87 nps 87000 hashfull 0 tbhits 0 time 1 pv c2c4
2024-01-26 16:56:46,608 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100959)>: >> bestmove c2c4
2024-01-26 16:56:46,609 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100959)>: << quit
2024-01-26 16:56:46,613 chess.engine (engine.py:1059) DEBUG <UciProtocol (pid=100959)>: Process exited
2024-01-26 16:56:46,613 chess.engine (engine.py:1046) DEBUG <UciProtocol (pid=100959)>: Connection lost (exit code: 0, error: None)
2024-01-26 16:56:46,614 backoff (_common.py:105) INFO Backing off play_game(...) for 1.0s (TypeError: cannot unpack non-iterable NoneType object)
2024-01-26 16:56:46,614 lib.lichess (lichess.py:63) DEBUG Backing off 1.0 seconds after 1 tries calling function <function play_game at 0x7ffb25b9ed40> with args () and kwargs {'li': <lib.lichess.Lichess object at 0x7ffb25ba9b40>, 'control_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7ffb25bef9a0>, 'user_profile': {'id': 'probabilistic-bot', 'username': 'probabilistic-bot', 'perfs': {'blitz': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'bullet': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'correspondence': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'classical': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'rapid': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}}, 'title': 'BOT', 'createdAt': 1706196643794, 'seenAt': 1706284268775, 'playTime': {'total': 1252, 'tv': 0}, 'url': 'https://lichess.org/@/probabilistic-bot', 'count': {'all': 5, 'rated': 0, 'ai': 0, 'draw': 0, 'drawH': 0, 'loss': 4, 'lossH': 4, 'win': 1, 'winH': 1, 'bookmark': 0, 'playing': 0, 'import': 0, 'me': 0}, 'followable': True, 'following': False, 'blocking': False, 'followsYou': False}, 'config': <lib.config.Configuration object at 0x7ffb25befd60>, 'challenge_queue': <ListProxy object, typeid 'list' at 0x7ffb25bef9d0>, 'correspondence_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7ffb25befcd0>, 'logging_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7ffb25beff70>, 'game_id': 'KGZF6I6j'}
2024-01-26 16:56:46,615 lib.lichess (lichess.py:65) DEBUG Exception: Traceback (most recent call last):
File "/home/luke/projects/pp-project/chess-engine-pp/.venv/lib/python3.10/site-packages/backoff/_sync.py", line 105, in retry
ret = target(*args, **kwargs)
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lichess-bot.py", line 620, in play_game
engine.play_move(board,
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lib/engine_wrapper.py", line 157, in play_move
best_move = self.search(board, time_limit, can_ponder, draw_offered, best_move)
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lib/strategies.py", line 105, in search
mean, std = engine.simulate_game(board.copy(), move, 10)
TypeError: cannot unpack non-iterable NoneType object
2024-01-26 16:56:47,602 urllib3.connectionpool (connectionpool.py:292) DEBUG Resetting dropped connection: lichess.org
2024-01-26 16:56:47,785 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "GET /api/bot/game/stream/KGZF6I6j HTTP/1.1" 200 None
2024-01-26 16:56:47,786 __mp_main__ (lichess-bot.py:572) DEBUG Initial state: {'id': 'KGZF6I6j', 'variant': {'key': 'standard', 'name': 'Standard', 'short': 'Std'}, 'speed': 'rapid', 'perf': {'name': 'Rapid'}, 'rated': False, 'createdAt': 1706284606050, 'white': {'id': 'probabilistic-bot', 'name': 'probabilistic-bot', 'title': 'BOT', 'rating': 2000, 'provisional': True}, 'black': {'id': 'luk3k', 'name': 'luk3k', 'title': None, 'rating': 1500, 'provisional': True}, 'initialFen': 'startpos', 'clock': {'initial': 480000, 'increment': 3000}, 'type': 'gameFull', 'state': {'type': 'gameState', 'moves': '', 'wtime': 480000, 'btime': 480000, 'winc': 3000, 'binc': 3000, 'status': 'started'}}
2024-01-26 16:56:47,786 lib.engine_wrapper (engine_wrapper.py:65) DEBUG Starting engine: ['/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/engines/ProbStockfish']
2024-01-26 16:56:47,786 __mp_main__ (lichess-bot.py:578) DEBUG The engine for game KGZF6I6j has pid=?
2024-01-26 16:56:47,786 __mp_main__ (lichess-bot.py:581) INFO +++ https://lichess.org/KGZF6I6j/white Rapid vs luk3k (1500?) (KGZF6I6j)
2024-01-26 16:56:47,787 lib.conversation (conversation.py:83) INFO *** https://lichess.org/KGZF6I6j/white [player] probabilistic-bot: Hi! I'm probabilistic-bot. Good luck! Type !help for a list of commands I can respond to.
2024-01-26 16:56:47,822 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/KGZF6I6j/chat HTTP/1.1" 200 11
2024-01-26 16:56:47,823 lib.conversation (conversation.py:83) INFO *** https://lichess.org/KGZF6I6j/white [spectator] probabilistic-bot: Hi! I'm probabilistic-bot. Type !help for a list of commands I can respond to.
2024-01-26 16:56:47,858 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/KGZF6I6j/chat HTTP/1.1" 200 11
2024-01-26 16:56:47,858 __mp_main__ (lichess-bot.py:688) INFO
2024-01-26 16:56:47,859 __mp_main__ (lichess-bot.py:689) INFO move: 1
2024-01-26 16:56:47,859 lib.engine_wrapper (engine_wrapper.py:650) INFO Searching for time 10 seconds for game KGZF6I6j
2024-01-26 16:56:47,859 asyncio (selector_events.py:54) DEBUG Using selector: EpollSelector
2024-01-26 16:56:47,861 chess.engine (engine.py:124) DEBUG Using PidfdChildWatcher
2024-01-26 16:56:47,861 chess.engine (engine.py:1040) DEBUG <UciProtocol (pid=100966)>: Connection made
2024-01-26 16:56:47,861 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << uci
2024-01-26 16:56:47,863 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> Stockfish 16 by the Stockfish developers (see AUTHORS file)
2024-01-26 16:56:47,981 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> id name Stockfish 16
2024-01-26 16:56:47,982 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> id author the Stockfish developers (see AUTHORS file)
2024-01-26 16:56:47,982 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >>
2024-01-26 16:56:47,982 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> option name Debug Log File type string default
2024-01-26 16:56:47,982 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> option name Threads type spin default 1 min 1 max 1024
2024-01-26 16:56:47,982 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> option name Hash type spin default 16 min 1 max 33554432
2024-01-26 16:56:47,982 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> option name Clear Hash type button
2024-01-26 16:56:47,982 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> option name Ponder type check default false
2024-01-26 16:56:47,983 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> option name MultiPV type spin default 1 min 1 max 500
2024-01-26 16:56:47,983 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> option name Skill Level type spin default 20 min 0 max 20
2024-01-26 16:56:47,983 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> option name Move Overhead type spin default 10 min 0 max 5000
2024-01-26 16:56:47,983 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> option name Slow Mover type spin default 100 min 10 max 1000
2024-01-26 16:56:47,983 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> option name nodestime type spin default 0 min 0 max 10000
2024-01-26 16:56:47,983 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> option name UCI_Chess960 type check default false
2024-01-26 16:56:47,983 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> option name UCI_AnalyseMode type check default false
2024-01-26 16:56:47,983 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> option name UCI_LimitStrength type check default false
2024-01-26 16:56:47,983 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> option name UCI_Elo type spin default 1320 min 1320 max 3190
2024-01-26 16:56:47,983 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> option name UCI_ShowWDL type check default false
2024-01-26 16:56:47,983 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> option name SyzygyPath type string default <empty>
2024-01-26 16:56:47,984 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> option name SyzygyProbeDepth type spin default 1 min 1 max 100
2024-01-26 16:56:47,984 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> option name Syzygy50MoveRule type check default true
2024-01-26 16:56:47,984 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> option name SyzygyProbeLimit type spin default 7 min 0 max 7
2024-01-26 16:56:47,984 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> option name Use NNUE type check default true
2024-01-26 16:56:47,984 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> option name EvalFile type string default nn-5af11540bbfe.nnue
2024-01-26 16:56:47,984 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> uciok
2024-01-26 16:56:47,985 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << ucinewgame
2024-01-26 16:56:47,985 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << isready
2024-01-26 16:56:47,987 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> readyok
2024-01-26 16:56:47,987 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << position startpos moves g1h3
2024-01-26 16:56:47,987 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << go depth 2
2024-01-26 16:56:47,988 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:47,988 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info depth 1 seldepth 1 multipv 1 score cp -5 nodes 20 nps 20000 hashfull 0 tbhits 0 time 1 pv g8f6
2024-01-26 16:56:47,988 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info depth 2 seldepth 2 multipv 1 score cp -5 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv g8f6
2024-01-26 16:56:47,988 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> bestmove g8f6
2024-01-26 16:56:47,989 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << position startpos moves g1h3 g8f6
2024-01-26 16:56:47,989 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << go depth 2
2024-01-26 16:56:47,990 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:47,990 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info depth 1 seldepth 1 multipv 1 score cp -28 nodes 20 nps 20000 hashfull 0 tbhits 0 time 1 pv d2d4
2024-01-26 16:56:47,990 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info depth 2 seldepth 2 multipv 1 score cp -28 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv d2d4
2024-01-26 16:56:47,990 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> bestmove d2d4
2024-01-26 16:56:47,991 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << position startpos moves g1h3 g8f6 d2d4
2024-01-26 16:56:47,991 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << go depth 2
2024-01-26 16:56:47,992 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:47,992 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info depth 1 seldepth 1 multipv 1 score cp -9 nodes 24 nps 24000 hashfull 0 tbhits 0 time 1 pv d7d5
2024-01-26 16:56:47,992 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info depth 2 seldepth 2 multipv 1 score cp -9 nodes 46 nps 46000 hashfull 0 tbhits 0 time 1 pv d7d5
2024-01-26 16:56:47,992 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> bestmove d7d5
2024-01-26 16:56:47,993 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << position startpos moves g1h3 g8f6 d2d4 d7d5
2024-01-26 16:56:47,994 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << go depth 2
2024-01-26 16:56:47,994 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:47,994 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info depth 1 seldepth 1 multipv 1 score cp -59 nodes 48 nps 48000 hashfull 0 tbhits 0 time 1 pv g2g3
2024-01-26 16:56:47,994 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info depth 2 seldepth 2 multipv 1 score cp -59 nodes 78 nps 78000 hashfull 0 tbhits 0 time 1 pv g2g3
2024-01-26 16:56:47,994 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> bestmove g2g3
2024-01-26 16:56:47,995 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3
2024-01-26 16:56:47,995 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << go depth 2
2024-01-26 16:56:47,996 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:47,996 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info depth 1 seldepth 1 multipv 1 score cp 13 nodes 34 nps 34000 hashfull 0 tbhits 0 time 1 pv c7c5
2024-01-26 16:56:47,996 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info depth 2 seldepth 2 multipv 1 score cp 13 nodes 65 nps 65000 hashfull 0 tbhits 0 time 1 pv c7c5
2024-01-26 16:56:47,996 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> bestmove c7c5
2024-01-26 16:56:47,997 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5
2024-01-26 16:56:47,997 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << go depth 2
2024-01-26 16:56:47,998 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:47,998 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info depth 1 seldepth 1 multipv 1 score cp -18 nodes 36 nps 36000 hashfull 0 tbhits 0 time 1 pv d4c5
2024-01-26 16:56:47,998 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info depth 2 seldepth 2 multipv 1 score cp -18 nodes 65 nps 65000 hashfull 0 tbhits 0 time 1 pv d4c5
2024-01-26 16:56:47,998 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> bestmove d4c5
2024-01-26 16:56:47,999 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5
2024-01-26 16:56:47,999 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << go depth 2
2024-01-26 16:56:48,000 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:48,000 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info depth 1 seldepth 1 multipv 1 score cp 525 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv d8a5 b2b4 a5b4 b1c3 b4c3 c1d2
2024-01-26 16:56:48,000 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info depth 2 seldepth 2 multipv 1 score cp 6 nodes 187 nps 187000 hashfull 0 tbhits 0 time 1 pv e7e5
2024-01-26 16:56:48,000 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> bestmove e7e5
2024-01-26 16:56:48,001 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5
2024-01-26 16:56:48,001 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << go depth 2
2024-01-26 16:56:48,001 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:48,001 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info depth 1 seldepth 1 multipv 1 score cp -78 nodes 50 nps 50000 hashfull 0 tbhits 0 time 1 pv f1g2 f8c5
2024-01-26 16:56:48,001 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info depth 2 seldepth 2 multipv 1 score cp -78 nodes 87 nps 43500 hashfull 0 tbhits 0 time 2 pv f1g2 f8c5
2024-01-26 16:56:48,002 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> bestmove f1g2 ponder f8c5
2024-01-26 16:56:48,002 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5 f1g2
2024-01-26 16:56:48,002 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << go depth 2
2024-01-26 16:56:48,003 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:48,003 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info depth 1 seldepth 1 multipv 1 score cp 78 nodes 38 nps 38000 hashfull 0 tbhits 0 time 1 pv f8c5
2024-01-26 16:56:48,003 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info depth 2 seldepth 2 multipv 1 score cp 78 nodes 74 nps 74000 hashfull 0 tbhits 0 time 1 pv f8c5
2024-01-26 16:56:48,003 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> bestmove f8c5
2024-01-26 16:56:48,004 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5 f1g2 f8c5
2024-01-26 16:56:48,004 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << go depth 2
2024-01-26 16:56:48,004 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:48,004 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info depth 1 seldepth 1 multipv 1 score cp -80 nodes 50 nps 50000 hashfull 0 tbhits 0 time 1 pv c2c4
2024-01-26 16:56:48,004 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> info depth 2 seldepth 2 multipv 1 score cp -80 nodes 87 nps 87000 hashfull 0 tbhits 0 time 1 pv c2c4
2024-01-26 16:56:48,005 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100966)>: >> bestmove c2c4
2024-01-26 16:56:48,005 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100966)>: << quit
2024-01-26 16:56:48,009 chess.engine (engine.py:1059) DEBUG <UciProtocol (pid=100966)>: Process exited
2024-01-26 16:56:48,009 chess.engine (engine.py:1046) DEBUG <UciProtocol (pid=100966)>: Connection lost (exit code: 0, error: None)
2024-01-26 16:56:48,010 backoff (_common.py:105) INFO Backing off play_game(...) for 0.4s (TypeError: cannot unpack non-iterable NoneType object)
2024-01-26 16:56:48,010 lib.lichess (lichess.py:63) DEBUG Backing off 0.4 seconds after 2 tries calling function <function play_game at 0x7ffb25b9ed40> with args () and kwargs {'li': <lib.lichess.Lichess object at 0x7ffb25ba9b40>, 'control_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7ffb25bef9a0>, 'user_profile': {'id': 'probabilistic-bot', 'username': 'probabilistic-bot', 'perfs': {'blitz': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'bullet': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'correspondence': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'classical': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'rapid': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}}, 'title': 'BOT', 'createdAt': 1706196643794, 'seenAt': 1706284268775, 'playTime': {'total': 1252, 'tv': 0}, 'url': 'https://lichess.org/@/probabilistic-bot', 'count': {'all': 5, 'rated': 0, 'ai': 0, 'draw': 0, 'drawH': 0, 'loss': 4, 'lossH': 4, 'win': 1, 'winH': 1, 'bookmark': 0, 'playing': 0, 'import': 0, 'me': 0}, 'followable': True, 'following': False, 'blocking': False, 'followsYou': False}, 'config': <lib.config.Configuration object at 0x7ffb25befd60>, 'challenge_queue': <ListProxy object, typeid 'list' at 0x7ffb25bef9d0>, 'correspondence_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7ffb25befcd0>, 'logging_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7ffb25beff70>, 'game_id': 'KGZF6I6j'}
2024-01-26 16:56:48,010 lib.lichess (lichess.py:65) DEBUG Exception: Traceback (most recent call last):
File "/home/luke/projects/pp-project/chess-engine-pp/.venv/lib/python3.10/site-packages/backoff/_sync.py", line 105, in retry
ret = target(*args, **kwargs)
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lichess-bot.py", line 620, in play_game
engine.play_move(board,
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lib/engine_wrapper.py", line 157, in play_move
best_move = self.search(board, time_limit, can_ponder, draw_offered, best_move)
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lib/strategies.py", line 105, in search
mean, std = engine.simulate_game(board.copy(), move, 10)
TypeError: cannot unpack non-iterable NoneType object
2024-01-26 16:56:48,380 urllib3.connectionpool (connectionpool.py:292) DEBUG Resetting dropped connection: lichess.org
2024-01-26 16:56:48,608 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "GET /api/bot/game/stream/KGZF6I6j HTTP/1.1" 200 None
2024-01-26 16:56:48,608 __mp_main__ (lichess-bot.py:572) DEBUG Initial state: {'id': 'KGZF6I6j', 'variant': {'key': 'standard', 'name': 'Standard', 'short': 'Std'}, 'speed': 'rapid', 'perf': {'name': 'Rapid'}, 'rated': False, 'createdAt': 1706284606050, 'white': {'id': 'probabilistic-bot', 'name': 'probabilistic-bot', 'title': 'BOT', 'rating': 2000, 'provisional': True}, 'black': {'id': 'luk3k', 'name': 'luk3k', 'title': None, 'rating': 1500, 'provisional': True}, 'initialFen': 'startpos', 'clock': {'initial': 480000, 'increment': 3000}, 'type': 'gameFull', 'state': {'type': 'gameState', 'moves': '', 'wtime': 480000, 'btime': 480000, 'winc': 3000, 'binc': 3000, 'status': 'started'}}
2024-01-26 16:56:48,608 lib.engine_wrapper (engine_wrapper.py:65) DEBUG Starting engine: ['/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/engines/ProbStockfish']
2024-01-26 16:56:48,609 __mp_main__ (lichess-bot.py:578) DEBUG The engine for game KGZF6I6j has pid=?
2024-01-26 16:56:48,609 __mp_main__ (lichess-bot.py:581) INFO +++ https://lichess.org/KGZF6I6j/white Rapid vs luk3k (1500?) (KGZF6I6j)
2024-01-26 16:56:48,609 lib.conversation (conversation.py:83) INFO *** https://lichess.org/KGZF6I6j/white [player] probabilistic-bot: Hi! I'm probabilistic-bot. Good luck! Type !help for a list of commands I can respond to.
2024-01-26 16:56:48,646 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/KGZF6I6j/chat HTTP/1.1" 200 11
2024-01-26 16:56:48,646 lib.conversation (conversation.py:83) INFO *** https://lichess.org/KGZF6I6j/white [spectator] probabilistic-bot: Hi! I'm probabilistic-bot. Type !help for a list of commands I can respond to.
2024-01-26 16:56:48,681 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/KGZF6I6j/chat HTTP/1.1" 200 11
2024-01-26 16:56:48,682 __mp_main__ (lichess-bot.py:688) INFO
2024-01-26 16:56:48,682 __mp_main__ (lichess-bot.py:689) INFO move: 1
2024-01-26 16:56:48,682 lib.engine_wrapper (engine_wrapper.py:650) INFO Searching for time 10 seconds for game KGZF6I6j
2024-01-26 16:56:48,682 asyncio (selector_events.py:54) DEBUG Using selector: EpollSelector
2024-01-26 16:56:48,684 chess.engine (engine.py:124) DEBUG Using PidfdChildWatcher
2024-01-26 16:56:48,684 chess.engine (engine.py:1040) DEBUG <UciProtocol (pid=100973)>: Connection made
2024-01-26 16:56:48,685 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << uci
2024-01-26 16:56:48,686 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> Stockfish 16 by the Stockfish developers (see AUTHORS file)
2024-01-26 16:56:48,804 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> id name Stockfish 16
2024-01-26 16:56:48,805 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> id author the Stockfish developers (see AUTHORS file)
2024-01-26 16:56:48,805 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >>
2024-01-26 16:56:48,805 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> option name Debug Log File type string default
2024-01-26 16:56:48,805 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> option name Threads type spin default 1 min 1 max 1024
2024-01-26 16:56:48,805 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> option name Hash type spin default 16 min 1 max 33554432
2024-01-26 16:56:48,805 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> option name Clear Hash type button
2024-01-26 16:56:48,805 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> option name Ponder type check default false
2024-01-26 16:56:48,805 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> option name MultiPV type spin default 1 min 1 max 500
2024-01-26 16:56:48,806 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> option name Skill Level type spin default 20 min 0 max 20
2024-01-26 16:56:48,806 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> option name Move Overhead type spin default 10 min 0 max 5000
2024-01-26 16:56:48,806 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> option name Slow Mover type spin default 100 min 10 max 1000
2024-01-26 16:56:48,806 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> option name nodestime type spin default 0 min 0 max 10000
2024-01-26 16:56:48,806 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> option name UCI_Chess960 type check default false
2024-01-26 16:56:48,806 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> option name UCI_AnalyseMode type check default false
2024-01-26 16:56:48,806 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> option name UCI_LimitStrength type check default false
2024-01-26 16:56:48,806 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> option name UCI_Elo type spin default 1320 min 1320 max 3190
2024-01-26 16:56:48,806 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> option name UCI_ShowWDL type check default false
2024-01-26 16:56:48,807 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> option name SyzygyPath type string default <empty>
2024-01-26 16:56:48,807 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> option name SyzygyProbeDepth type spin default 1 min 1 max 100
2024-01-26 16:56:48,807 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> option name Syzygy50MoveRule type check default true
2024-01-26 16:56:48,807 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> option name SyzygyProbeLimit type spin default 7 min 0 max 7
2024-01-26 16:56:48,807 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> option name Use NNUE type check default true
2024-01-26 16:56:48,807 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> option name EvalFile type string default nn-5af11540bbfe.nnue
2024-01-26 16:56:48,807 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> uciok
2024-01-26 16:56:48,808 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << ucinewgame
2024-01-26 16:56:48,808 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << isready
2024-01-26 16:56:48,810 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> readyok
2024-01-26 16:56:48,810 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << position startpos moves g1h3
2024-01-26 16:56:48,810 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << go depth 2
2024-01-26 16:56:48,811 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:48,811 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info depth 1 seldepth 1 multipv 1 score cp -5 nodes 20 nps 20000 hashfull 0 tbhits 0 time 1 pv g8f6
2024-01-26 16:56:48,811 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info depth 2 seldepth 2 multipv 1 score cp -5 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv g8f6
2024-01-26 16:56:48,811 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> bestmove g8f6
2024-01-26 16:56:48,812 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << position startpos moves g1h3 g8f6
2024-01-26 16:56:48,812 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << go depth 2
2024-01-26 16:56:48,812 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:48,813 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info depth 1 seldepth 1 multipv 1 score cp -28 nodes 20 nps 10000 hashfull 0 tbhits 0 time 2 pv d2d4
2024-01-26 16:56:48,813 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info depth 2 seldepth 2 multipv 1 score cp -28 nodes 40 nps 20000 hashfull 0 tbhits 0 time 2 pv d2d4
2024-01-26 16:56:48,813 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> bestmove d2d4
2024-01-26 16:56:48,814 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << position startpos moves g1h3 g8f6 d2d4
2024-01-26 16:56:48,814 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << go depth 2
2024-01-26 16:56:48,814 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:48,814 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info depth 1 seldepth 1 multipv 1 score cp -9 nodes 24 nps 24000 hashfull 0 tbhits 0 time 1 pv d7d5
2024-01-26 16:56:48,814 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info depth 2 seldepth 2 multipv 1 score cp -9 nodes 46 nps 46000 hashfull 0 tbhits 0 time 1 pv d7d5
2024-01-26 16:56:48,814 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> bestmove d7d5
2024-01-26 16:56:48,815 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << position startpos moves g1h3 g8f6 d2d4 d7d5
2024-01-26 16:56:48,815 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << go depth 2
2024-01-26 16:56:48,816 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:48,816 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info depth 1 seldepth 1 multipv 1 score cp -59 nodes 48 nps 48000 hashfull 0 tbhits 0 time 1 pv g2g3
2024-01-26 16:56:48,816 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info depth 2 seldepth 2 multipv 1 score cp -59 nodes 78 nps 78000 hashfull 0 tbhits 0 time 1 pv g2g3
2024-01-26 16:56:48,816 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> bestmove g2g3
2024-01-26 16:56:48,817 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3
2024-01-26 16:56:48,817 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << go depth 2
2024-01-26 16:56:48,817 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:48,818 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info depth 1 seldepth 1 multipv 1 score cp 13 nodes 34 nps 34000 hashfull 0 tbhits 0 time 1 pv c7c5
2024-01-26 16:56:48,818 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info depth 2 seldepth 2 multipv 1 score cp 13 nodes 65 nps 65000 hashfull 0 tbhits 0 time 1 pv c7c5
2024-01-26 16:56:48,818 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> bestmove c7c5
2024-01-26 16:56:48,819 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5
2024-01-26 16:56:48,819 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << go depth 2
2024-01-26 16:56:48,819 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:48,820 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info depth 1 seldepth 1 multipv 1 score cp -18 nodes 36 nps 18000 hashfull 0 tbhits 0 time 2 pv d4c5
2024-01-26 16:56:48,820 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info depth 2 seldepth 2 multipv 1 score cp -18 nodes 65 nps 32500 hashfull 0 tbhits 0 time 2 pv d4c5
2024-01-26 16:56:48,820 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> bestmove d4c5
2024-01-26 16:56:48,821 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5
2024-01-26 16:56:48,821 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << go depth 2
2024-01-26 16:56:48,821 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:48,821 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info depth 1 seldepth 1 multipv 1 score cp 525 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv d8a5 b2b4 a5b4 b1c3 b4c3 c1d2
2024-01-26 16:56:48,821 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info depth 2 seldepth 2 multipv 1 score cp 6 nodes 187 nps 187000 hashfull 0 tbhits 0 time 1 pv e7e5
2024-01-26 16:56:48,822 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> bestmove e7e5
2024-01-26 16:56:48,822 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5
2024-01-26 16:56:48,823 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << go depth 2
2024-01-26 16:56:48,823 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:48,823 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info depth 1 seldepth 1 multipv 1 score cp -78 nodes 50 nps 50000 hashfull 0 tbhits 0 time 1 pv f1g2 f8c5
2024-01-26 16:56:48,823 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info depth 2 seldepth 2 multipv 1 score cp -78 nodes 87 nps 87000 hashfull 0 tbhits 0 time 1 pv f1g2 f8c5
2024-01-26 16:56:48,823 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> bestmove f1g2 ponder f8c5
2024-01-26 16:56:48,824 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5 f1g2
2024-01-26 16:56:48,824 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << go depth 2
2024-01-26 16:56:48,825 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:48,825 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info depth 1 seldepth 1 multipv 1 score cp 78 nodes 38 nps 38000 hashfull 0 tbhits 0 time 1 pv f8c5
2024-01-26 16:56:48,825 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info depth 2 seldepth 2 multipv 1 score cp 78 nodes 74 nps 74000 hashfull 0 tbhits 0 time 1 pv f8c5
2024-01-26 16:56:48,825 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> bestmove f8c5
2024-01-26 16:56:48,826 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5 f1g2 f8c5
2024-01-26 16:56:48,826 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << go depth 2
2024-01-26 16:56:48,826 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:48,827 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info depth 1 seldepth 1 multipv 1 score cp -80 nodes 50 nps 50000 hashfull 0 tbhits 0 time 1 pv c2c4
2024-01-26 16:56:48,827 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> info depth 2 seldepth 2 multipv 1 score cp -80 nodes 87 nps 87000 hashfull 0 tbhits 0 time 1 pv c2c4
2024-01-26 16:56:48,827 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100973)>: >> bestmove c2c4
2024-01-26 16:56:48,827 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100973)>: << quit
2024-01-26 16:56:48,832 chess.engine (engine.py:1059) DEBUG <UciProtocol (pid=100973)>: Process exited
2024-01-26 16:56:48,832 chess.engine (engine.py:1046) DEBUG <UciProtocol (pid=100973)>: Connection lost (exit code: 0, error: None)
2024-01-26 16:56:48,833 backoff (_common.py:105) INFO Backing off play_game(...) for 3.8s (TypeError: cannot unpack non-iterable NoneType object)
2024-01-26 16:56:48,833 lib.lichess (lichess.py:63) DEBUG Backing off 3.8 seconds after 3 tries calling function <function play_game at 0x7ffb25b9ed40> with args () and kwargs {'li': <lib.lichess.Lichess object at 0x7ffb25ba9b40>, 'control_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7ffb25bef9a0>, 'user_profile': {'id': 'probabilistic-bot', 'username': 'probabilistic-bot', 'perfs': {'blitz': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'bullet': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'correspondence': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'classical': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'rapid': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}}, 'title': 'BOT', 'createdAt': 1706196643794, 'seenAt': 1706284268775, 'playTime': {'total': 1252, 'tv': 0}, 'url': 'https://lichess.org/@/probabilistic-bot', 'count': {'all': 5, 'rated': 0, 'ai': 0, 'draw': 0, 'drawH': 0, 'loss': 4, 'lossH': 4, 'win': 1, 'winH': 1, 'bookmark': 0, 'playing': 0, 'import': 0, 'me': 0}, 'followable': True, 'following': False, 'blocking': False, 'followsYou': False}, 'config': <lib.config.Configuration object at 0x7ffb25befd60>, 'challenge_queue': <ListProxy object, typeid 'list' at 0x7ffb25bef9d0>, 'correspondence_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7ffb25befcd0>, 'logging_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7ffb25beff70>, 'game_id': 'KGZF6I6j'}
2024-01-26 16:56:48,833 lib.lichess (lichess.py:65) DEBUG Exception: Traceback (most recent call last):
File "/home/luke/projects/pp-project/chess-engine-pp/.venv/lib/python3.10/site-packages/backoff/_sync.py", line 105, in retry
ret = target(*args, **kwargs)
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lichess-bot.py", line 620, in play_game
engine.play_move(board,
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lib/engine_wrapper.py", line 157, in play_move
best_move = self.search(board, time_limit, can_ponder, draw_offered, best_move)
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lib/strategies.py", line 105, in search
mean, std = engine.simulate_game(board.copy(), move, 10)
TypeError: cannot unpack non-iterable NoneType object
2024-01-26 16:56:52,679 urllib3.connectionpool (connectionpool.py:292) DEBUG Resetting dropped connection: lichess.org
2024-01-26 16:56:52,864 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "GET /api/bot/game/stream/KGZF6I6j HTTP/1.1" 200 None
2024-01-26 16:56:52,864 __mp_main__ (lichess-bot.py:572) DEBUG Initial state: {'id': 'KGZF6I6j', 'variant': {'key': 'standard', 'name': 'Standard', 'short': 'Std'}, 'speed': 'rapid', 'perf': {'name': 'Rapid'}, 'rated': False, 'createdAt': 1706284606050, 'white': {'id': 'probabilistic-bot', 'name': 'probabilistic-bot', 'title': 'BOT', 'rating': 2000, 'provisional': True}, 'black': {'id': 'luk3k', 'name': 'luk3k', 'title': None, 'rating': 1500, 'provisional': True}, 'initialFen': 'startpos', 'clock': {'initial': 480000, 'increment': 3000}, 'type': 'gameFull', 'state': {'type': 'gameState', 'moves': '', 'wtime': 480000, 'btime': 480000, 'winc': 3000, 'binc': 3000, 'status': 'started'}}
2024-01-26 16:56:52,864 lib.engine_wrapper (engine_wrapper.py:65) DEBUG Starting engine: ['/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/engines/ProbStockfish']
2024-01-26 16:56:52,865 __mp_main__ (lichess-bot.py:578) DEBUG The engine for game KGZF6I6j has pid=?
2024-01-26 16:56:52,865 __mp_main__ (lichess-bot.py:581) INFO +++ https://lichess.org/KGZF6I6j/white Rapid vs luk3k (1500?) (KGZF6I6j)
2024-01-26 16:56:52,865 lib.conversation (conversation.py:83) INFO *** https://lichess.org/KGZF6I6j/white [player] probabilistic-bot: Hi! I'm probabilistic-bot. Good luck! Type !help for a list of commands I can respond to.
2024-01-26 16:56:52,900 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/KGZF6I6j/chat HTTP/1.1" 200 11
2024-01-26 16:56:52,901 lib.conversation (conversation.py:83) INFO *** https://lichess.org/KGZF6I6j/white [spectator] probabilistic-bot: Hi! I'm probabilistic-bot. Type !help for a list of commands I can respond to.
2024-01-26 16:56:52,937 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/KGZF6I6j/chat HTTP/1.1" 200 11
2024-01-26 16:56:52,937 __mp_main__ (lichess-bot.py:688) INFO
2024-01-26 16:56:52,937 __mp_main__ (lichess-bot.py:689) INFO move: 1
2024-01-26 16:56:52,938 lib.engine_wrapper (engine_wrapper.py:650) INFO Searching for time 10 seconds for game KGZF6I6j
2024-01-26 16:56:52,938 asyncio (selector_events.py:54) DEBUG Using selector: EpollSelector
2024-01-26 16:56:52,939 chess.engine (engine.py:124) DEBUG Using PidfdChildWatcher
2024-01-26 16:56:52,940 chess.engine (engine.py:1040) DEBUG <UciProtocol (pid=100981)>: Connection made
2024-01-26 16:56:52,940 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << uci
2024-01-26 16:56:52,942 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> Stockfish 16 by the Stockfish developers (see AUTHORS file)
2024-01-26 16:56:53,057 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> id name Stockfish 16
2024-01-26 16:56:53,058 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> id author the Stockfish developers (see AUTHORS file)
2024-01-26 16:56:53,058 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >>
2024-01-26 16:56:53,058 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> option name Debug Log File type string default
2024-01-26 16:56:53,058 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> option name Threads type spin default 1 min 1 max 1024
2024-01-26 16:56:53,058 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> option name Hash type spin default 16 min 1 max 33554432
2024-01-26 16:56:53,058 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> option name Clear Hash type button
2024-01-26 16:56:53,058 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> option name Ponder type check default false
2024-01-26 16:56:53,059 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> option name MultiPV type spin default 1 min 1 max 500
2024-01-26 16:56:53,059 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> option name Skill Level type spin default 20 min 0 max 20
2024-01-26 16:56:53,059 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> option name Move Overhead type spin default 10 min 0 max 5000
2024-01-26 16:56:53,059 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> option name Slow Mover type spin default 100 min 10 max 1000
2024-01-26 16:56:53,059 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> option name nodestime type spin default 0 min 0 max 10000
2024-01-26 16:56:53,059 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> option name UCI_Chess960 type check default false
2024-01-26 16:56:53,059 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> option name UCI_AnalyseMode type check default false
2024-01-26 16:56:53,059 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> option name UCI_LimitStrength type check default false
2024-01-26 16:56:53,059 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> option name UCI_Elo type spin default 1320 min 1320 max 3190
2024-01-26 16:56:53,059 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> option name UCI_ShowWDL type check default false
2024-01-26 16:56:53,060 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> option name SyzygyPath type string default <empty>
2024-01-26 16:56:53,060 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> option name SyzygyProbeDepth type spin default 1 min 1 max 100
2024-01-26 16:56:53,060 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> option name Syzygy50MoveRule type check default true
2024-01-26 16:56:53,060 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> option name SyzygyProbeLimit type spin default 7 min 0 max 7
2024-01-26 16:56:53,060 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> option name Use NNUE type check default true
2024-01-26 16:56:53,060 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> option name EvalFile type string default nn-5af11540bbfe.nnue
2024-01-26 16:56:53,060 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> uciok
2024-01-26 16:56:53,061 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << ucinewgame
2024-01-26 16:56:53,061 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << isready
2024-01-26 16:56:53,063 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> readyok
2024-01-26 16:56:53,063 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << position startpos moves g1h3
2024-01-26 16:56:53,063 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << go depth 2
2024-01-26 16:56:53,063 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:53,063 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info depth 1 seldepth 1 multipv 1 score cp -5 nodes 20 nps 20000 hashfull 0 tbhits 0 time 1 pv g8f6
2024-01-26 16:56:53,063 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info depth 2 seldepth 2 multipv 1 score cp -5 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv g8f6
2024-01-26 16:56:53,063 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> bestmove g8f6
2024-01-26 16:56:53,064 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << position startpos moves g1h3 g8f6
2024-01-26 16:56:53,064 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << go depth 2
2024-01-26 16:56:53,064 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:53,064 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info depth 1 seldepth 1 multipv 1 score cp -28 nodes 20 nps 20000 hashfull 0 tbhits 0 time 1 pv d2d4
2024-01-26 16:56:53,064 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info depth 2 seldepth 2 multipv 1 score cp -28 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv d2d4
2024-01-26 16:56:53,064 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> bestmove d2d4
2024-01-26 16:56:53,065 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << position startpos moves g1h3 g8f6 d2d4
2024-01-26 16:56:53,065 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << go depth 2
2024-01-26 16:56:53,065 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:53,065 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info depth 1 seldepth 1 multipv 1 score cp -9 nodes 24 nps 24000 hashfull 0 tbhits 0 time 1 pv d7d5
2024-01-26 16:56:53,065 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info depth 2 seldepth 2 multipv 1 score cp -9 nodes 46 nps 46000 hashfull 0 tbhits 0 time 1 pv d7d5
2024-01-26 16:56:53,065 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> bestmove d7d5
2024-01-26 16:56:53,066 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << position startpos moves g1h3 g8f6 d2d4 d7d5
2024-01-26 16:56:53,066 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << go depth 2
2024-01-26 16:56:53,066 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:53,066 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info depth 1 seldepth 1 multipv 1 score cp -59 nodes 48 nps 48000 hashfull 0 tbhits 0 time 1 pv g2g3
2024-01-26 16:56:53,066 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info depth 2 seldepth 2 multipv 1 score cp -59 nodes 78 nps 78000 hashfull 0 tbhits 0 time 1 pv g2g3
2024-01-26 16:56:53,066 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> bestmove g2g3
2024-01-26 16:56:53,067 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3
2024-01-26 16:56:53,067 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << go depth 2
2024-01-26 16:56:53,067 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:53,067 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info depth 1 seldepth 1 multipv 1 score cp 13 nodes 34 nps 34000 hashfull 0 tbhits 0 time 1 pv c7c5
2024-01-26 16:56:53,067 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info depth 2 seldepth 2 multipv 1 score cp 13 nodes 65 nps 65000 hashfull 0 tbhits 0 time 1 pv c7c5
2024-01-26 16:56:53,067 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> bestmove c7c5
2024-01-26 16:56:53,068 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5
2024-01-26 16:56:53,068 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << go depth 2
2024-01-26 16:56:53,068 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:53,068 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info depth 1 seldepth 1 multipv 1 score cp -18 nodes 36 nps 36000 hashfull 0 tbhits 0 time 1 pv d4c5
2024-01-26 16:56:53,068 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info depth 2 seldepth 2 multipv 1 score cp -18 nodes 65 nps 65000 hashfull 0 tbhits 0 time 1 pv d4c5
2024-01-26 16:56:53,068 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> bestmove d4c5
2024-01-26 16:56:53,069 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5
2024-01-26 16:56:53,069 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << go depth 2
2024-01-26 16:56:53,069 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:53,069 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info depth 1 seldepth 1 multipv 1 score cp 525 nodes 40 nps 40000 hashfull 0 tbhits 0 time 1 pv d8a5 b2b4 a5b4 b1c3 b4c3 c1d2
2024-01-26 16:56:53,069 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info depth 2 seldepth 2 multipv 1 score cp 6 nodes 187 nps 93500 hashfull 0 tbhits 0 time 2 pv e7e5
2024-01-26 16:56:53,069 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> bestmove e7e5
2024-01-26 16:56:53,070 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5
2024-01-26 16:56:53,070 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << go depth 2
2024-01-26 16:56:53,070 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:53,070 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info depth 1 seldepth 1 multipv 1 score cp -78 nodes 50 nps 25000 hashfull 0 tbhits 0 time 2 pv f1g2 f8c5
2024-01-26 16:56:53,071 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info depth 2 seldepth 2 multipv 1 score cp -78 nodes 87 nps 43500 hashfull 0 tbhits 0 time 2 pv f1g2 f8c5
2024-01-26 16:56:53,071 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> bestmove f1g2 ponder f8c5
2024-01-26 16:56:53,071 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5 f1g2
2024-01-26 16:56:53,071 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << go depth 2
2024-01-26 16:56:53,072 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:53,072 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info depth 1 seldepth 1 multipv 1 score cp 78 nodes 38 nps 38000 hashfull 0 tbhits 0 time 1 pv f8c5
2024-01-26 16:56:53,072 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info depth 2 seldepth 2 multipv 1 score cp 78 nodes 74 nps 74000 hashfull 0 tbhits 0 time 1 pv f8c5
2024-01-26 16:56:53,072 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> bestmove f8c5
2024-01-26 16:56:53,072 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << position startpos moves g1h3 g8f6 d2d4 d7d5 g2g3 c7c5 d4c5 e7e5 f1g2 f8c5
2024-01-26 16:56:53,072 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << go depth 2
2024-01-26 16:56:53,073 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info string NNUE evaluation using nn-5af11540bbfe.nnue enabled
2024-01-26 16:56:53,073 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info depth 1 seldepth 1 multipv 1 score cp -80 nodes 50 nps 50000 hashfull 0 tbhits 0 time 1 pv c2c4
2024-01-26 16:56:53,073 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> info depth 2 seldepth 2 multipv 1 score cp -80 nodes 87 nps 87000 hashfull 0 tbhits 0 time 1 pv c2c4
2024-01-26 16:56:53,073 chess.engine (engine.py:1088) DEBUG <UciProtocol (pid=100981)>: >> bestmove c2c4
2024-01-26 16:56:53,073 chess.engine (engine.py:1062) DEBUG <UciProtocol (pid=100981)>: << quit
2024-01-26 16:56:53,077 chess.engine (engine.py:1059) DEBUG <UciProtocol (pid=100981)>: Process exited
2024-01-26 16:56:53,078 chess.engine (engine.py:1046) DEBUG <UciProtocol (pid=100981)>: Connection lost (exit code: 0, error: None)
2024-01-26 16:56:53,078 backoff (_common.py:105) INFO Backing off play_game(...) for 0.8s (TypeError: cannot unpack non-iterable NoneType object)
2024-01-26 16:56:53,078 lib.lichess (lichess.py:63) DEBUG Backing off 0.8 seconds after 4 tries calling function <function play_game at 0x7ffb25b9ed40> with args () and kwargs {'li': <lib.lichess.Lichess object at 0x7ffb25ba9b40>, 'control_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7ffb25bef9a0>, 'user_profile': {'id': 'probabilistic-bot', 'username': 'probabilistic-bot', 'perfs': {'blitz': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'bullet': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'correspondence': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'classical': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}, 'rapid': {'games': 0, 'rating': 2000, 'rd': 500, 'prog': 0, 'prov': True}}, 'title': 'BOT', 'createdAt': 1706196643794, 'seenAt': 1706284268775, 'playTime': {'total': 1252, 'tv': 0}, 'url': 'https://lichess.org/@/probabilistic-bot', 'count': {'all': 5, 'rated': 0, 'ai': 0, 'draw': 0, 'drawH': 0, 'loss': 4, 'lossH': 4, 'win': 1, 'winH': 1, 'bookmark': 0, 'playing': 0, 'import': 0, 'me': 0}, 'followable': True, 'following': False, 'blocking': False, 'followsYou': False}, 'config': <lib.config.Configuration object at 0x7ffb25befd60>, 'challenge_queue': <ListProxy object, typeid 'list' at 0x7ffb25bef9d0>, 'correspondence_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7ffb25befcd0>, 'logging_queue': <AutoProxy[Queue] object, typeid 'Queue' at 0x7ffb25beff70>, 'game_id': 'KGZF6I6j'}
2024-01-26 16:56:53,078 lib.lichess (lichess.py:65) DEBUG Exception: Traceback (most recent call last):
File "/home/luke/projects/pp-project/chess-engine-pp/.venv/lib/python3.10/site-packages/backoff/_sync.py", line 105, in retry
ret = target(*args, **kwargs)
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lichess-bot.py", line 620, in play_game
engine.play_move(board,
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lib/engine_wrapper.py", line 157, in play_move
best_move = self.search(board, time_limit, can_ponder, draw_offered, best_move)
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lib/strategies.py", line 105, in search
mean, std = engine.simulate_game(board.copy(), move, 10)
TypeError: cannot unpack non-iterable NoneType object
2024-01-26 16:56:53,636 __mp_main__ (lichess-bot.py:65) DEBUG Received SIGINT. Terminating client.
2024-01-26 16:56:53,636 __mp_main__ (lichess-bot.py:65) DEBUG Received SIGINT. Terminating client.
2024-01-26 16:56:54,074 __main__ (lichess-bot.py:1091) ERROR Quitting lichess_bot due to an error:
2024-01-27 22:11:41,020 lib.config (config.py:262) DEBUG ====================
2024-01-27 22:11:41,020 __main__ (lichess-bot.py:1026) INFO Checking engine configuration ...
2024-01-27 22:11:41,069 lib.engine_wrapper (engine_wrapper.py:65) DEBUG Starting engine: ['/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/engines/MctsEngine']
2024-01-27 22:11:41,069 __main__ (lichess-bot.py:1029) INFO Engine configuration OK
2024-01-27 22:11:41,071 urllib3.connectionpool (connectionpool.py:1052) DEBUG Starting new HTTPS connection (1): lichess.org:443
2024-01-27 22:11:41,218 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/token/test HTTP/1.1" 200 None
2024-01-27 22:11:41,254 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "GET /api/account HTTP/1.1" 200 None
2024-01-27 22:11:41,254 __main__ (lichess-bot.py:1038) INFO Welcome probabilistic-bot!
2024-01-27 22:11:41,255 __main__ (lichess-bot.py:206) INFO You're now connected to https://lichess.org/ and awaiting challenges.
2024-01-27 22:11:41,514 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "GET /api/account/playing HTTP/1.1" 200 17
2024-01-27 22:11:50,449 __main__ (lichess-bot.py:370) DEBUG Event: {'type': 'challenge', 'challenge': {'id': 'toJfqr5x', 'url': 'https://lichess.org/toJfqr5x', 'status': 'created', 'challenger': {'id': 'luk3k', 'name': 'luk3k', 'rating': 1500, 'title': None, 'provisional': True, 'online': True, 'lag': 4}, 'destUser': {'id': 'probabilistic-bot', 'name': 'probabilistic-bot', 'rating': 2000, 'title': 'BOT', 'provisional': True, 'online': True}, 'variant': {'key': 'standard', 'name': 'Standard', 'short': 'Std'}, 'rated': False, 'speed': 'blitz', 'timeControl': {'type': 'clock', 'limit': 300, 'increment': 3, 'show': '5+3'}, 'color': 'white', 'finalColor': 'white', 'perf': {'icon': '\ue01d', 'name': 'Blitz'}}, 'compat': {'bot': True, 'board': True}}
2024-01-27 22:11:50,450 __main__ (lichess-bot.py:421) INFO Accept Blitz casual challenge from luk3k (1500?) (toJfqr5x)
2024-01-27 22:11:50,491 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/challenge/toJfqr5x/accept HTTP/1.1" 200 11
2024-01-27 22:11:50,491 __main__ (lichess-bot.py:254) INFO --- Process Queued. Count: 1. IDs: {'toJfqr5x'}
2024-01-27 22:11:50,492 __main__ (lichess-bot.py:370) DEBUG Event: {'type': 'gameStart', 'game': {'fullId': 'toJfqr5x0Gme', 'gameId': 'toJfqr5x', 'fen': 'rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1', 'color': 'black', 'lastMove': '', 'source': 'friend', 'status': {'id': 20, 'name': 'started'}, 'variant': {'key': 'standard', 'name': 'Standard'}, 'speed': 'blitz', 'perf': 'blitz', 'rated': False, 'hasMoved': False, 'opponent': {'id': 'luk3k', 'username': 'luk3k', 'rating': 1500}, 'isMyTurn': False, 'secondsLeft': 300, 'compat': {'bot': True, 'board': True}, 'id': 'toJfqr5x'}}
2024-01-27 22:11:50,492 __main__ (lichess-bot.py:254) INFO --- Process Used. Count: 1. IDs: {'toJfqr5x'}
2024-01-27 22:11:50,498 urllib3.connectionpool (connectionpool.py:1052) DEBUG Starting new HTTPS connection (1): lichess.org:443
2024-01-27 22:11:50,646 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "GET /api/bot/game/stream/toJfqr5x HTTP/1.1" 200 None
2024-01-27 22:11:50,646 __mp_main__ (lichess-bot.py:572) DEBUG Initial state: {'id': 'toJfqr5x', 'variant': {'key': 'standard', 'name': 'Standard', 'short': 'Std'}, 'speed': 'blitz', 'perf': {'name': 'Blitz'}, 'rated': False, 'createdAt': 1706389910474, 'white': {'id': 'luk3k', 'name': 'luk3k', 'title': None, 'rating': 1500, 'provisional': True}, 'black': {'id': 'probabilistic-bot', 'name': 'probabilistic-bot', 'title': 'BOT', 'rating': 2000, 'provisional': True}, 'initialFen': 'startpos', 'clock': {'initial': 300000, 'increment': 3000}, 'type': 'gameFull', 'state': {'type': 'gameState', 'moves': '', 'wtime': 300000, 'btime': 300000, 'winc': 3000, 'binc': 3000, 'status': 'started'}}
2024-01-27 22:11:50,727 lib.engine_wrapper (engine_wrapper.py:65) DEBUG Starting engine: ['/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/engines/MctsEngine']
2024-01-27 22:11:50,728 __mp_main__ (lichess-bot.py:578) DEBUG The engine for game toJfqr5x has pid=?
2024-01-27 22:11:50,728 __mp_main__ (lichess-bot.py:581) INFO +++ https://lichess.org/toJfqr5x/black Blitz vs luk3k (1500?) (toJfqr5x)
2024-01-27 22:11:52,151 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4', 'wtime': 300000, 'btime': 300000, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:11:52,151 lib.conversation (conversation.py:83) INFO *** https://lichess.org/toJfqr5x/black [player] probabilistic-bot: Hi! I'm probabilistic-bot. Good luck! Type !help for a list of commands I can respond to.
2024-01-27 22:11:52,152 urllib3.connectionpool (connectionpool.py:1052) DEBUG Starting new HTTPS connection (2): lichess.org:443
2024-01-27 22:11:52,303 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/chat HTTP/1.1" 200 11
2024-01-27 22:11:52,304 lib.conversation (conversation.py:83) INFO *** https://lichess.org/toJfqr5x/black [spectator] probabilistic-bot: Hi! I'm probabilistic-bot. Type !help for a list of commands I can respond to.
2024-01-27 22:11:52,338 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/chat HTTP/1.1" 200 11
2024-01-27 22:11:52,338 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:11:52,338 __mp_main__ (lichess-bot.py:689) INFO move: 1
2024-01-27 22:11:52,339 lib.engine_wrapper (engine_wrapper.py:650) INFO Searching for time 10 seconds for game toJfqr5x
2024-01-27 22:11:58,280 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:11:58,314 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/c7c6?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:11:58,314 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'chatLine', 'room': 'player', 'username': 'probabilistic-bot', 'text': "Hi! I'm probabilistic-bot. Good luck! Type !help for a list of commands I can respond to."}
2024-01-27 22:11:58,315 lib.conversation (conversation.py:42) INFO *** https://lichess.org/toJfqr5x/black [player] probabilistic-bot: Hi! I'm probabilistic-bot. Good luck! Type !help for a list of commands I can respond to.
2024-01-27 22:11:58,315 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'chatLine', 'room': 'spectator', 'username': 'probabilistic-bot', 'text': "Hi! I'm probabilistic-bot. Type !help for a list of commands I can respond to."}
2024-01-27 22:11:58,315 lib.conversation (conversation.py:42) INFO *** https://lichess.org/toJfqr5x/black [spectator] probabilistic-bot: Hi! I'm probabilistic-bot. Type !help for a list of commands I can respond to.
2024-01-27 22:11:58,315 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6', 'wtime': 300000, 'btime': 300000, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:12:00,302 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4', 'wtime': 301040, 'btime': 300000, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:12:00,302 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:12:00,302 __mp_main__ (lichess-bot.py:689) INFO move: 2
2024-01-27 22:12:00,303 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 301040 btime 298000 for game toJfqr5x
2024-01-27 22:12:04,689 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:12:04,723 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/d8a5?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:12:04,723 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5', 'wtime': 301040, 'btime': 298580, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:12:15,587 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2', 'wtime': 293210, 'btime': 298580, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:12:15,588 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:12:15,588 __mp_main__ (lichess-bot.py:689) INFO move: 3
2024-01-27 22:12:15,588 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 293210 btime 296580 for game toJfqr5x
2024-01-27 22:12:20,912 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:12:20,914 urllib3.connectionpool (connectionpool.py:292) DEBUG Resetting dropped connection: lichess.org
2024-01-27 22:12:21,067 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/a5d2?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:12:21,068 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2', 'wtime': 293210, 'btime': 296100, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:12:26,950 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2', 'wtime': 290370, 'btime': 296100, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:12:26,951 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:12:26,951 __mp_main__ (lichess-bot.py:689) INFO move: 4
2024-01-27 22:12:26,951 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 290370 btime 294100 for game toJfqr5x
2024-01-27 22:12:32,425 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:12:32,426 urllib3.connectionpool (connectionpool.py:292) DEBUG Resetting dropped connection: lichess.org
2024-01-27 22:12:32,580 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/b7b5?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:12:32,581 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5', 'wtime': 290370, 'btime': 293460, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:12:35,743 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4', 'wtime': 290240, 'btime': 293460, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:12:35,743 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:12:35,743 __mp_main__ (lichess-bot.py:689) INFO move: 5
2024-01-27 22:12:35,744 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 290240 btime 291460 for game toJfqr5x
2024-01-27 22:12:40,974 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:12:41,009 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/c6c5?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:12:41,010 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5', 'wtime': 290240, 'btime': 291190, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:12:42,943 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5', 'wtime': 291350, 'btime': 291190, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:12:42,944 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:12:42,944 __mp_main__ (lichess-bot.py:689) INFO move: 6
2024-01-27 22:12:42,944 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 291350 btime 289190 for game toJfqr5x
2024-01-27 22:12:48,153 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:12:48,188 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/c8b7?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:12:48,188 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7', 'wtime': 291350, 'btime': 288940, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:12:51,340 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6', 'wtime': 291230, 'btime': 288940, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:12:51,341 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:12:51,341 __mp_main__ (lichess-bot.py:689) INFO move: 7
2024-01-27 22:12:51,341 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 291230 btime 286940 for game toJfqr5x
2024-01-27 22:12:56,856 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:12:56,890 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/e7e5?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:12:56,890 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5', 'wtime': 291230, 'btime': 286390, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:13:01,520 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7', 'wtime': 289630, 'btime': 286390, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:13:01,521 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:13:01,521 __mp_main__ (lichess-bot.py:689) INFO move: 8
2024-01-27 22:13:01,521 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 289630 btime 284390 for game toJfqr5x
2024-01-27 22:13:06,952 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:13:06,952 urllib3.connectionpool (connectionpool.py:292) DEBUG Resetting dropped connection: lichess.org
2024-01-27 22:13:07,108 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/a7a5?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:13:07,109 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5', 'wtime': 289630, 'btime': 283800, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:13:08,300 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8', 'wtime': 291470, 'btime': 283800, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:13:08,300 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:13:08,301 __mp_main__ (lichess-bot.py:689) INFO move: 9
2024-01-27 22:13:08,301 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 291470 btime 281800 for game toJfqr5x
2024-01-27 22:13:13,596 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:13:13,627 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/e8d8?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:13:13,627 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8', 'wtime': 291470, 'btime': 281470, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:13:13,662 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8', 'wtime': 294470, 'btime': 281470, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:13:13,663 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:13:13,663 __mp_main__ (lichess-bot.py:689) INFO move: 10
2024-01-27 22:13:13,663 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 294470 btime 279470 for game toJfqr5x
2024-01-27 22:13:18,932 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:13:18,976 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/d8e7?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:13:18,977 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7', 'wtime': 294470, 'btime': 279170, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:13:22,834 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5', 'wtime': 293640, 'btime': 279170, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:13:22,835 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:13:22,836 __mp_main__ (lichess-bot.py:689) INFO move: 11
2024-01-27 22:13:22,836 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 293640 btime 277170 for game toJfqr5x
2024-01-27 22:13:28,240 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:13:28,273 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/e7d8?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:13:28,274 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8', 'wtime': 293640, 'btime': 276730, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:13:29,175 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7', 'wtime': 295770, 'btime': 276730, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:13:29,175 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:13:29,176 __mp_main__ (lichess-bot.py:689) INFO move: 12
2024-01-27 22:13:29,176 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 295770 btime 274730 for game toJfqr5x
2024-01-27 22:13:34,457 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:13:34,492 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/d8c8?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:13:34,494 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8', 'wtime': 295770, 'btime': 274410, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:13:43,878 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5', 'wtime': 289420, 'btime': 274410, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:13:43,879 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:13:43,879 __mp_main__ (lichess-bot.py:689) INFO move: 13
2024-01-27 22:13:43,879 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 289420 btime 272410 for game toJfqr5x
2024-01-27 22:13:49,127 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:13:49,128 urllib3.connectionpool (connectionpool.py:292) DEBUG Resetting dropped connection: lichess.org
2024-01-27 22:13:49,303 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/g8h6?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:13:49,304 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6', 'wtime': 289420, 'btime': 271980, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:13:59,335 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7', 'wtime': 282420, 'btime': 271980, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:13:59,337 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:13:59,337 __mp_main__ (lichess-bot.py:689) INFO move: 14
2024-01-27 22:13:59,337 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 282420 btime 269979 for game toJfqr5x
2024-01-27 22:14:04,720 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:14:04,721 urllib3.connectionpool (connectionpool.py:292) DEBUG Resetting dropped connection: lichess.org
2024-01-27 22:14:04,901 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/h6f7?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:14:04,902 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7', 'wtime': 282420, 'btime': 269430, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:14:29,769 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7', 'wtime': 260580, 'btime': 269430, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:14:29,770 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:14:29,770 __mp_main__ (lichess-bot.py:689) INFO move: 15
2024-01-27 22:14:29,770 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 260580 btime 267430 for game toJfqr5x
2024-01-27 22:14:35,202 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:14:35,203 urllib3.connectionpool (connectionpool.py:292) DEBUG Resetting dropped connection: lichess.org
2024-01-27 22:14:35,362 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/c8b7?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:14:35,363 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7', 'wtime': 260580, 'btime': 266840, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:15:27,619 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3', 'wtime': 211350, 'btime': 266840, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:15:27,620 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:15:27,620 __mp_main__ (lichess-bot.py:689) INFO move: 16
2024-01-27 22:15:27,620 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 211350 btime 264840 for game toJfqr5x
2024-01-27 22:15:33,238 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:15:33,239 urllib3.connectionpool (connectionpool.py:292) DEBUG Resetting dropped connection: lichess.org
2024-01-27 22:15:33,398 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/b7c7?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:15:33,399 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7', 'wtime': 211350, 'btime': 264060, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:15:33,431 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5', 'wtime': 214350, 'btime': 264060, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:15:33,433 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:15:33,433 __mp_main__ (lichess-bot.py:689) INFO move: 17
2024-01-27 22:15:33,433 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 214350 btime 262060 for game toJfqr5x
2024-01-27 22:15:38,982 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:15:39,015 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/f7e5?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:15:39,016 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5', 'wtime': 214350, 'btime': 261480, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:15:40,273 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5', 'wtime': 216120, 'btime': 261480, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:15:40,275 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:15:40,275 __mp_main__ (lichess-bot.py:689) INFO move: 18
2024-01-27 22:15:40,275 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 216120 btime 259480 for game toJfqr5x
2024-01-27 22:15:45,565 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:15:45,599 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/f8a3?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:15:45,600 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3', 'wtime': 216120, 'btime': 259150, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:15:45,634 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6', 'wtime': 219120, 'btime': 259150, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:15:45,635 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:15:45,635 __mp_main__ (lichess-bot.py:689) INFO move: 19
2024-01-27 22:15:45,635 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 219120 btime 257150 for game toJfqr5x
2024-01-27 22:15:50,860 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:15:50,894 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/a3f8?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:15:50,895 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8', 'wtime': 219120, 'btime': 256890, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:15:50,935 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7', 'wtime': 222120, 'btime': 256890, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:15:50,936 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:15:50,936 __mp_main__ (lichess-bot.py:689) INFO move: 20
2024-01-27 22:15:50,936 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 222120 btime 254890 for game toJfqr5x
2024-01-27 22:15:56,093 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:15:56,139 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/h7h6?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:15:56,140 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6', 'wtime': 222120, 'btime': 254700, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:15:57,008 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q', 'wtime': 224290, 'btime': 254700, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:15:57,009 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:15:57,009 __mp_main__ (lichess-bot.py:689) INFO move: 21
2024-01-27 22:15:57,010 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 224290 btime 252700 for game toJfqr5x
2024-01-27 22:16:02,231 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:16:02,265 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/c7d7?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:16:02,266 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7', 'wtime': 224290, 'btime': 252430, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:16:02,305 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8', 'wtime': 227290, 'btime': 252430, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:16:02,306 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:16:02,306 __mp_main__ (lichess-bot.py:689) INFO move: 22
2024-01-27 22:16:02,306 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 227290 btime 250430 for game toJfqr5x
2024-01-27 22:16:07,234 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:16:07,269 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/a5a4?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:16:07,269 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4', 'wtime': 227290, 'btime': 250470, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:16:07,307 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4', 'wtime': 230290, 'btime': 250470, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:16:07,308 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:16:07,308 __mp_main__ (lichess-bot.py:689) INFO move: 23
2024-01-27 22:16:07,308 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 230290 btime 248470 for game toJfqr5x
2024-01-27 22:16:12,351 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:16:12,386 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/d7c6?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:16:12,387 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6', 'wtime': 230290, 'btime': 248390, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:16:12,425 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5', 'wtime': 233290, 'btime': 248390, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:16:12,426 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:16:12,426 __mp_main__ (lichess-bot.py:689) INFO move: 24
2024-01-27 22:16:12,426 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 233290 btime 246390 for game toJfqr5x
2024-01-27 22:16:17,419 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:16:17,452 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/h6g5?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:16:17,452 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5', 'wtime': 233290, 'btime': 246360, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:16:18,841 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5', 'wtime': 234930, 'btime': 246360, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:16:18,842 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:16:18,843 __mp_main__ (lichess-bot.py:689) INFO move: 25
2024-01-27 22:16:18,843 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 234930 btime 244360 for game toJfqr5x
2024-01-27 22:16:23,872 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:16:23,916 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/c6d6?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:16:23,916 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6', 'wtime': 234930, 'btime': 244280, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:16:25,061 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4', 'wtime': 236820, 'btime': 244280, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:16:25,062 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:16:25,062 __mp_main__ (lichess-bot.py:689) INFO move: 26
2024-01-27 22:16:25,062 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 236820 btime 242280 for game toJfqr5x
2024-01-27 22:16:30,158 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:16:30,191 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/d6c6?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:16:30,193 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6', 'wtime': 236820, 'btime': 242150, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:16:30,231 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7', 'wtime': 239820, 'btime': 242150, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:16:30,232 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:16:30,232 __mp_main__ (lichess-bot.py:689) INFO move: 27
2024-01-27 22:16:30,233 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 239820 btime 240150 for game toJfqr5x
2024-01-27 22:16:35,313 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:16:35,349 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/a4a3?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:16:35,349 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3', 'wtime': 239820, 'btime': 240030, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:16:35,388 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5', 'wtime': 242820, 'btime': 240030, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:16:35,390 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:16:35,390 __mp_main__ (lichess-bot.py:689) INFO move: 28
2024-01-27 22:16:35,390 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 242820 btime 238030 for game toJfqr5x
2024-01-27 22:16:40,404 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:16:40,483 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/c6b6?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:16:40,484 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5 c6b6', 'wtime': 242820, 'btime': 237940, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:16:40,513 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5 c6b6 h5h6', 'wtime': 245820, 'btime': 237940, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:16:40,514 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:16:40,514 __mp_main__ (lichess-bot.py:689) INFO move: 29
2024-01-27 22:16:40,514 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 245820 btime 235940 for game toJfqr5x
2024-01-27 22:16:41,794 __main__ (lichess-bot.py:370) DEBUG Event: {'type': 'correspondence_ping'}
2024-01-27 22:16:45,504 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:16:45,538 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/b6c5?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:16:45,538 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5 c6b6 h5h6 b6c5', 'wtime': 245820, 'btime': 235910, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:16:45,572 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5 c6b6 h5h6 b6c5 h6h7', 'wtime': 248820, 'btime': 235910, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:16:45,573 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:16:45,573 __mp_main__ (lichess-bot.py:689) INFO move: 30
2024-01-27 22:16:45,573 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 248820 btime 233910 for game toJfqr5x
2024-01-27 22:16:50,603 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:16:50,635 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/c5c4?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:16:50,636 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5 c6b6 h5h6 b6c5 h6h7 c5c4', 'wtime': 248820, 'btime': 233850, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:16:52,370 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5 c6b6 h5h6 b6c5 h6h7 c5c4 h7h8q', 'wtime': 250120, 'btime': 233850, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:16:52,372 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:16:52,372 __mp_main__ (lichess-bot.py:689) INFO move: 31
2024-01-27 22:16:52,372 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 250120 btime 231850 for game toJfqr5x
2024-01-27 22:16:57,767 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:16:57,826 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/a3b2?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:16:57,827 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5 c6b6 h5h6 b6c5 h6h7 c5c4 h7h8q a3b2', 'wtime': 250120, 'btime': 231400, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:17:02,316 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5 c6b6 h5h6 b6c5 h6h7 c5c4 h7h8q a3b2 h8h3', 'wtime': 248660, 'btime': 231400, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:17:02,317 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:17:02,317 __mp_main__ (lichess-bot.py:689) INFO move: 32
2024-01-27 22:17:02,318 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 248660 btime 229400 for game toJfqr5x
2024-01-27 22:17:07,749 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:17:07,783 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/c4b5?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:17:07,784 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5 c6b6 h5h6 b6c5 h6h7 c5c4 h7h8q a3b2 h8h3 c4b5', 'wtime': 248660, 'btime': 228930, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:17:11,105 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5 c6b6 h5h6 b6c5 h6h7 c5c4 h7h8q a3b2 h8h3 c4b5 h3g4', 'wtime': 248370, 'btime': 228930, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:17:11,106 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:17:11,107 __mp_main__ (lichess-bot.py:689) INFO move: 33
2024-01-27 22:17:11,107 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 248370 btime 226930 for game toJfqr5x
2024-01-27 22:17:16,508 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:17:16,540 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/b2a1q?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:17:16,541 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5 c6b6 h5h6 b6c5 h6h7 c5c4 h7h8q a3b2 h8h3 c4b5 h3g4 b2a1q', 'wtime': 248370, 'btime': 226490, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:17:22,436 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5 c6b6 h5h6 b6c5 h6h7 c5c4 h7h8q a3b2 h8h3 c4b5 h3g4 b2a1q g7a1', 'wtime': 245500, 'btime': 226490, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:17:22,438 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:17:22,438 __mp_main__ (lichess-bot.py:689) INFO move: 34
2024-01-27 22:17:22,438 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 245500 btime 224490 for game toJfqr5x
2024-01-27 22:17:27,589 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:17:27,590 urllib3.connectionpool (connectionpool.py:292) DEBUG Resetting dropped connection: lichess.org
2024-01-27 22:17:27,743 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/b5c5?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:17:27,743 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5 c6b6 h5h6 b6c5 h6h7 c5c4 h7h8q a3b2 h8h3 c4b5 h3g4 b2a1q g7a1 b5c5', 'wtime': 245500, 'btime': 224180, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:17:28,992 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5 c6b6 h5h6 b6c5 h6h7 c5c4 h7h8q a3b2 h8h3 c4b5 h3g4 b2a1q g7a1 b5c5 a1e5', 'wtime': 247280, 'btime': 224180, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:17:28,994 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:17:28,994 __mp_main__ (lichess-bot.py:689) INFO move: 35
2024-01-27 22:17:28,994 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 247280 btime 222180 for game toJfqr5x
2024-01-27 22:17:33,971 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:17:34,004 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/c5b6?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:17:34,005 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5 c6b6 h5h6 b6c5 h6h7 c5c4 h7h8q a3b2 h8h3 c4b5 h3g4 b2a1q g7a1 b5c5 a1e5 c5b6', 'wtime': 247280, 'btime': 222170, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:17:34,040 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5 c6b6 h5h6 b6c5 h6h7 c5c4 h7h8q a3b2 h8h3 c4b5 h3g4 b2a1q g7a1 b5c5 a1e5 c5b6 g5e4', 'wtime': 250280, 'btime': 222170, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:17:34,042 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:17:34,042 __mp_main__ (lichess-bot.py:689) INFO move: 36
2024-01-27 22:17:34,042 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 250280 btime 220170 for game toJfqr5x
2024-01-27 22:17:39,041 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:17:39,072 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/b6a6?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:17:39,073 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5 c6b6 h5h6 b6c5 h6h7 c5c4 h7h8q a3b2 h8h3 c4b5 h3g4 b2a1q g7a1 b5c5 a1e5 c5b6 g5e4 b6a6', 'wtime': 250280, 'btime': 220140, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:17:39,108 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5 c6b6 h5h6 b6c5 h6h7 c5c4 h7h8q a3b2 h8h3 c4b5 h3g4 b2a1q g7a1 b5c5 a1e5 c5b6 g5e4 b6a6 g4g6', 'wtime': 253280, 'btime': 220140, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:17:39,110 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:17:39,110 __mp_main__ (lichess-bot.py:689) INFO move: 37
2024-01-27 22:17:39,110 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 253280 btime 218140 for game toJfqr5x
2024-01-27 22:17:41,173 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:17:41,205 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/a6b7?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:17:41,206 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5 c6b6 h5h6 b6c5 h6h7 c5c4 h7h8q a3b2 h8h3 c4b5 h3g4 b2a1q g7a1 b5c5 a1e5 c5b6 g5e4 b6a6 g4g6 a6b7', 'wtime': 253280, 'btime': 221040, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:17:41,244 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5 c6b6 h5h6 b6c5 h6h7 c5c4 h7h8q a3b2 h8h3 c4b5 h3g4 b2a1q g7a1 b5c5 a1e5 c5b6 g5e4 b6a6 g4g6 a6b7 e5e7', 'wtime': 256280, 'btime': 221040, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:17:41,246 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:17:41,246 __mp_main__ (lichess-bot.py:689) INFO move: 38
2024-01-27 22:17:41,246 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 256280 btime 219040 for game toJfqr5x
2024-01-27 22:17:42,549 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:17:42,577 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/move/b7a8?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:17:42,578 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5 c6b6 h5h6 b6c5 h6h7 c5c4 h7h8q a3b2 h8h3 c4b5 h3g4 b2a1q g7a1 b5c5 a1e5 c5b6 g5e4 b6a6 g4g6 a6b7 e5e7 b7a8', 'wtime': 256280, 'btime': 222710, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:17:42,623 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'e2e4 c7c6 d2d4 d8a5 c1d2 a5d2 d1d2 b7b5 d2b4 c6c5 b4c5 c8b7 c5c6 e7e5 c6b7 a7a5 b7a8 e8d8 a8b8 d8e7 b8e5 e7d8 e5e7 d8c8 f1b5 g8h6 e7f7 h6f7 b5d7 c8b7 g1f3 b7c7 e4e5 f7e5 d4e5 f8a3 e5e6 a3f8 e6e7 h7h6 e7f8q c7d7 f8h8 a5a4 g2g4 d7c6 g4g5 h6g5 f3g5 c6d6 h2h4 d6c6 h8g7 a4a3 h4h5 c6b6 h5h6 b6c5 h6h7 c5c4 h7h8q a3b2 h8h3 c4b5 h3g4 b2a1q g7a1 b5c5 a1e5 c5b6 g5e4 b6a6 g4g6 a6b7 e5e7 b7a8 g6g8', 'wtime': 256280, 'btime': 222710, 'winc': 3000, 'binc': 3000, 'status': 'mate', 'winner': 'white'}
2024-01-27 22:17:42,623 __main__ (lichess-bot.py:370) DEBUG Event: {'type': 'gameFinish', 'game': {'fullId': 'toJfqr5x0Gme', 'gameId': 'toJfqr5x', 'fen': 'k5Q1/4Q3/8/8/4N3/8/P1P2P2/1N2K2R b K - 10 39', 'color': 'black', 'lastMove': 'g6g8', 'source': 'friend', 'status': {'id': 30, 'name': 'mate'}, 'variant': {'key': 'standard', 'name': 'Standard'}, 'speed': 'blitz', 'perf': 'blitz', 'rated': False, 'hasMoved': True, 'opponent': {'id': 'luk3k', 'username': 'luk3k', 'rating': 1500}, 'isMyTurn': False, 'secondsLeft': 223, 'winner': 'white', 'compat': {'bot': True, 'board': True}, 'id': 'toJfqr5x'}}
2024-01-27 22:17:42,625 __mp_main__ (lichess-bot.py:788) INFO luk3k won!
2024-01-27 22:17:42,625 __mp_main__ (lichess-bot.py:799) INFO Game won by checkmate.
2024-01-27 22:17:42,625 lib.conversation (conversation.py:83) INFO *** https://lichess.org/toJfqr5x/black [player] probabilistic-bot: Good game!
2024-01-27 22:17:42,654 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/chat HTTP/1.1" 200 11
2024-01-27 22:17:42,654 lib.conversation (conversation.py:83) INFO *** https://lichess.org/toJfqr5x/black [spectator] probabilistic-bot: Thanks for watching!
2024-01-27 22:17:42,684 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/toJfqr5x/chat HTTP/1.1" 200 11
2024-01-27 22:17:42,685 __mp_main__ (lichess-bot.py:762) INFO --- https://lichess.org/toJfqr5x/black Game over
2024-01-27 22:17:42,685 __main__ (lichess-bot.py:370) DEBUG Event: {'type': 'local_game_done', 'game': {'id': 'toJfqr5x', 'pgn': '', 'complete': True}}
2024-01-27 22:17:42,686 __main__ (lichess-bot.py:254) INFO +++ Process Freed. Count: 0. IDs: None
2024-01-27 22:17:46,261 __main__ (lichess-bot.py:370) DEBUG Event: {'type': 'challenge', 'challenge': {'id': 'jQ3Kc8pe', 'url': 'https://lichess.org/jQ3Kc8pe', 'status': 'created', 'challenger': {'id': 'luk3k', 'name': 'luk3k', 'rating': 1500, 'title': None, 'provisional': True, 'online': True, 'lag': 4}, 'destUser': {'id': 'probabilistic-bot', 'name': 'probabilistic-bot', 'rating': 2000, 'title': 'BOT', 'provisional': True, 'online': True}, 'variant': {'key': 'standard', 'name': 'Standard', 'short': 'Std'}, 'rated': False, 'speed': 'blitz', 'timeControl': {'type': 'clock', 'limit': 300, 'increment': 3, 'show': '5+3'}, 'color': 'black', 'finalColor': 'black', 'perf': {'icon': '\ue01d', 'name': 'Blitz'}, 'rematchOf': 'toJfqr5x'}, 'compat': {'bot': True, 'board': True}}
2024-01-27 22:17:46,262 __main__ (lichess-bot.py:421) INFO Accept Blitz casual challenge from luk3k (1500?) (jQ3Kc8pe)
2024-01-27 22:17:46,263 urllib3.connectionpool (connectionpool.py:292) DEBUG Resetting dropped connection: lichess.org
2024-01-27 22:17:46,450 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/challenge/jQ3Kc8pe/accept HTTP/1.1" 200 11
2024-01-27 22:17:46,450 __main__ (lichess-bot.py:254) INFO --- Process Queued. Count: 1. IDs: {'jQ3Kc8pe'}
2024-01-27 22:17:46,596 __main__ (lichess-bot.py:370) DEBUG Event: {'type': 'gameStart', 'game': {'fullId': 'jQ3Kc8pe4E7R', 'gameId': 'jQ3Kc8pe', 'fen': 'rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1', 'color': 'white', 'lastMove': '', 'source': 'friend', 'status': {'id': 20, 'name': 'started'}, 'variant': {'key': 'standard', 'name': 'Standard'}, 'speed': 'blitz', 'perf': 'blitz', 'rated': False, 'hasMoved': False, 'opponent': {'id': 'luk3k', 'username': 'luk3k', 'rating': 1500}, 'isMyTurn': True, 'secondsLeft': 300, 'compat': {'bot': True, 'board': True}, 'id': 'jQ3Kc8pe'}}
2024-01-27 22:17:46,596 __main__ (lichess-bot.py:254) INFO --- Process Used. Count: 1. IDs: {'jQ3Kc8pe'}
2024-01-27 22:17:46,603 urllib3.connectionpool (connectionpool.py:1052) DEBUG Starting new HTTPS connection (1): lichess.org:443
2024-01-27 22:17:46,758 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "GET /api/bot/game/stream/jQ3Kc8pe HTTP/1.1" 200 None
2024-01-27 22:17:46,759 __mp_main__ (lichess-bot.py:572) DEBUG Initial state: {'id': 'jQ3Kc8pe', 'variant': {'key': 'standard', 'name': 'Standard', 'short': 'Std'}, 'speed': 'blitz', 'perf': {'name': 'Blitz'}, 'rated': False, 'createdAt': 1706390266578, 'white': {'id': 'probabilistic-bot', 'name': 'probabilistic-bot', 'title': 'BOT', 'rating': 2000, 'provisional': True}, 'black': {'id': 'luk3k', 'name': 'luk3k', 'title': None, 'rating': 1500, 'provisional': True}, 'initialFen': 'startpos', 'clock': {'initial': 300000, 'increment': 3000}, 'type': 'gameFull', 'state': {'type': 'gameState', 'moves': '', 'wtime': 300000, 'btime': 300000, 'winc': 3000, 'binc': 3000, 'status': 'started'}}
2024-01-27 22:17:46,833 lib.engine_wrapper (engine_wrapper.py:65) DEBUG Starting engine: ['/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/engines/MctsEngine']
2024-01-27 22:17:46,833 __mp_main__ (lichess-bot.py:578) DEBUG The engine for game jQ3Kc8pe has pid=?
2024-01-27 22:17:46,833 __mp_main__ (lichess-bot.py:581) INFO +++ https://lichess.org/jQ3Kc8pe/white Blitz vs luk3k (1500?) (jQ3Kc8pe)
2024-01-27 22:17:46,833 lib.conversation (conversation.py:83) INFO *** https://lichess.org/jQ3Kc8pe/white [player] probabilistic-bot: Hi! I'm probabilistic-bot. Good luck! Type !help for a list of commands I can respond to.
2024-01-27 22:17:46,834 urllib3.connectionpool (connectionpool.py:1052) DEBUG Starting new HTTPS connection (2): lichess.org:443
2024-01-27 22:17:46,978 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/jQ3Kc8pe/chat HTTP/1.1" 200 11
2024-01-27 22:17:46,979 lib.conversation (conversation.py:83) INFO *** https://lichess.org/jQ3Kc8pe/white [spectator] probabilistic-bot: Hi! I'm probabilistic-bot. Type !help for a list of commands I can respond to.
2024-01-27 22:17:47,008 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/jQ3Kc8pe/chat HTTP/1.1" 200 11
2024-01-27 22:17:47,009 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:17:47,009 __mp_main__ (lichess-bot.py:689) INFO move: 1
2024-01-27 22:17:47,009 lib.engine_wrapper (engine_wrapper.py:650) INFO Searching for time 10 seconds for game jQ3Kc8pe
2024-01-27 22:17:52,275 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:17:52,312 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/jQ3Kc8pe/move/g1f3?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:17:52,313 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'chatLine', 'room': 'player', 'username': 'probabilistic-bot', 'text': "Hi! I'm probabilistic-bot. Good luck! Type !help for a list of commands I can respond to."}
2024-01-27 22:17:52,313 lib.conversation (conversation.py:42) INFO *** https://lichess.org/jQ3Kc8pe/white [player] probabilistic-bot: Hi! I'm probabilistic-bot. Good luck! Type !help for a list of commands I can respond to.
2024-01-27 22:17:52,313 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'chatLine', 'room': 'spectator', 'username': 'probabilistic-bot', 'text': "Hi! I'm probabilistic-bot. Type !help for a list of commands I can respond to."}
2024-01-27 22:17:52,313 lib.conversation (conversation.py:42) INFO *** https://lichess.org/jQ3Kc8pe/white [spectator] probabilistic-bot: Hi! I'm probabilistic-bot. Type !help for a list of commands I can respond to.
2024-01-27 22:17:52,314 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3', 'wtime': 300000, 'btime': 300000, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:17:57,685 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3 e7e5', 'wtime': 300000, 'btime': 300000, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:17:57,686 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:17:57,686 __mp_main__ (lichess-bot.py:689) INFO move: 2
2024-01-27 22:17:57,686 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 298000 btime 300000 for game jQ3Kc8pe
2024-01-27 22:18:02,617 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:18:02,618 urllib3.connectionpool (connectionpool.py:292) DEBUG Resetting dropped connection: lichess.org
2024-01-27 22:18:02,777 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/jQ3Kc8pe/move/b2b3?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:18:02,778 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3 e7e5 b2b3', 'wtime': 297910, 'btime': 300000, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:18:07,079 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3 e7e5 b2b3 e5e4', 'wtime': 297910, 'btime': 298730, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:18:07,079 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:18:07,080 __mp_main__ (lichess-bot.py:689) INFO move: 3
2024-01-27 22:18:07,080 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 295910 btime 298730 for game jQ3Kc8pe
2024-01-27 22:18:12,946 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:18:12,946 urllib3.connectionpool (connectionpool.py:292) DEBUG Resetting dropped connection: lichess.org
2024-01-27 22:18:13,105 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/jQ3Kc8pe/move/g2g3?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:18:13,106 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3 e7e5 b2b3 e5e4 g2g3', 'wtime': 294880, 'btime': 298730, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:18:13,920 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3 e7e5 b2b3 e5e4 g2g3 d7d5', 'wtime': 294880, 'btime': 300950, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:18:13,921 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:18:13,921 __mp_main__ (lichess-bot.py:689) INFO move: 4
2024-01-27 22:18:13,921 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 292880 btime 300950 for game jQ3Kc8pe
2024-01-27 22:18:19,395 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:18:19,429 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/jQ3Kc8pe/move/h2h3?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:18:19,430 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3 e7e5 b2b3 e5e4 g2g3 d7d5 h2h3', 'wtime': 292370, 'btime': 300950, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:18:19,468 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3 e7e5 b2b3 e5e4 g2g3 d7d5 h2h3 d8h4', 'wtime': 292370, 'btime': 303950, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:18:19,468 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:18:19,468 __mp_main__ (lichess-bot.py:689) INFO move: 5
2024-01-27 22:18:19,469 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 290370 btime 303950 for game jQ3Kc8pe
2024-01-27 22:18:24,719 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:18:24,752 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/jQ3Kc8pe/move/g3h4?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:18:24,753 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3 e7e5 b2b3 e5e4 g2g3 d7d5 h2h3 d8h4 g3h4', 'wtime': 290090, 'btime': 303950, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:18:30,442 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3 e7e5 b2b3 e5e4 g2g3 d7d5 h2h3 d8h4 g3h4 c8g4', 'wtime': 290090, 'btime': 301290, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:18:30,442 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:18:30,443 __mp_main__ (lichess-bot.py:689) INFO move: 6
2024-01-27 22:18:30,443 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 288090 btime 301290 for game jQ3Kc8pe
2024-01-27 22:18:36,140 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:18:36,141 urllib3.connectionpool (connectionpool.py:292) DEBUG Resetting dropped connection: lichess.org
2024-01-27 22:18:36,305 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/jQ3Kc8pe/move/f1g2?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:18:36,306 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3 e7e5 b2b3 e5e4 g2g3 d7d5 h2h3 d8h4 g3h4 c8g4 f1g2', 'wtime': 287240, 'btime': 301290, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:18:47,303 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3 e7e5 b2b3 e5e4 g2g3 d7d5 h2h3 d8h4 g3h4 c8g4 f1g2 f8a3', 'wtime': 287240, 'btime': 293320, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:18:47,304 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:18:47,304 __mp_main__ (lichess-bot.py:689) INFO move: 7
2024-01-27 22:18:47,304 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 285240 btime 293320 for game jQ3Kc8pe
2024-01-27 22:18:53,146 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:18:53,146 urllib3.connectionpool (connectionpool.py:292) DEBUG Resetting dropped connection: lichess.org
2024-01-27 22:18:53,295 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/jQ3Kc8pe/move/b1c3?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:18:53,296 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3 e7e5 b2b3 e5e4 g2g3 d7d5 h2h3 d8h4 g3h4 c8g4 f1g2 f8a3 b1c3', 'wtime': 284250, 'btime': 293320, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:18:55,859 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3 e7e5 b2b3 e5e4 g2g3 d7d5 h2h3 d8h4 g3h4 c8g4 f1g2 f8a3 b1c3 e4e3', 'wtime': 284250, 'btime': 293790, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:18:55,859 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:18:55,860 __mp_main__ (lichess-bot.py:689) INFO move: 8
2024-01-27 22:18:55,860 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 282250 btime 293790 for game jQ3Kc8pe
2024-01-27 22:19:01,905 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:19:01,938 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/jQ3Kc8pe/move/f3h2?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:19:01,939 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3 e7e5 b2b3 e5e4 g2g3 d7d5 h2h3 d8h4 g3h4 c8g4 f1g2 f8a3 b1c3 e4e3 f3h2', 'wtime': 281170, 'btime': 293790, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:19:12,785 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3 e7e5 b2b3 e5e4 g2g3 d7d5 h2h3 d8h4 g3h4 c8g4 f1g2 f8a3 b1c3 e4e3 f3h2 e8e7', 'wtime': 281170, 'btime': 285970, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:19:12,786 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:19:12,786 __mp_main__ (lichess-bot.py:689) INFO move: 9
2024-01-27 22:19:12,787 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 279170 btime 285970 for game jQ3Kc8pe
2024-01-27 22:19:16,977 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:19:16,978 urllib3.connectionpool (connectionpool.py:292) DEBUG Resetting dropped connection: lichess.org
2024-01-27 22:19:17,126 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/jQ3Kc8pe/move/e1g1?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:19:17,127 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3 e7e5 b2b3 e5e4 g2g3 d7d5 h2h3 d8h4 g3h4 c8g4 f1g2 f8a3 b1c3 e4e3 f3h2 e8e7 e1g1', 'wtime': 279830, 'btime': 285970, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:19:17,161 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3 e7e5 b2b3 e5e4 g2g3 d7d5 h2h3 d8h4 g3h4 c8g4 f1g2 f8a3 b1c3 e4e3 f3h2 e8e7 e1g1 e7e6', 'wtime': 279830, 'btime': 288970, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:19:17,162 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:19:17,162 __mp_main__ (lichess-bot.py:689) INFO move: 10
2024-01-27 22:19:17,162 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 277830 btime 288970 for game jQ3Kc8pe
2024-01-27 22:19:21,835 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:19:21,869 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/jQ3Kc8pe/move/h2g4?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:19:21,870 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3 e7e5 b2b3 e5e4 g2g3 d7d5 h2h3 d8h4 g3h4 c8g4 f1g2 f8a3 b1c3 e4e3 f3h2 e8e7 e1g1 e7e6 h2g4', 'wtime': 278120, 'btime': 288970, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:19:23,999 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3 e7e5 b2b3 e5e4 g2g3 d7d5 h2h3 d8h4 g3h4 c8g4 f1g2 f8a3 b1c3 e4e3 f3h2 e8e7 e1g1 e7e6 h2g4 e6f5', 'wtime': 278120, 'btime': 289880, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:19:24,000 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:19:24,000 __mp_main__ (lichess-bot.py:689) INFO move: 11
2024-01-27 22:19:24,000 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 276120 btime 289880 for game jQ3Kc8pe
2024-01-27 22:19:26,201 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:19:26,230 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/jQ3Kc8pe/move/g2e4?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:19:26,230 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3 e7e5 b2b3 e5e4 g2g3 d7d5 h2h3 d8h4 g3h4 c8g4 f1g2 f8a3 b1c3 e4e3 f3h2 e8e7 e1g1 e7e6 h2g4 e6f5 g2e4', 'wtime': 278890, 'btime': 289880, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:19:27,872 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3 e7e5 b2b3 e5e4 g2g3 d7d5 h2h3 d8h4 g3h4 c8g4 f1g2 f8a3 b1c3 e4e3 f3h2 e8e7 e1g1 e7e6 h2g4 e6f5 g2e4 f5f4', 'wtime': 278890, 'btime': 291270, 'winc': 3000, 'binc': 3000, 'status': 'started'}
2024-01-27 22:19:27,873 __mp_main__ (lichess-bot.py:688) INFO
2024-01-27 22:19:27,873 __mp_main__ (lichess-bot.py:689) INFO move: 12
2024-01-27 22:19:27,874 lib.engine_wrapper (engine_wrapper.py:672) INFO Searching for wtime 276890 btime 291270 for game jQ3Kc8pe
2024-01-27 22:19:28,483 lib.engine_wrapper (engine_wrapper.py:295) INFO Source: Engine
2024-01-27 22:19:28,527 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/jQ3Kc8pe/move/d2e3?offeringDraw=false HTTP/1.1" 200 11
2024-01-27 22:19:28,528 __mp_main__ (lichess-bot.py:697) DEBUG Game state: {'type': 'gameState', 'moves': 'g1f3 e7e5 b2b3 e5e4 g2g3 d7d5 h2h3 d8h4 g3h4 c8g4 f1g2 f8a3 b1c3 e4e3 f3h2 e8e7 e1g1 e7e6 h2g4 e6f5 g2e4 f5f4 d2e3', 'wtime': 278250, 'btime': 291270, 'winc': 3000, 'binc': 3000, 'status': 'mate', 'winner': 'white'}
2024-01-27 22:19:28,529 __main__ (lichess-bot.py:370) DEBUG Event: {'type': 'gameFinish', 'game': {'fullId': 'jQ3Kc8pe4E7R', 'gameId': 'jQ3Kc8pe', 'fen': 'rn4nr/ppp2ppp/8/3p4/4BkNP/bPN1P2P/P1P1PP2/R1BQ1RK1 b - - 0 12', 'color': 'white', 'lastMove': 'd2e3', 'source': 'friend', 'status': {'id': 30, 'name': 'mate'}, 'variant': {'key': 'standard', 'name': 'Standard'}, 'speed': 'blitz', 'perf': 'blitz', 'rated': False, 'hasMoved': True, 'opponent': {'id': 'luk3k', 'username': 'luk3k', 'rating': 1500}, 'isMyTurn': False, 'secondsLeft': 278, 'winner': 'white', 'compat': {'bot': True, 'board': True}, 'id': 'jQ3Kc8pe'}}
2024-01-27 22:19:28,529 __mp_main__ (lichess-bot.py:788) INFO probabilistic-bot won!
2024-01-27 22:19:28,529 __mp_main__ (lichess-bot.py:799) INFO Game won by checkmate.
2024-01-27 22:19:28,529 lib.conversation (conversation.py:83) INFO *** https://lichess.org/jQ3Kc8pe/white [player] probabilistic-bot: Good game!
2024-01-27 22:19:28,561 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/jQ3Kc8pe/chat HTTP/1.1" 200 11
2024-01-27 22:19:28,562 lib.conversation (conversation.py:83) INFO *** https://lichess.org/jQ3Kc8pe/white [spectator] probabilistic-bot: Thanks for watching!
2024-01-27 22:19:28,592 urllib3.connectionpool (connectionpool.py:546) DEBUG https://lichess.org:443 "POST /api/bot/game/jQ3Kc8pe/chat HTTP/1.1" 200 11
2024-01-27 22:19:28,593 __mp_main__ (lichess-bot.py:762) INFO --- https://lichess.org/jQ3Kc8pe/white Game over
2024-01-27 22:19:28,593 __main__ (lichess-bot.py:370) DEBUG Event: {'type': 'local_game_done', 'game': {'id': 'jQ3Kc8pe', 'pgn': '', 'complete': True}}
2024-01-27 22:19:28,593 __main__ (lichess-bot.py:254) INFO +++ Process Freed. Count: 0. IDs: None
2024-01-27 22:20:19,135 __mp_main__ (lichess-bot.py:65) DEBUG Received SIGINT. Terminating client.
2024-01-27 22:20:19,135 __mp_main__ (lichess-bot.py:65) DEBUG Received SIGINT. Terminating client.
2024-01-27 22:20:25,006 __main__ (lichess-bot.py:1091) ERROR Quitting lichess_bot due to an error:
Traceback (most recent call last):
File "/home/luke/projects/pp-project/chess-engine-pp/lichess_bot/lichess-bot.py", line 1088, in <module>
start_lichess_bot()