Blog
圍棋易經:棋盤即是一部易
Go I Ching: the board is a Book of Changes

現在就下: airomatic.ai/go-i-ching
子未落,太極未分。落下第一子,陰陽始生——這不是文案,是這款遊戲開門時,旁邊那位老人真正會說的話。
我們把 Grok Build 指向一個安靜、卻不容易做薄的想法:圍棋(围棋 / 囲碁 / Go)與《易經》本是同一條道。 黑白是陰陽,交叉點是變,空點不是「還沒填上的格子」,而是尚未生成的萬物。棋盤要像一幅還活著的曼荼羅;旁邊要有一位先生,不只是裝飾,而會讀眼前這盤棋。
於是有了 《圍棋易經》。
你在下什麼
瀏覽器裡一盤完整的圍棋,不必安裝、不必登入、可以離線:
- 規則: 交叉點落子、氣盡提取、禁止自殺、打劫不可立刻回提
- 點目: 中國子空計算法(活子 + 所圍之空),白貼七目半
- 棋盤: 九路(預設,適合入門)、十三路、十九路
- 對局: 雙人對坐,或與「易翁」對弈(九路 / 十三路用蒙特卡洛,十九路用較輕的形勢判斷)
- 棋盤上的事: 停著、投子、悔棋、點死子、存譜、讀譜、導出 SGF
畫面走水墨與木紋:宣紙底、松煙線、帶一點高光的黑白子。沒有音效——這次刻意先不做聲,把氣力留給棋與卦。
為什麼要把易經放上棋盤
圍棋本就在講先後、厚薄、取捨、空與勢。易經本就在講時、位、陰與陽、既濟與未濟。硬把兩件事黏在一起,會變成課本彈窗;真要融合,先生必須從當下盤面長出話來。
所以易翁不是旁白機器人。他看的是:
- 誰更厚、誰更薄,哪一隅先成勢
- 剛剛是提子、是打入,還是天元
- 布局、中盤、官子各像什麼季節
- 西北乾天、東北艮山、西南坤地、東南巽風,中央太極
你隨時可以按 「問先生」。程式會讀子數、厚薄、角落與中央、近幾手的提子,選出一卦(以及一卦次應),再把卦辭還給眼前這盤活棋,而不是還給書冊。終局時,他會把整盤讀成一組卦,然後說:勝負是一季之果;你在盤上學到的變,才是明年的種子。
六十四卦都在 卦象典藏 裡,可檢索、可點開。開 悟道模式,他會說得更勤,也更願意講氣、眼、空、劫——劫,在他嘴裡,是易的縮影:一點不得即復,除非四周已變。

中文,或英文
棋是中國的,這本書也是。遊戲裡有一枚始終在場的切換:中文 / EN。介面、啟蒙、卦辭、易翁開口,全部跟著走;選過一次,瀏覽器會記住。中文用繁體,為的是跟《周易》的書寫傳統、也跟棋盤上的「圍棋」「停著」「點目」放在同一種語氣裡。
你現在讀的這篇日誌,預設也是中文。右上那枚切換,是同一件事的另一面。
啟蒙怎麼走
左邊控制欄(窄螢幕先按 菜單)裡有 啟蒙。易翁用七步帶你走過規則,同時把規則說成道理:
- 坐下。圍棋與周易,一道之兩面。
- 把第一子放在交叉點上——不是方格裡。
- 氣:中央四、邊上三、角上二。氣盡則提。
- 練習提一顆只剩一口氣的白子(紅圈會呼吸)。
- 劫:戰也要呼吸,不可立刻回提。
- 子空與貼目。你守住的空,與子同等真實。
- 停著兩次即終局。隨時可問先生。
課成之後,自動開一局九路,你執黑。
技術上我們選了什麼
| 一塊 | 選擇 |
|---|---|
| 運行 | 瀏覽器,單資料夾即可離線 |
| 畫面 | Canvas 木紋棋盤 |
| 邏輯 | 原生 JavaScript,無框架 |
| 對局引擎 | 提子、劫、中國子空、SGF |
| 易翁 | 盤面分析 → 六十四卦對位 → 雙語解讀 |
| 掛載 | public/go-i-ching/,與站上其他小遊戲同一套 Cloudflare 靜態資源 |
沒有後端,沒有帳號。棋譜進 localStorage;要帶走,就導出 SGF。
還可以往哪裡長
音效(落子的那一聲)刻意留白。更強的十九路、簡體中文作為第三語、讓卦爻再貼近某一手的「變」——都還在茶還沒涼的那邊。若提子不對、劫判錯、某句卦辭從盤面上滑開了,告訴我們。
上一篇 — Strive Hard · Cybertruck Assembly Line

