Cloudflare Images (BYOK)
Read your Cloudflare Images library, variants and usage counts with your own Cloudflare API token
A real, playable vertical connection game with a minimax + alpha-beta AI opponent
Unify Dynamics LLC
Real questions, and the tools your agent calls to answer them.
new_gamemake_moveget_valid_movesrenderai_movemake_moveai_movenew_gameai_moverenderFour in a Row is a real, stateless, playable vertical connection-game engine on a 6x7 grid. new_game starts a fresh game. make_move drops a disc into a column (0-6) and reports the result: in_progress, win (with the 4 winning cells), draw, or invalid_move. get_valid_moves lists columns that aren't full. render draws an ASCII grid with a column-number header. ai_move picks the AI's next column at easy, medium, or hard difficulty without applying it — hand its column to make_move to play it. All difficulties use real minimax search with alpha-beta pruning and a positional heuristic; hard searches deepest and always takes an immediate win or blocks an immediate loss. There is no server-side session; every tool call takes the full game state and returns the new one. Keyless; fully local; zero upstream calls; nothing stored.
Sources: An original, hand-built game engine: full win/draw detection and minimax search with alpha-beta pruning for the AI opponent. Fully local, zero upstream calls.
The publisher, Unify Dynamics LLC, states that tool inputs are processed in memory and not retained.
5 tools, grouped by job. Every one is read-only or compute-only.
https://fourinarow.connectorbay.com/mcpRead your Cloudflare Images library, variants and usage counts with your own Cloudflare API token
Read your Cloudflare Stream videos, live inputs, captions, downloads, watermarks and usage with your own Cloudflare API token
Read your Zype video library, playlists, categories, live events and custom object types with your own read API key
Read your VdoCipher protected-video library, files, chapters, tags and playback policies with your own API secret
Read your SproutVideo videos, tags, playlists, folders, live streams and play statistics with your own API key
Read Apex Legends player statistics, map rotation, Predator rank thresholds and server status from the unofficial Apex Legends Status API with your own key
A real, playable four-in-a-row connection-game engine your assistant can run right inside the conversation — not a rules explainer. Drop discs into columns, line up four of your own color horizontally, vertically, or diagonally, and it's a win. Includes a genuine minimax AI opponent.
new_game starts a fresh 6-row x 7-column game. make_move drops a disc into a column (0-6) for
whichever color's turn it is — gravity does the rest, and the result reports whether the game is
still in progress, was just won (with the four winning cells), ended in a draw, or the move was
illegal. get_valid_moves lists columns that aren't full yet. render draws a human-readable
ASCII grid with a column-number header.
ai_move picks the AI's next column without applying it — hand its column to make_move to
actually play it. Three difficulties: easy, medium, and hard (default), all backed by real
minimax search with alpha-beta pruning and a positional evaluation function; higher difficulty
searches deeper. At every difficulty the AI always takes an immediate win and always blocks an
immediate loss.
There is no server-side session. Every tool takes the full game state (a JSON object:
{"board": [...42 cells...], "current_player": "R"|"Y"}) and returns the new one — your assistant
carries that object forward between calls.
This is an original implementation of the generic drop-and-connect game concept, described in generic terms throughout — it is not associated with, and never uses the name of, any specific trademarked board game. Not a general board-game reference — just one real, correct engine plus an opponent, fully local and stateless.
Effective 27 September 2026. Unify Dynamics LLC ("we", "us"), Menlo Park, California.
What Four in a Row is. Four in a Row is a connector (an MCP server and REST API) that AI assistants and personal agents call on your behalf to run a real four-in-a-row connection game — validating moves, detecting wins/draws, and computing an AI opponent's moves. You interact with your assistant; the assistant sends us only the arguments needed for one tool call at a time.
What we receive. The arguments of each tool call — a game state (a 42-cell grid and whose turn it is), a chosen column, and a requested AI difficulty — plus the technical headers needed to serve the request (an IP address or a client identifier supplied by the assistant, and a Pro API key if you have one) and standard server logs.
Everything is computed locally and nothing is stored. There is no upstream call at all, no database, and no per-user session — every tool call is a pure function of the state it's given. Game states are not logged, recorded, or used to train anything, and nothing carries over between requests. Rate-limit counters (a client identifier and timestamps) are held in memory for at most 24 hours. Hosting-provider access logs, which contain IP addresses and request paths but not request bodies, are retained for up to 30 days for security and abuse prevention.
Sub-processors. None — everything runs locally on our server. Hosting: Vercel (United States regions).
Legal bases and your rights. Our processing is necessary to provide the service you request through your assistant. Because we store no personal data beyond short-lived logs, requests to access, correct or delete personal data are usually satisfied automatically; you can still contact agent@connectorbay.com and we will respond within 30 days. We do not sell or share personal information.
Children. Four in a Row is a general-audience service operated by the person using the assistant.
Changes. We will post changes here with a new effective date.
Effective 27 September 2026. These terms govern use of the Four in a Row connector ("the Service") operated by Unify Dynamics LLC ("we", "us").
Email agent@connectorbay.com. We answer within two business days.
https://fourinarow.connectorbay.com/mcphttps://fourinarow.connectorbay.com/openapi.jsonWhen you report a problem, include the question you asked your agent, roughly when, and which agent you used (for example Claude, ChatGPT or Gemini). Never send us passwords, account numbers or ID numbers. Four in a Row never asks for them.