Closed DerAndereJohannes closed 3 years ago
@DerAndereJohannes Awesome work! I'll merge this.
I've released python-shogi v1.0.13 including this pull request. https://pypi.org/project/python-shogi/1.0.13/
There are some test failures on Python 2.7 and 3.5. https://travis-ci.org/github/gunyarakun/python-shogi This is because Python introduces a new dict structure on Python 3.6 and that changes the order of iterating dict items.
I don't think this is critical. Let me adding sorting keys.
this is the same as the previous pull request, but from a better starting position. I hope this will resolve any conflicts smoothly.
Feature description
Addition to the kif parser that imports the custom starting board as sfen (perfect for tsume problems) as discussed in issue #24 .
Need help with some information:
as of right now, i have that the custom sfen uses the current_turn variable as whos turn it is and just the number 1 as turn number. Is this the correct way of doing it? In other words, what should the turn variable and the move variable be for the sfen? Either:
Thanks in advance!