Try /data storage bucket with runtime fallback to ./ai/ if write fails 14481c9 ausername-12345 commited on 23 days ago
Drop bucket mount approach, persist via Hub API pushes on each game save instead 0d8160e ausername-12345 commited on 23 days ago
Seed model weights to DATA_DIR from git before training (fixes ENOENT /data/model_weights.json) 76910e4 ausername-12345 commited on 23 days ago
Fall back to ./ai/ if /data is not writable (EACCES on mounted buckets) 0ef7718 ausername-12345 commited on 23 days ago
Add logging for DATA_DIR and game saves to debug recording d897083 ausername-12345 commited on 23 days ago
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 23 days ago
Fix loadGames is not defined (missing import after fork refactor) e9c3aaf ausername-12345 commited on 23 days ago
Auto-detect HF /data persistent storage; no env var needed 1f59349 ausername-12345 commited on 23 days ago
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 23 days ago
Run AI training in child process (fork) so server stays responsive during training cdfdb11 ausername-12345 commited on 23 days ago
Auto-train AI every 5 games: background training, games-since-last-train counter, UI shows pending status 5122e74 ausername-12345 commited on 23 days ago
Train AI from human games: game recording, JS backprop training, value head init, Train AI button, record toggle 5c8e7e0 ausername-12345 commited on 23 days ago
Add AI mode: neural network opponent with MCTS-guided self-play training 090753a ausername-12345 commited on 24 days ago
End game when all macro squares are owned (majority wins, tie=draw) 6dd2817 ausername-12345 commited on 25 days ago
Fix: lines through owned boards still count; only award unowned boards in the line 94fa226 ausername-12345 commited on 25 days ago
Revert: owned board cells are NOT nulled in global line detection grid ff144f1 ausername-12345 commited on 25 days ago
Remove board-sending mechanic, restore free-play; keep owned-board cell nulling in global line detection f6098c8 ausername-12345 commited on 25 days ago
Fix: null out owned board cells in global line detection; add board-sending mechanic a29a6d9 ausername-12345 commited on 25 days ago