Wired to Learn #2: Adding Key Features to Tic Tac Toe Before a Game Bot
Автор: Prof. Weimao Ke
Загружено: 2023-07-11
Просмотров: 84
In part 2, we will add a few features before creating a bot:
1) Clean up the code a bit.
2) Add a status bar and a reset button to start a new game.
3) Include a check_win function to check who the winner is and end the game.
```
[Status]
___________
| O | | |
--- --- ---
| | X | |
--- --- ---
| X | O | |
--- --- ---
| Reset |
-----------
```
Code is available on: https://github.com/keweimao/wired/tre...
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: