TicTacToe
0 Critiques

Aperçu

Tic Tac Toe

Playing a game of Tic Tac Toe with varying board sizes. You can submit your move and get the AI's response move.

Site web de Tic Tac Toe

https://api.ludum.dev

TicTacToe

The API endpoint is `POST https://api.ludum.dev/v1/tictactoe`. The API is designed for a turn-based game where users submit their move on a board with size depending on the chosen board size (9 for 3x3, 16 for 4x4, 25 for 5x5, or 36 for 6x6), and receive an updated board reflecting the AI's response move. The game can start with the AI submitting a board of all zeros or a missing board, or the player making their first move. Each player's move on the board is represented in the board array as '1' for 'X' and '2' for 'O'. For instance, if a player places an 'X' in the top left corner, the first element of the array becomes '1', or if an 'O' is placed in the center, the corresponding element in the array becomes '2'. The API response includes a 'boardDisplay' property for a visual representation of the board, but be aware that 'boardDisplay' numbering runs from 1 to n, where n is the total number of cells in the board, contrasting with the board array's 0 to n-1 indexing.

Dernière mise à jour des informations sur l'extension sur GPTStore.Ai

01/01/1

Fonctions/Caractéristiques de l'extension Tic Tac Toe

IDENTIFIANT D'OPÉRATIONMÉTHODE HTTPDescription
1/tictactoepostThe API allows users to submit the board with their move reflected in it, and receive the AI's response move reflected in the board.

0 TicTacToe Critiques

0 sur 5
  • 5 Étoiles
    0%
  • 4 Étoiles
    0%
  • 3 Étoiles
    0%
  • 2 Étoiles
    0%
  • 1 Étoile
    0%
Qu'en pensez-vous de TicTacToe ?

Laissez un avis pour la communauté

Nous utilisons des cookies pour vous garantir la meilleure expérience sur nos sites web. En savoir plus