Coding Challenge 149: Tic Tac Toe
This is a beginner-friendly challenge where I attempt to code a basic version of the game Tic-Tac-Toe using JavaScript and the p5.js library. Code: https://thecodingtrain.com/challenges... š¹ļø p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/s... š„ Previous video: Ā Ā Ā ā¢Ā CodingĀ ChallengeĀ #148:Ā GiftĀ WrappingĀ Algor...Ā Ā š„ Next video: Ā Ā Ā ā¢Ā CodingĀ ChallengeĀ #150:Ā AIĀ RainbowsĀ withĀ Ru...Ā Ā š„ All videos: Ā Ā Ā ā¢Ā CodingĀ ChallengesĀ Ā Videos: š“ Livestream Archive: Ā Ā Ā ā¢Ā CodingĀ TrainĀ LiveĀ 181:Ā ProcessingĀ LibraryĀ ...Ā Ā Related Coding Challenges: š #77 Recursion: Ā Ā Ā ā¢Ā CodingĀ ChallengeĀ #77:Ā RecursionĀ Ā š #154 Tic Tac Toe AI with Minimax Algorithm: Ā Ā Ā ā¢Ā CodingĀ ChallengeĀ 154:Ā MinimaxĀ AlgorithmĀ fo...Ā Ā š #163 BĆ©zier Curves: Ā Ā Ā ā¢Ā BĆ©zierĀ curvesĀ (CodingĀ ChallengeĀ 163)Ā Ā Timestamps: 0:00 Welcome! 0:54 Start coding 3:50 Drawing X and O 5:00 Let's diagram this! 8:46 Randomly choose the first player at the start of round 10:18 Drawing the grid 10:58 Each player places their symbol on a random spot 15:00 Check for a winner 18:44 Checking for equality of three elements 19:50 More bugs 21:01 Final Working Version! Show the winner 22:34 Thanks for watching! Editing by Mathieu Blanchette Animations by Jason Heglund Music from Epidemic Sound š Website: http://thecodingtrain.com/ š¾ Share Your Creation! https://thecodingtrain.com/guides/pas... š© Suggest Topics: https://github.com/CodingTrain/Sugges... š” GitHub: https://github.com/CodingTrain š¬ Discord: Ā Ā /Ā discordĀ Ā š Membership: http://youtube.com/thecodingtrain/join š Store: https://standard.tv/codingtrain šļø Twitter: Ā Ā /Ā thecodingtrainĀ Ā šø Instagram: Ā Ā /Ā the.coding.trainĀ Ā š„ Coding Challenges: Ā Ā Ā ā¢Ā CodingĀ ChallengesĀ Ā š„ Intro to Programming: Ā Ā Ā ā¢Ā StartĀ learningĀ here!Ā Ā š p5.js: https://p5js.org š p5.js Web Editor: https://editor.p5js.org/ š Processing: https://processing.org š Code of Conduct: https://github.com/CodingTrain/Code-o... This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecod... #beginners #tictactoe #games #p5js

Coding Challenge #150: AI Rainbows with Runway and p5.js

Coding Challenge 1: Starfield Simulation

Coding Challenge 154: Minimax Algorithm for Tic Tac Toe

Coding Challenge 3: The Snake Game

If Prime Numbers Become Increasingly Rare, Then Why Do They Keep Showing Up In Pairs?

Animation vs. Geometry

I Investigated The World's Skinniest vs Fattest City

FIFA World Cup Uncut | 8 Minutes of Unforgettable Madness | Brazil vs Germany (2014 Semi-Final)

Die Zombie-Simulation, die niemand erklƤren kann

This is 0 Elo Chess

How to Answer ANY Question (Even If You Don't Know The Answer!)

Something is jamming GPS over Europe. Here's what we found

I Built a Virus for this Cocky Scammer

Animation vs. Math

I turned an old van into a 2-STORY tiny house

Trump im Umfragetief | Ćberteuerte WM-Tickets | FDP-Comeback? | heute-show vom 05.06.2026

Animation vs. Coding

Coding Challenge 186: Wave Function Collapse

I Gave ChatGPT a Body

