Skip to content

Commit

Permalink
Update bot allowed_board_sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
anoek committed Dec 9, 2024
1 parent b1b274b commit b6373d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine/protocol/ClientToServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ export interface BotConfigV1 {
bot_id: number;
username: string;
allowed_time_control_systems: ("simple" | "byoyomi" | "fischer")[];
allowed_board_sizes: number[]; // special case of [0] means all sizes, even non square
allowed_board_sizes: number[] | "all" | "square" | number;
allowed_blitz_settings?: BotAllowedClockSettingsV1;
allowed_rapid_settings?: BotAllowedClockSettingsV1;
allowed_live_settings?: BotAllowedClockSettingsV1;
Expand All @@ -672,7 +672,7 @@ export interface BotConfigV2 {
bot_id: number;
username: string;
allowed_time_control_systems: ("simple" | "byoyomi" | "fischer")[];
allowed_board_sizes: number[]; // special case of [0] means all sizes, even non square
allowed_board_sizes: number[] | "all" | "square" | number;
allowed_blitz_settings?: BotAllowedClockSettingsV2;
allowed_rapid_settings?: BotAllowedClockSettingsV2;
allowed_live_settings?: BotAllowedClockSettingsV2;
Expand Down

0 comments on commit b6373d7

Please sign in to comment.