Repository navigation
Commit 24cbacd
committed
docs(learn): give the tic-tac-toe nine-squares step its own example
The step says 'number the squares so you can tell them apart' and then shows a
snippet whose component is already renamed to board and whose buttons already
read 1-9 -- i.e. it printed the *result* of the rename step two paragraphs
before the rename was asked for, and the same file was reused for both steps.
Add tutorial_tic_tac_toe/nine_squares/app.py (component still named square,
rows of numbered buttons) and point the first include at it. The later include
keeps pointing at board/app.py.
Also clarify editor-setup: the VSCode extension is published as Pylance, which
bundles Pyright -- the bullet said 'install Pyright using the extension' against
a marketplace item nobody can find by that name.1 parent 0decbc3 commit 24cbacd
2 files changed
Lines changed: 27 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
0 commit comments