4×4 Tic-Tac-Toe · Realtime Multiplayer · Gemini AI4×4 まるばつ · リアルタイム対戦 · Gemini AI

A ferry-ride game with my son, turned into a sixteen-square arena.息子との登校フェリーから生まれた、16マスのアリーナ。

Every ferry to his school in Manhattan, we played the same napkin game — tic-tac-toe stretched to a 4×4 grid, strategic enough to fill an hour, simple enough to draw anywhere. Marubatsu 2.0 is that game, shipped: pass-and-play on one phone, challenge a Gemini-powered AI across four difficulty levels, or pair up with anyone — nearby or remote — in one scan.息子が通うマンハッタンの学校へ向かうフェリーのたびに、僕らは同じ紙のゲームを繰り返し遊んでいました——マルバツを4×4に広げた、1時間でも飽きない戦略ゲームです。Marubatsu 2.0 は、そのゲームをアプリにしたもの。1台の端末でパス&プレイ、Gemini を使った4段階の AI 対戦、そして近くでも離れていてもワンスキャンでペアになれるオンライン対戦まで遊べます。

Realtime Multiplayerリアルタイム対戦 Gemini AI Next.js 16 Firebase RTDB

Hundreds of napkin games before a single line of code.コードを書くよりずっと前に、何百戦もの紙のマルバツがあった。

My son and I invented the rules together on the ferry — a 4×4 grid forces real strategy where the classic 3×3 game is already solved. We played it on paper, then in notes apps whenever paper ran out, hundreds of times over. It was too good a game not to build properly, with an AI opponent that could actually put up a fight.フェリーの中で、息子と一緒にこのルールを作りました——4×4のグリッドは、解かれつくした3×3のマルバツと違って、本物の戦略を要求します。紙で遊び、紙がなくなればメモアプリで遊び、それを何百回も繰り返しました。ちゃんと歯ごたえのあるAI対戦相手までそろえて、アプリとして作る価値があると思ったんです。

Origin起源
School-run ferry, NYCNYC の登校フェリー
Iterations反復
Hundreds of rounds, on paper and notes apps紙とメモアプリで何百戦も
Gridグリッド
4×4 — strategic, not solved4×4 — 解かれない戦略性
Hand-drawn 4x4 tic-tac-toe games in colored pen, played round after round on paper
Scroll — eight rounds, eight colorsスクロール — 8戦分、8色のペン

One board, light or dark, on any browser.明るくても暗くても、どのブラウザからでも遊べる盤面。

The live match history keeps score across rounds, four AI difficulty levels run from Easy to Impossible, and the whole board — including the win-line animation — adapts to light and dark automatically.対戦履歴はラウンドをまたいでスコアを記録し、AI の難易度は Easy から Impossible まで4段階。勝利ラインのアニメーションを含め、盤面全体がライト/ダークに自動対応します。

marubatsu20.vercel.appLight
Marubatsu 2.0 desktop board, light mode, AI vs You on Impossible difficulty
marubatsu20.vercel.appDark
Marubatsu 2.0 desktop board, dark mode, AI vs You on Impossible difficulty

Pass-and-play, AI, or online — from one phone.パス&プレイ、AI 対戦、オンライン——すべて1台のスマホから。

Marubatsu 2.0 mode select screen — local play, AI, or online match

Choose local, AI, or online — from one screen.ローカル・AI・オンラインを1画面から選択。

Marubatsu 2.0 online match screen showing a QR code and 6-character room code

Share a QR code or 6-character room code to pair instantly.QRコードか6文字のコードで、すぐにペアになれる。

Marubatsu 2.0 online match in progress, dark mode, with live moves synced between players

Moves sync instantly between players, with a running match history.プレイヤー間で手が即座に同期され、対戦履歴も記録され続ける。

Built for one phone, two phones, or two thousand miles apart.1台でも、2台でも、遠く離れていても遊べるように。

The hardest part wasn't the game rules — it was making one board work everywhere it needed to. Same screen for face-to-face play, an AI that reads the board rather than following a script, and a connection that survives a dropped ferry Wi-Fi signal.難しかったのはルールそのものより、同じ盤面をあらゆる場面で成立させることでした。対面で遊べる1画面、台本通りではなく盤面を読んで着手する AI、そしてフェリーの Wi-Fi が切れても壊れない接続。

Localローカル
Pass-and-play, one device, face-to-face1台の端末でパス&プレイ、対面で対戦
AIAI 対戦
4 difficulty levels — Gemini reads your patterns4段階の難易度 — Gemini が着手のパターンを読む
Onlineオンライン
QR or 6-char code · reconnect-safe · rooms live 24hQR/6文字コード · 再接続に強い · ルームは24時間持続

Still undefeated on the ferry今もフェリーで現役

Still played every ferry ride — now anyone can join.今も毎回のフェリーで遊ばれている——今では誰でも参加できる。

← Interactive Experience← Interactive Experience Next: Snap Pair →次へ: Snap Pair →