Code Tic Tac Toe Game in JavaScript HTML CSS

Code Tic Tac Toe Game in JavaScript HTML CSS

Kenny Yip Coding

2 года назад

28,627 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Daniel
Daniel - 07.10.2023 00:19

Hey man, I wish I found you're channel when I got started. The way you explain is beginner-friendly and your drawings also help. Keep it up bro🙌

Ответить
Reda
Reda - 01.09.2023 13:38

is dont workpls help

Ответить
PR DEVELOPMENT
PR DEVELOPMENT - 17.08.2023 15:15

WOW😊💯

Ответить
  JS игры  для чайников
JS игры для чайников - 18.05.2023 14:34

Great! Brilliant!

Ответить
Juan Eguia Abad
Juan Eguia Abad - 24.03.2023 03:46

Nice tutorial!
I made this game, but with buttons 🙂

Ответить
Leed Loading
Leed Loading - 30.12.2022 22:29

personally would just love if you can go slower in your up coming videos. I find myself trying to catch up with typing the code without learning the why behind it.

Ответить
ujwala m
ujwala m - 10.11.2022 05:50

i am not able to refrese the css code

Ответить
Phenomenal Creator
Phenomenal Creator - 19.09.2022 14:44

please make video or short on draw too!

Ответить
Sufian Tariq
Sufian Tariq - 18.07.2022 15:46

Function to check Game Tie:

function checkTie()
{
let count = 0;
for(let r=0;r<3;r++)
{
for(c=0;c<3;c++)
{
if(board[r][c] != ' ')
{
count++;
}
}
}

if(count == 9)
{
for(let r=0;r<3;r++)
{
for(c=0;c<3;c++)
{
let t = document.getElementById(r.toString() + "-" + c.toString());
t.classList.add('tie');
}
}
gameOver = true;
}
}

Ответить
Renish Salakhana
Renish Salakhana - 05.07.2022 14:59

please make a function for when the game is tied in this code

Ответить
Renish Salakhana
Renish Salakhana - 05.07.2022 12:23

what if game is tie then ...can you please make function for check tie ??

Ответить
Renish Salakhana
Renish Salakhana - 05.07.2022 12:19

what if we got draw ??

Ответить
Mrinal Singh
Mrinal Singh - 01.07.2022 13:28

Can anyone guide me the procedure to run this on any mobile phones

Ответить
InFiNiTy
InFiNiTy - 24.06.2022 11:32

Hey thanks man that was helpful but I need a favour can you make it so after winner is decided a line comes up on the winning tiles

Ответить
derick farnicky
derick farnicky - 02.05.2022 14:56

can we build tic tac toe using constructor???

Ответить
derick farnicky
derick farnicky - 02.05.2022 14:55

beautiful tutorial

Ответить
Stuart little
Stuart little - 26.04.2022 11:34

Hey bro great video I have a doubt in line 11 how do you set values of board array in 'r' and 'c'

Ответить
Kamaraj P
Kamaraj P - 24.03.2022 17:34

Very Good explanation 👍👍👍

Ответить
Kamaraj P
Kamaraj P - 24.03.2022 17:32

Omg! I found the best 👍💯tutorial ever
Thank you 🙏🙏

Ответить
Rob Parent
Rob Parent - 18.03.2022 16:34

This is the best walkthrough I've seen so far ... by far! Well done. And thanks!

Ответить
tushar malhotra
tushar malhotra - 07.03.2022 19:36

why dos this have no views this is the easiest tutorial ever nice man

Ответить