MCPcopy Create free account

hub / github.com/carlini/chess-llm / types & classes

Types & classes28 in github.com/carlini/chess-llm

↓ 17 callersClassTimer
A timer for use in lichess-bot. An instance of timer can be used both as a countdown timer and a stopwatch. If the duration argument in the
lichess-bot/timer.py:57
↓ 4 callersClassPlayer
Store information about a player.
lichess-bot/model.py:262
↓ 3 callersClassConfiguration
The config or a sub-config that the bot uses.
lichess-bot/config.py:30
↓ 2 callersClassChatLine
Information about the message.
lichess-bot/conversation.py:92
↓ 2 callersClassChessLLM
chessllm.py:29
↓ 1 callersClassConversation
Enables the bot to communicate with its opponent and the spectators.
lichess-bot/conversation.py:14
↓ 1 callersClassEventStream
Imitate lichess.org's EventStream. Used in tests.
lichess-bot/test_bot/lichess.py:97
↓ 1 callersClassFillerEngine
Not meant to be an actual engine. This is only used to provide the property "self.engine" in "MinimalEngine" which extends "EngineWrappe
lichess-bot/engine_wrapper.py:552
↓ 1 callersClassGameStream
Imitate lichess.org's GameStream. Used in tests.
lichess-bot/test_bot/lichess.py:21
↓ 1 callersClassRateLimited
Exception raised when we are rate limited (status code 429).
lichess-bot/lichess.py:45
ClassAlphabetical
Get the first move when sorted by san representation.
lichess-bot/strategies.py:39
ClassChallenge
Store information about a challenge.
lichess-bot/model.py:15
ClassComboEngine
Get a move using multiple different methods. This engine demonstrates how one can use `time_limit`, `draw_offered`, and `root_moves`.
lichess-bot/strategies.py:59
ClassEngineWrapper
A wrapper used by all engines (UCI, XBoard, Homemade).
lichess-bot/engine_wrapper.py:86
ClassExampleEngine
An example engine that all homemade engines inherit.
lichess-bot/strategies.py:23
ClassFilterType
What to do if the opponent declines our challenge.
lichess-bot/config.py:16
ClassFirstMove
Get the first move when sorted by uci representation.
lichess-bot/strategies.py:49
ClassGame
Store information about a game.
lichess-bot/model.py:144
ClassGameEnding
lichess-bot/model.py:233
ClassLLM
lichess-bot/strategies.py:99
ClassLichess
Communication with lichess.org (and chessdb.cn for getting moves).
lichess-bot/lichess.py:69
ClassLichess
Imitate communication with lichess.org.
lichess-bot/test_bot/lichess.py:119
ClassMatchmaking
Challenge other bots.
lichess-bot/matchmaking.py:43
ClassMinimalEngine
Subclass this to prevent a few random errors. Even though MinimalEngine extends EngineWrapper, you don't have to actually wrap an engine
lichess-bot/engine_wrapper.py:494
ClassRandomMove
Get a random move.
lichess-bot/strategies.py:31
ClassTermination
The possible game terminations.
lichess-bot/model.py:134
ClassUCIEngine
The class used to communicate with UCI engines.
lichess-bot/engine_wrapper.py:443
ClassXBoardEngine
The class used to communicate with XBoard engines.
lichess-bot/engine_wrapper.py:463