Tic-Tac-Toe in MakeCode Arcade Blocks as Streamed on Twitch
This is an unbeatable (I think) Tic-Tac-Toe game. It does not use the minimax algorithm. Rather, since tic-tac-toe is such a simple game, this program demonstrates an adhoc, easy-to-follow algorithm that does not use recursion. Yes, it was invented by the author, although certainly it has been used before by others because the computer plays using the same logic that an experienced human player uses. The game features the following types of play: player against computer where the computer makes its best move, player against computer where the computer makes a random mode and computer (best or random) against computer (best or random)
YouTube Video
https://youtu.be/ekXzMfA1P8Y
Blog Post
https://wecodemakecode.com/2020/08/03/tic-tac-toe-in-makecode-arcade-blocks-as-streamed-on-twitch/
Edit this project 
To edit this repository in MakeCode.
- open https://arcade.makecode.com/beta
- click on Import then click on Import URL
- paste https://github.com/wecodemakecode/tic-tac-toe and click import
Blocks preview
This image shows the blocks code from the last commit in master. This image may take a few minutes to refresh.
Metadata (used for search, rendering)
- for PXT/arcade