modified: research/activity27-tic-tac-toe.yaml
new file: static/images/tic-tac-toe.png
This commit is contained in:
parent
d1998f9d1c
commit
ba91cbcb27
3 changed files with 15 additions and 10 deletions
|
|
@ -11,13 +11,7 @@ sections:
|
|||
You will be playing against the AI. You are 'X' and the AI is 'O'.
|
||||
The board positions are numbered 0 to 8 as follows:
|
||||
|
||||
```
|
||||
0 | 1 | 2
|
||||
---------
|
||||
3 | 4 | 5
|
||||
---------
|
||||
6 | 7 | 8
|
||||
```
|
||||
<img src="/static/images/tic-tac-toe.png">
|
||||
|
||||
- step_id: "step_1"
|
||||
title: "Your Move"
|
||||
|
|
@ -119,6 +113,7 @@ sections:
|
|||
|
||||
script_result = {
|
||||
"plot_image": plot_board(board),
|
||||
"set_background": True,
|
||||
"ai_move": ai_move,
|
||||
"user_move": user_move,
|
||||
"metadata": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue