You are browsing as a guest. Sign up (or log in) to start making projects!

2h 52m 16s logged

Moved the game into the browser.
Built a web version with HTML, CSS, and JS, it loads the trained Q-table straight from the JSON file and picks the agent’s move client side, no server needed. Click a cell to play as X, the agent answers as O.
Also retrained the table with a small tweak, new board states now start at -0.1 instead of 0, and wrapped the training code so importing train.py doesn’t kick off a training run by accident. The old CLI script is retired now that the browser version covers the same thing.
It works but looks plain right now, next up is actually styling it properly.

0
3

Comments 0

No comments yet. Be the first!