GET • /api/game/tictactoe
Tic-Tac-Toe Engine
Bermain Tic-Tac-Toe melawan AI. Gunakan parameter board (9 karakter) dan pos (1-9).
GETqueryJSON Response
Endpoint Info
Method: GET
Body Type: query
Path: /api/game/tictactoe
Category: game
Response: JSON
Status Code
200 - Success
400 - Bad Request
404 - Endpoint Not Found
413 - File Too Large
500 - Internal Server Error
Parameters
| Name | Type | Required | Max Size | Description |
|---|---|---|---|---|
| board | text | No | - | State papan saat ini (Default: ---------) |
| pos | text | Yes | - | Posisi jalan player X (Angka 1-9) |