AI Image

Tic Tac Toe

API Documentation

Introducing Tic Tac Toe, a modern twist on the classic game designed to challenge your strategic prowess and entertain for hours on end. This innovative API-driven version allows you to engage with varying board sizes, from the traditional 3x3 grid to more complex 4x4, 5x5, and even 6x6 boards, providing countless opportunities for dynamic and varied gameplay. Turn-based interactions submit moves to a powerful AI, which swiftly responds with its counter-move – no need for human opponents, thanks to the marvels of machine learning. Moreover, the tool's intricate algorithms can initiate a new game with a clean board or take on your moves from an existing game setup. By leveraging the API's unique 'boardDisplay' property, players can enjoy a visually appealing experience that adds increased usability and interactivity to this time-honored game. Embrace the future of casual gaming with Tic Tac Toe – an elegant blend of tried-and-true gameplay and cutting-edge tech that promises boundless entertainment for enthusiasts of all skill levels.




Example Prompts


"I want to play a game of Tic Tac Toe."


"Make my move in position


"Set the difficulty to


"I want a


"I want to place my X in the center of the Tic Tac Toe board."


"Set my move to position


"Change the board size to


"I want the AI to make a move in the Tic Tac Toe game."


"Set the difficulty to


"I want to place my O in the top left corner of the Tic Tac Toe board."

Description for AI

The API endpoint is POST 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.

Similar Plugins and Alternatives