This is now a notebook-first project.
Start with learn_neural_nets.ipynb.
After that, move to tic_tac_toe_value_net.ipynb.
It is designed to be gentle and interactive:
- short explanations
- tiny coding tasks
- "stop and think" prompts
- simple self-checks
- no full end-to-end solution handed to you immediately
- Open the notebook.
- Read one section at a time.
- Do the task before asking AI.
- Google syntax when you get stuck.
- Only ask for a hint after you have tried something small.
From this folder:
python3 -m venv .venv
source .venv/bin/activate
python --versionIf you want to run the notebook in Jupyter, install one notebook tool inside the virtual environment:
pip install notebook
jupyter notebookIf you prefer VS Code, you can also open the .ipynb file there directly.
learn_neural_nets.ipynb: first guided notebook, gentle and beginner-friendlytic_tac_toe_value_net.ipynb: second guided notebook, harder and more mathematical, with exact tic-tac-toe labels and explicitside_to_movebasics.py: tiny warmup scriptrun_and_demo.py: perceptron demonn_scratch/: plain Python starter code you can compare against latertests/: simpleunittestchecks
For each notebook section:
- One person types.
- One person explains what each line should do.
- Swap roles every 10 to 15 minutes.
Once you finish the first notebook, the next good step is:
- Open the tic-tac-toe notebook.
- Build a hidden layer.
- Work through loss and gradients more carefully.
- Later compare your plain Python version with NumPy.