from Chessnut import Game
chessgame = Game(fen=
    'rnbq1rk1/ppppp1bp/5np1/5p2/2PP4/2NBPN2/PP3PPP/R1BQK2R b KQ - 4 6')
print(chessgame)
print(chessgame.get_moves())
chessgame.apply_move(chessgame.get_moves()[1])
print(chessgame)
python: проверка шахматных ходов