You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Figure 1. Visit the website and click on the Console link at the bottom of the page.
Add an example on how to start a classical chess game and make a few moves in PGN format.
ChesslaBlab console
PHP Chess version: 1.4.72
For details go to: https://chesslablab.github.io/chess-server/
/start {"variant": "classical", "mode": "analysis"}
{"variant":"classical","mode":"analysis","turn":"w","movetext":"","fen":["rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq -"]}
/play {"color":"w","pgn":"e4"}
{"turn":"b","movetext":"1.e4","fen":"rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq e3","variant":"classical","isValid":true}
/play {"color":"b","pgn":"e5"}
{"turn":"w","movetext":"1.e4 e5","fen":"rnbqkbnr/pppp1ppp/8/4p3/4P3/8/PPPP1PPP/RNBQKBNR w KQkq e6","variant":"classical","isValid":true}
/play {"color":"w","pgn":"Nf3"}
{"turn":"b","movetext":"1.e4 e5 2.Nf3","fen":"rnbqkbnr/pppp1ppp/8/4p3/4P3/5N2/PPPP1PPP/RNBQKB1R b KQkq -","variant":"classical","isValid":true}
/ascii
r n b q k b n r
p p p p . p p p
. . . . . . . .
. . . . p . . .
. . . . P . . .
. . . . . N . .
P P P P . P P P
R N B Q K B . R
The text was updated successfully, but these errors were encountered:
Figure 1. Visit the website and click on the Console link at the bottom of the page.
Add an example on how to start a classical chess game and make a few moves in PGN format.
The text was updated successfully, but these errors were encountered: