Marubatsu 2.0まるばつ 2.0
Tic-tac-toe with one rule changed — a 4×4 board, two marks a turn — on one phone, across two, or against an AI.○×のルールを一つだけ変えた。4×4 の盤に、1 手で 2 つ置く。1 台でも、2 台でも、AI 相手でも遊べる。
Play Marubatsuまるばつを遊ぶChallenge課題
Classic 3×3 tic-tac-toe is solved: two careful players always draw. Online versions then bury a two-minute game under accounts and lobbies. Marubatsu had to stay simple enough to play on paper, give a parent and a child something real to fight over, and move to a second phone without a sign-up.3×3 の○×は解けてしまっていて、慎重に指せば必ず引き分けになる。オンライン版になると、2 分で終わる遊びがアカウントとロビーに埋もれる。紙でも遊べる単純さを保ったまま、親子で本気で競えて、登録なしで 2 台目のスマホへ移れること。それが条件だった。
Solution解決
One board works in every setting: pass-and-play on one phone, an AI opponent at four levels from Easy to Impossible, or online with a second phone through a QR code or a six-character room code. The AI asks Gemini first and hands over to an on-device search when Gemini is unavailable, so a match never stalls.1 枚の盤を、どの遊び方でも同じように使えるようにした。1 台を交代で指す。Easy から Impossible まで 4 段階の AI と指す。QR か 6 文字のルームコードで、2 台目のスマホとオンライン対戦する。AI はまず Gemini に聞き、使えないときは端末内の探索が代わりに指すので、対局が止まらない。
Impactインパクト
I shipped Marubatsu with pass-and-play, AI levels, and Snap Pair online rooms.Pass&Play、AI 級、Snap Pair オンライン対戦の Marubatsu を出した。
What I handled担当フェーズ
- Researchリサーチ
- Business / Strategyビジネス/戦略
- Conceptコンセプト
- UX / UIUX/UI
- Design Systemデザインシステム
- Prototypeプロトタイプ
- Build実装
- Launch / Growthローンチ/グロース
The rule came before the code コードより先に、ルールがあった
The rule — a 4×4 board, two marks a turn — was worked out with my son over hundreds of rounds on paper and in notes apps, before any code. The second mark is what the “2.0” means. The app’s job was only to carry that board everywhere. 4×4 の盤に 1 手 2 個置き。このルールは、コードを書く前に、息子と紙やメモアプリで何百局も指しながら決めた。「2.0」とは、この 2 個目のこと。アプリの仕事は、その盤をどこへでも持ち運べるようにすることだけだった。
One room, two screens 一つの部屋、二つの画面
In an online match both screens show the same board, the room code, and whose turn it is. You choose your mark and who moves first; changing marks restarts the match for both players. Every finished board is kept in a match history with its winner and time, and reloading the page keeps your seat. オンライン対戦では、両方の画面に同じ盤とルームコード、いま誰の番かが出る。自分の印と先手を選べて、印を変えると両者の対局がやり直しになる。終わった盤は勝者と時刻つきで対戦履歴に残り、ページを再読み込みしても席は残る。
Where Snap Pair started Snap Pair はここから始まった
The QR and room-code pairing, presence and rejoin logic written for Marubatsu became the starting point for Snap Pair, the separate library that now brings phones into Rakugaki Jam, Koe Baku and Werewolf. Marubatsu のために書いた QR とルームコードによるペアリング、在室の表示、再参加の仕組みが、独立したライブラリ Snap Pair の出発点になった。いまは Rakugaki Jam、Koe Baku、人狼で、スマホをつなぐ役を担っている。
Snap Pair → Snap Pair →