Spaces:
Sleeping
Sleeping
Enable from position Checkshogi support (#173)
Browse files* Enable kyoto shogi support
* For USI engines do not divide movetime
* Enable checkshogi from position
* Revert casting time as integer
* Revert whitespace removal
- lishogi-bot.py +1 -1
lishogi-bot.py
CHANGED
|
@@ -516,7 +516,7 @@ def print_move_number(moves):
|
|
| 516 |
|
| 517 |
|
| 518 |
def setup_board(game):
|
| 519 |
-
if game.variant_name == "Standard":
|
| 520 |
if game.initial_sfen != "startpos":
|
| 521 |
board = shogi.Board(game.initial_sfen)
|
| 522 |
else:
|
|
|
|
| 516 |
|
| 517 |
|
| 518 |
def setup_board(game):
|
| 519 |
+
if game.variant_name == "Standard" or game.variant_name == "Checkshogi":
|
| 520 |
if game.initial_sfen != "startpos":
|
| 521 |
board = shogi.Board(game.initial_sfen)
|
| 522 |
else:
|