Commit History

Advanced defense: detect alternative paths to same macro square; prefer global-line wins that capture multiple boards
f8b9212

ausername-12345 commited on

Let players choose AI start order
2e289dd

ausername-12345 commited on

Add idle self-play training
8e4c696

ausername-12345 commited on

Precise owned-board penalty: only penalize if move didn't win a new board via global line
5ae40cd

ausername-12345 commited on

Null owned cells in heuristic global threat analysis; bump owned-board penalty to -20
80a3db5

ausername-12345 commited on

Swap priority: block opponent micro-board threats before taking speculative wins
1ff60a0

ausername-12345 commited on

Add board diversity bonus to heuristic and opening spread incentive
73239e8

ausername-12345 commited on

Upgrade from 2-ply to 3-ply NN minimax with wider search (TOP_K=14, OPP_TOP_K=12, AI_DEPTH3_K=8)
0c5120f

ausername-12345 commited on

Run as root (HF Spaces default) so /data storage bucket is writable
372b670

ausername-12345 commited on

Try /data storage bucket with runtime fallback to ./ai/ if write fails
14481c9

ausername-12345 commited on

Drop bucket mount approach, persist via Hub API pushes on each game save instead
0d8160e

ausername-12345 commited on

Seed model weights to DATA_DIR from git before training (fixes ENOENT /data/model_weights.json)
76910e4

ausername-12345 commited on

Fix bucket write permission: entrypoint runs as root, chmod 777 /data, then drops to appuser via su-exec
2e2a8c9

ausername-12345 commited on

Fall back to ./ai/ if /data is not writable (EACCES on mounted buckets)
0ef7718

ausername-12345 commited on

Add logging for DATA_DIR and game saves to debug recording
d897083

ausername-12345 commited on

Persist game data and trained weights via HF Hub API (no bucket needed, uses built-in HF_TOKEN) + defer server start until init complete
2bae1ce

ausername-12345 commited on

Fix loadGames is not defined (missing import after fork refactor)
e9c3aaf

ausername-12345 commited on

Auto-detect HF /data persistent storage; no env var needed
1f59349

ausername-12345 commited on

Store training data and trained weights in DATA_DIR (configurable, survives HF Space restarts); fall back to git-tracked model_weights.json
e11b76f

ausername-12345 commited on

Run AI training in child process (fork) so server stays responsive during training
cdfdb11

ausername-12345 commited on

Auto-train AI every 5 games: background training, games-since-last-train counter, UI shows pending status
5122e74

ausername-12345 commited on

Train AI from human games: game recording, JS backprop training, value head init, Train AI button, record toggle
5c8e7e0

ausername-12345 commited on

Replace heuristic 3-ply with NN-based 2-ply minimax + fix game-level fork detection
555d1e8

ausername-12345 commited on

Fix AI tactical priorities: offence before defence, fork detection, global lines, avoid owned boards
6363f43

ausername-12345 commited on

Rename 'vs AI' to 'AI' on home screen card
cb56eaf

ausername-12345 commited on

Fix 'Play Again' for AI mode — reset local board state instead of emitting restartGame (which triggered wrong online flow)
99aba29

ausername-12345 commited on

Fix AI: heuristic compared numbers to strings (never detected threats). Replace MCTS with 3-ply minimax + explicit opponent board-win blocking. Increase board ownership weight from 10 to 20.
c205a4f

ausername-12345 commited on

Improved heuristic (near-wins, threats, cell counts) + 150 MCTS sims for tactical AI
08d57c2

ausername-12345 commited on

Export value_head in model for neural network value evaluation
b71d4e1

ausername-12345 commited on

Add MCTS at inference: 50 sims, heuristic+network eval for strong tactical play
26f8530

ausername-12345 commited on

Update trained model weights (AlphaZero, 244K params, 3 gen)
cffb42a

ausername-12345 commited on

Update resume path for Colab, reduce gens/games
9a459b4

ausername-12345 commited on

Fix Dockerfile: copy ai/ directory for AI engine
f847af3

ausername-12345 commited on

Add AI mode: neural network opponent with MCTS-guided self-play training
090753a

ausername-12345 commited on

Adjust chat badge position: higher (-6px) and more to the left (right: 0)
a71e7ca

ausername-12345 commited on

Fix chat badge cut-off: use inner wrapper for badge positioning instead of overriding fixed position on toggle button
84fb665

ausername-12345 commited on

Merge branch 'main' of https://huggingface.co/spaces/sebebeb/supertictactoe
9590bdc

ausername-12345 commited on

Mobile UX improvements: touch-safe hover effects, tap delay removal, larger board cells, unread chat badge, compact layouts for small screens
211b84f

ausername-12345 commited on

Update server.js
baeb927
verified

Sebebeb commited on

Full-page background tint matches current player's color
5d87caf

ausername-12345 commited on

Background tints to current player's color; reset on home screen
2b3c9e3

ausername-12345 commited on

End game when all macro squares are owned (majority wins, tie=draw)
6dd2817

ausername-12345 commited on

Fix: lines through owned boards still count; only award unowned boards in the line
94fa226

ausername-12345 commited on

Revert: owned board cells are NOT nulled in global line detection grid
ff144f1

ausername-12345 commited on

Remove board-sending mechanic, restore free-play; keep owned-board cell nulling in global line detection
f6098c8

ausername-12345 commited on

Fix: null out owned board cells in global line detection; add board-sending mechanic
a29a6d9

ausername-12345 commited on

Update public/js/app.js
0378b39
verified

Sebebeb commited on

Update server.js
a663bd3
verified

Sebebeb commited on

Upload 9 files
decb686
verified

Sebebeb commited on

initial commit
ac013e9
verified

Sebebeb commited on