Closed yuiseki closed 3 years ago
@yuiseki I generate a SVG file like following, but the image only contains a shogi board, not komas. I checked with Firefox and Adobe Illustrator. Could you check that?
import shogi
board = shogi.Board()
print(board.svg())
I pulled yuiseki's branch and didn't have the same problem as you (pieces were loading! - not all though). I forked the project and managed to get it to work
I can open a new pull request if you like to see!
@DerAndereJohannes I wonder if you could make a new pull request, thank you!
Looks Nice! Sorry for my half-baked contribution
Looks Nice! Sorry for my half-baked contribution
I did not do much to your code! You set it up very nicely! 😁👍 You can check it out in the other pull request!
Close this pull request because of #36 .
Issue
Content
./shogi/SVG.py
../shogi/__init__.py
to appendboard.svg()
method.README.rst
to introduceboard.svg()
method.How To Check
$ python
>>> import shogi
>>> board = shogi.Board()
>>> board.svg()
should output SVG text.Others