-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hey Niels,
Dunno if you saw email, but thought i'd put this here.
If we can agree to the following structure for board layout and moves
{
"args": {
"board": {
"o": {
"6": 5,
"8": 3,
"13": 5,
"24": 2
},
"x": {
"5": 1,
"6": 5,
"8": 3,
"13": 4,
"24": 2
}
},
"dice": [
6,
4
],
"player": "o"
},
"move": {
"play": [
{
"from": "24",
"to": "20"
},
{
"from": "20",
"to": "14"
}
]
}
}then it will be incredibly straight forward to link our work together.
The above is the board that the move will be applied to. My backend code can then verify the move is indeed legal before allowing the player to continue from the resulting position.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels