From 323d6cae0fb0d488eb0658103ba2fef1942ff286 Mon Sep 17 00:00:00 2001 From: robi Date: Sun, 27 Sep 2026 09:10:55 +0300 Subject: [PATCH 1/2] docs: make README consistent with implementation - CPU mode uses a random AI, not minimax - SQLite uses file-based persistence, not in-memory --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4b146c6..918b13b 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # Tic Tac Toe -A tic-tac-toe game with two modes: **CPU** (play against a minimax AI) and **Online** (real-time 2-player over WebSocket). +A tic-tac-toe game with two modes: **CPU** (play against a random AI) and **Online** (real-time 2-player over WebSocket). ## Stack - Frontend: vanilla JS + CSS (no build step) -- Backend: Node.js + Express (serves static files) + `ws` (WebSocket) + `sql.js` (SQLite, in-memory) +- Backend: Node.js + Express (serves static files) + `ws` (WebSocket) + `sql.js` (SQLite, file-based persistence) ## Project layout ``` -- 2.54.0 From da52159cab396ecb3b9fcc2fcb8fbfa168887dca Mon Sep 17 00:00:00 2001 From: robi Date: Sun, 27 Sep 2026 17:06:55 +0300 Subject: [PATCH 2/2] docs: clarify CPU mode is a random-move opponent, not an AI --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 918b13b..c1bc758 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Tic Tac Toe -A tic-tac-toe game with two modes: **CPU** (play against a random AI) and **Online** (real-time 2-player over WebSocket). +A tic-tac-toe game with two modes: **CPU** (play against a CPU opponent that makes random moves) and **Online** (real-time 2-player over WebSocket). ## Stack - Frontend: vanilla JS + CSS (no build step) -- 2.54.0