Skip to content

WeCodeMakeCode/tic-tac-toe

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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)

  • for PXT/arcade
<script src="https://makecode.com/gh-pages-embed.js"></script><script>makeCodeRender("{{ site.makecode.home_url }}", "{{ site.github.owner_name }}/{{ site.github.repository_name }}");</script>

About

A MakeCode project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages