Skip to content

Commit

Permalink
Enable checkshogi from position
Browse files Browse the repository at this point in the history
  • Loading branch information
ddugovic committed Aug 17, 2024
1 parent acdb8aa commit 9344e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lishogi-bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ def print_move_number(moves):


def setup_board(game):
if game.variant_name == "Standard":
if game.variant_name == "Standard" or game.variant_name == "Checkshogi":
if game.initial_sfen != "startpos":
board = shogi.Board(game.initial_sfen)
else:
Expand Down

0 comments on commit 9344e03

Please sign in to comment.