Play it now: airomatic.ai/go-i-ching
Before a stone is placed, Taiji is undivided. The first stone parts yin from yang — that is not marketing copy. It is the first thing the old man beside the board actually says.
We pointed Grok Build at a quiet idea that is hard to do thinly: Go (Weiqi) and the I Ching are two faces of one Way. Black and white are yin and yang. An intersection is a moment of change. Empty points are not unfilled squares; they are the ten thousand things that have not yet become. The board should feel like a living mandala. The companion at its side should read the position in front of you, not recite a pamphlet.
That game is Go I Ching.
What you play
A complete game of Go in the browser. No install, no account, works offline:
- Rules: place on intersections, capture by surrounding, no suicide, simple ko
- Scoring: Chinese area (living stones + enclosed empty points), 7.5 komi for White
- Boards: 9×9 (default, for beginners), 13×13, 19×19
- Modes: two players locally, or play Elder Yi (Monte-Carlo on 9×9 and 13×13; a lighter heuristic on 19×19)
- Table manners: pass, resign, undo, mark dead stones, save, load, export SGF
The look is ink and wood: paper ground, pine-soot lines, stones with a little shine. There is no audio yet — we left the sound for later and spent the attention on the stones and the hexagrams.
Why put the Book of Changes on the board
Go already talks about timing, thickness, giving way, space and influence. The I Ching already talks about time, place, yin and yang, After Completion and Before Completion. Glue them together carelessly and you get textbook pop-ups. For the fusion to be real, the master has to speak from the living position.
So Elder Yi is not a narrator skin. He watches:
- who is thick, who is thin, which quarter has taken shape
- whether the last act was a capture, an invasion, or tengen
- whether the game is in spring (opening), summer (middle), or autumn (endgame)
- northwest Heaven, northeast Mountain, southwest Earth, southeast Wind, center Taiji
You can press Ask the Master at any time. The program reads stone counts, thickness, corners and center, recent captures; it chooses a hexagram (and a second that resonates); then it returns the judgment to this board, not to a bookshelf. When the game ends, he reads the whole contest as a pair of figures, and says: winning is one season’s fruit; the change you learned on the board is next year’s seed.
All sixty-four hexagrams live in the Hexagram Library. Turn on Wisdom Mode and he speaks more often — about liberties, eyes, empty space, and ko. Ko, in his mouth, is the Book of Changes in miniature: a point that may not return until the world around it has changed.

Chinese, or English
The game is Chinese, and so is the book. A toggle stays in the header: 中文 / EN. Interface, tutorial, hexagram texts, and the master’s speech all follow. The choice is remembered. Chinese is Traditional, so it can sit in the same register as the Zhouyi and as the board’s own words — 圍棋, 停著, 點目.
The article you are reading defaults to Chinese. The control at the top is the other face of the same courtesy.
How to play the tutorial
In the left panel (on a narrow screen, open Menu first) click Tutorial. Elder Yi walks seven steps that teach the rules as philosophy:
- Sit. Weiqi and the Yijing are two faces of one Way.
- Place the first stone on an intersection — not inside a square.
- Liberties: four in the center, three on the side, two in the corner. When the last breath is taken, the stone is lifted.
- Capture a white stone that has one liberty left (the red circle breathes).
- Ko: even a fight must breathe; you may not recapture at once.
- Area scoring and komi. Empty space you have made safe is as real as a stone.
- Two passes end the game. Ask him whenever you like.
When the lesson is complete, a 9×9 game begins and you hold Black.
What we chose
| Piece | Choice |
|---|---|
| Runtime | Browser, one folder, offline |
| Board | Canvas, wooden grain |
| Logic | Vanilla JavaScript, no framework |
| Engine | Capture, ko, Chinese area, SGF |
| Elder Yi | Position analysis → 64 hexagrams → bilingual reading |
| Host | public/go-i-ching/, same Cloudflare static assets as the other toys on this site |
No backend, no accounts. Records live in localStorage. To take a game with you, export SGF.
What can still grow
Stone-click audio was left blank on purpose. A stronger 19×19 player, Simplified Chinese as a third language, hexagram lines that cling even closer to a single move — the tea is still warm. If a capture is wrong, a ko is misread, or a judgment slides off the position, tell us.
Previous on the blog — Strive Hard · Cybertruck Assembly Line
To watch this kind of thing get written in the open, subscribe on YouTube. A topic to throw across the table: Contact.