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