JavaScript Tic Tac Toe Game Tutorial

  Рет қаралды 11,746

Angle Brace

Angle Brace

Күн бұрын

Пікірлер: 24
@AngleBrace
@AngleBrace 3 жыл бұрын
Which game should we create next?
@ncsgaming4093
@ncsgaming4093 2 жыл бұрын
home game light on and off or Math Game Thanks For Your Great Tutorial
@AngleBrace
@AngleBrace 2 жыл бұрын
@@ncsgaming4093 Thanks I will try my best
@manushreemallaraju2369
@manushreemallaraju2369 2 жыл бұрын
@Angle Brace Chessboard. Thanks for your easy and understandable tutorial.
@manushreemallaraju2369
@manushreemallaraju2369 2 жыл бұрын
Hi @Angle Brace, I have searched so many other tutorials out there, which are very fancy and complicated. But I found your tutorial very helpful. As it finds easier for a beginner to understand and implement. Keep up the great work. 🤩
@AngleBrace
@AngleBrace 2 жыл бұрын
I am glad you liked it I can't thank you enough for your support
@cyrilkariyawasam977
@cyrilkariyawasam977 Жыл бұрын
Thank you, very simple and easy to understand for beginners.
@aayushlamsal-i8e
@aayushlamsal-i8e Жыл бұрын
thank you brother....im a beginner and found your code very easy to understand....you makes me full clear
@Ajjones01
@Ajjones01 2 жыл бұрын
One of the simplest tutorials on KZbin. Thanks!
@AngleBrace
@AngleBrace 2 жыл бұрын
I am glad you liked it
@Alex-dg3nc
@Alex-dg3nc 2 жыл бұрын
where did you learned coding bro.pls reply
@nosh8172
@nosh8172 2 жыл бұрын
Thanks for the tutorial, really helpful, and you sound like a nice guy!
@AngleBrace
@AngleBrace 2 жыл бұрын
Thanks a lot it makes my day 💕
@fahmah72
@fahmah72 3 жыл бұрын
Great tutorial. Keep it up, brother 🖤
@AngleBrace
@AngleBrace 3 жыл бұрын
Many mant thanks
@mustafasaid-ahmed9279
@mustafasaid-ahmed9279 2 жыл бұрын
I’m having trouble with the interactive part. Everything was fine until you hopped onto JavaScript. My webpage isn’t responsive(not showing x or o when I click on the cells) Any suggestions?
@razarukhsar8479
@razarukhsar8479 Жыл бұрын
X and O
@razarukhsar8479
@razarukhsar8479 Жыл бұрын
U have to add it
@aleyna5601
@aleyna5601 2 жыл бұрын
its not alerting winner when winner did the combination, its alterting after other player plays
@samu_8000
@samu_8000 3 жыл бұрын
Nice :)
@AngleBrace
@AngleBrace 3 жыл бұрын
Well Thank you 💓
@manushreemallaraju2369
@manushreemallaraju2369 2 жыл бұрын
Hello Everyone: Seems like after the player is won, the board still accepts the click events, so use the code below. See the comments with the code. let flag = false; checkForWinner = () => { if (check) { highlightCells(combination); flag = true; // make the flag true, if player has won. } } cells.forEach((cell) => { if (flag) { return } //if the player has won, then return.. else { cell.innerHTML = currentPlayer; /**After each move we need to check for the winner.. */ checkForWinner(); // before that create winning combinations.. currentPlayer = currentPlayer == 'X' ? 'O' : 'X' /* allow to change the player type after inserting, should be prevented.. */ } }
@AngleBrace
@AngleBrace 2 жыл бұрын
That's really helpful thanks for pointing out
@aleyna5601
@aleyna5601 2 жыл бұрын
it started to show every cell as X now
A game of TicTacToe written in JavaScript ⭕
18:57
Bro Code
Рет қаралды 119 М.
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 24 МЛН
Крутой фокус + секрет! #shorts
00:10
Роман Magic
Рет қаралды 41 МЛН
Synyptas 4 | Арамызда бір сатқын бар ! | 4 Bolim
17:24
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26
Code Tic Tac Toe Game in JavaScript HTML CSS
20:17
Kenny Yip Coding
Рет қаралды 30 М.
Coding Tic-Tac-Toe Game with ChatGPT in Python
21:47
NeuralNine
Рет қаралды 10 М.
Code Mario in JavaScript with Kaboom.js!
1:00:23
Code with Ania Kubów
Рет қаралды 915 М.
THE ODIN PROJECT: TIC TAC TOE | PROJECT SOLUTION
44:51
Dors Coding School
Рет қаралды 10 М.
Java tic tac toe game ⭕
30:00
Bro Code
Рет қаралды 292 М.
Learn CSS Animations In 20 Minutes - For Beginners
21:22
Slaying The Dragon
Рет қаралды 1 МЛН
The Easiest Javascript Game Ever
8:34
KnifeCircus
Рет қаралды 968 М.
Build your own Vanilla JavaScript Game!
41:21
Coding in Public
Рет қаралды 2,9 М.
Build Tic Tac Toe With JavaScript - Tutorial
41:46
Web Dev Simplified
Рет қаралды 360 М.
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 24 МЛН