A tool to write shogi-board .svg
file from .kif
file.
example.mp4
board = Board(grid=initialize_grid())
moves = [
parse_move("7六歩(77)"),
parse_move("3四歩(33)"),
parse_move("2二角成(88)"),
]
for move in moves:
board.process_move(move)
with open("board.svg", "w") as f:
write_svg(f, board)
subprocess.run(["eog", "board.svg"])
poetry run python kif_parser.py -f <kif_file>
poetry run pytest
poetry run python sfen2svg.py
./convert.sh
./png2mp4.sh