View on GitHub

tic-tac-toe

A MakeCode project

Tic-Tac-Toe in MakeCode Arcade Blocks as Streamed on Twitch

Tic-Tac-Toe in MakeCode Arcade Blocks

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 Build status badge

To edit this repository in MakeCode.

Blocks preview

This image shows the blocks code from the last commit in master. This image may take a few minutes to refresh.

A rendered view of the blocks

Metadata (used for search, rendering)