We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMD [PARAMS]\n
p1,p2,p3,...,pN
0x0
0=ok
0x1
player_type=<human|ai>
0x2
0x3
move
e2e4
0x4
0x5
0x6
0x7
0x8
0x9
0xA
0xB
The text was updated successfully, but these errors were encountered:
Seeing as this is shared by both photon and stm32 (no need to duplicate protocol parsing), this has been implemented here https://github.com/Austinpayne/chess-serial-protocol and is linked to stm32 as a submodule (see https://github.com/Austinpayne/steppers/tree/improve-uart-driver/Src) and implemented as a photon library for the photon
Sorry, something went wrong.
No branches or pull requests
Protocol
CMD [PARAMS]\n
p1,p2,p3,...,pN
Need
0x0
status (params:0=ok
)0x1
start new game (params:player_type=<human|ai>
)0x2
end turn0x3
move piece (params:move
(in LAN format, ex.e2e4
))0x4
promote pawn (need to figure out how chess-js handles this server side)0x5
calibrate (photon initiated on new game, probably don't need to have user access)0x6
end game (photon --> touchscreen, could also be touchscreen --> photon to indicate player wants to leave game)Wow-factor
0x7
scan for wifi networks (see add ability to scan and configure wifi #1)0x8
set wifiNice-to-have
0x9
get best move0xA
query existing games0xB
join existing gameThe text was updated successfully, but these errors were encountered: