Minecraft Maps / Complex

Redstone Tic-Tac-Toe with optional Unbeatable AI Mode

  • 9,606 views, 10 today
  • 1,970 downloads, 1 today
  • 28
  • 19
  • 1
mattbatwings's Avatar mattbatwings
Level 65 : High Grandmaster Miner
420
Hello! I'm back with another redstone creation. This time I made Tic-Tac-Toe, with both 2-player mode AND 1-player mode against an AI!

This was a super fun project, and I have absolutely loved seeing my friends try to beat the unbeatable AI.
P.S., if you get tired of trying to beat it, there is also a setting to make it normal difficulty instead :)

If you're wondering how the AI works, no, it's not a machine learning system or anything even close to that. It actually just follows a set of 4 simple rules, which can be achieved by using lots of AND gates.

Rule 1: If I have two in a row, try to win.
Rule 2: If the player has two in a row, try to block.
Rule 3: If the player is about to set up a trap, force a tie.
Rule 4: Otherwise, just go somewhere random.

A trap is what I like to call the situation where the player has 2 spots they can win. This guarantees victory as the AI cannot block both spots at once. So, Rule #3 is there to prevent traps from being set up.

Join my discord!
Progress100% complete
Tags

Create an account or sign in to comment.

MrMiner_
06/02/2021 10:43 am
Level 1 : New Miner
MrMiner_'s Avatar
Wow! Haven't tried it yet, but MIND BLOWN!
2
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome