Play Game
Each game will have different rules with corresponding parameters according to that game.
Play TicTacToe/Caro
POST /v1/game/tic-tac-toe/66862431a9404bfd528fb100 HTTP/1.1
Host: roomkeeper.api.mimiland.io
mm-user-id: 662a347843e80ce0a0d73384
mm-client-id: mml
Content-Type: application/json
Authorization: bearer v4.public.eyJhZC*****5xTtpdbQI
Content-Length: 24
{
"x":2,
"y":1
}const myHeaders = new Headers();
myHeaders.append("mm-user-id", "662a347843e80ce0a0d73384");
myHeaders.append("mm-client-id", "mml");
myHeaders.append("Authorization", "bearer v4.public.eyJhZC*****5xTtpdbQI");
const requestOptions = {
method: "POST",
headers: myHeaders,
redirect: "follow"
};
fetch("https://roomkeeper.api.mimiland.io/v1/game/start/66862431a9404bfd528fb100", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));Key
Type
Description
Play Flip&Match
Key
Type
Description
Play Connect 4
Key
Type
Description
Last updated