Skip to content

Commit

Permalink
Fix README typo in chess.moves({ verbose: true }) (#458)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLetterZed authored May 4, 2024
1 parent 21d8d08 commit 0762754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ chess.moves({ piece: 'n' }) // generate moves for piece type
chess.moves({ verbose: true }) // return verbose moves
// -> [{ color: 'w', from: 'a2', to: 'a3',
// flags: 'n', piece: 'p',
// san 'a3', 'lan', 'a2a3',
// san: 'a3', lan: 'a2a3',
// before: 'rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1'
// after: 'rnbqkbnr/pppppppp/8/8/8/P7/1PPPPPPP/RNBQKBNR b KQkq - 0 1'
// # a `captured` field is included when the move is a capture
Expand Down

0 comments on commit 0762754

Please sign in to comment.