daily pastebin goal
76%
SHARE
TWEET

Untitled

a guest Apr 28th, 2017 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. >>> shogi.Move.from_usi('7g7f') in board.legal_moves
  2. False
  3. >>> print([move for move in board.legal_moves])
  4. [Move.from_usi('9g9f'), Move.from_usi('8g8f'), Move.from_usi('7g7f'), Move.from_usi('6g6f'), Move.from_usi('5g5f'), Move.from_usi('4g4f'), Move.from_usi('3g3f'), Move.from_usi('2g2f'), Move.from_usi('1g1f'), Move.from_usi('9i9h'), Move.from_usi('1i1h'), Move.from_usi('7i7h'), Move.from_usi('7i6h'), Move.from_usi('3i4h'), Move.from_usi('3i3h'), Move.from_usi('6i7h'), Move.from_usi('6i6h'), Move.from_usi('6i5h'), Move.from_usi('4i5h'), Move.from_usi('4i4h'), Move.from_usi('4i3h'), Move.from_usi('2h7h'), Move.from_usi('2h6h'), Move.from_usi('2h5h'), Move.from_usi('2h4h'), Move.from_usi('2h3h'), Move.from_usi('2h1h'), Move.from_usi('5i6h'), Move.from_usi('5i5h'), Move.from_usi('5i4h')]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top