Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/carlini/chess-llm
/ types & classes
Types & classes
28 in github.com/carlini/chess-llm
⨍
Functions
290
◇
Types & classes
28
↓ 17 callers
Class
Timer
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 callers
Class
Player
Store information about a player.
lichess-bot/model.py:262
↓ 3 callers
Class
Configuration
The config or a sub-config that the bot uses.
lichess-bot/config.py:30
↓ 2 callers
Class
ChatLine
Information about the message.
lichess-bot/conversation.py:92
↓ 2 callers
Class
ChessLLM
chessllm.py:29
↓ 1 callers
Class
Conversation
Enables the bot to communicate with its opponent and the spectators.
lichess-bot/conversation.py:14
↓ 1 callers
Class
EventStream
Imitate lichess.org's EventStream. Used in tests.
lichess-bot/test_bot/lichess.py:97
↓ 1 callers
Class
FillerEngine
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 callers
Class
GameStream
Imitate lichess.org's GameStream. Used in tests.
lichess-bot/test_bot/lichess.py:21
↓ 1 callers
Class
RateLimited
Exception raised when we are rate limited (status code 429).
lichess-bot/lichess.py:45
Class
Alphabetical
Get the first move when sorted by san representation.
lichess-bot/strategies.py:39
Class
Challenge
Store information about a challenge.
lichess-bot/model.py:15
Class
ComboEngine
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
Class
EngineWrapper
A wrapper used by all engines (UCI, XBoard, Homemade).
lichess-bot/engine_wrapper.py:86
Class
ExampleEngine
An example engine that all homemade engines inherit.
lichess-bot/strategies.py:23
Class
FilterType
What to do if the opponent declines our challenge.
lichess-bot/config.py:16
Class
FirstMove
Get the first move when sorted by uci representation.
lichess-bot/strategies.py:49
Class
Game
Store information about a game.
lichess-bot/model.py:144
Class
GameEnding
lichess-bot/model.py:233
Class
LLM
lichess-bot/strategies.py:99
Class
Lichess
Communication with lichess.org (and chessdb.cn for getting moves).
lichess-bot/lichess.py:69
Class
Lichess
Imitate communication with lichess.org.
lichess-bot/test_bot/lichess.py:119
Class
Matchmaking
Challenge other bots.
lichess-bot/matchmaking.py:43
Class
MinimalEngine
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
Class
RandomMove
Get a random move.
lichess-bot/strategies.py:31
Class
Termination
The possible game terminations.
lichess-bot/model.py:134
Class
UCIEngine
The class used to communicate with UCI engines.
lichess-bot/engine_wrapper.py:443
Class
XBoardEngine
The class used to communicate with XBoard engines.
lichess-bot/engine_wrapper.py:463