Tic Tac Toe Game in JavaScript | JavaScript Projects

  Рет қаралды 14,046

Piyush Garg

Piyush Garg

Күн бұрын

Пікірлер: 29
@piyushgargdev
@piyushgargdev Жыл бұрын
Source Code: www.piyushgarg.dev/projects/tic-tac-toe
@TheShahaan
@TheShahaan Ай бұрын
404
@RishabSharma6969
@RishabSharma6969 Ай бұрын
It isn't workin .Showing 404 not found!
@ris99
@ris99 Жыл бұрын
Thanks bhaiya ! aise hi small small project se humara logic building hga, and love your explanation
@piyushgargdev
@piyushgargdev Жыл бұрын
Most welcome 😊
@arghamallick2126
@arghamallick2126 Жыл бұрын
Very nice.. I am currently leaning js. This video is helpful. 😍
@piyushgargdev
@piyushgargdev Жыл бұрын
Glad it was helpful!
@knightrider7762
@knightrider7762 4 ай бұрын
VERY NICE EASY TO UNDERSTAND VERY HELPFULL THANKS PIYUSH KEEP DOING IT
@Bajpai216
@Bajpai216 2 күн бұрын
You are best ❤❤
@shubhamaths
@shubhamaths Жыл бұрын
Thank You so much vai ❤️. I loved the winning logic ❤️ very simple and understandable. ❤️
@arpitsahu968
@arpitsahu968 Жыл бұрын
I have a doubt in current player if else condition please explain me ...... current player to x assign kr diye hai to hr br wo x hi hona chaiye click m to O kaise bnra hai wo
@RaniSingh-kd3vq
@RaniSingh-kd3vq 8 ай бұрын
currentPlayer = currentPlayer === "X" ? "O" : "X"; due to this ternary condition 0 aa rha hai. It is checking if the current player is X then the next would be 0 or else X. Read about TERNARY OPERATOR in javascript.
@abhishekkumaryadav1088
@abhishekkumaryadav1088 2 ай бұрын
Thanks bro
@abhishekgaimukhe3248
@abhishekgaimukhe3248 Жыл бұрын
Sir onClick property is not working with Square component ? Can you help
@piyushgargdev
@piyushgargdev Жыл бұрын
Change onClick to onclick (all lower case)
@Balebalerussian
@Balebalerussian Ай бұрын
bro i am not able to think the logics like u after learning the js syntax.can u give me the soln for it
@monstergaming583
@monstergaming583 Жыл бұрын
Sir how to learn JavaScript
@piyushgargdev
@piyushgargdev Жыл бұрын
Best way is to learn and build many projects using Javascript. More you build the more you master it.
@madhav007
@madhav007 Жыл бұрын
can we also style the text written by document.write() ?
@piyushgargdev
@piyushgargdev Жыл бұрын
Yes why not, you can even code a custom container to show winner and reset the game. Cheers 🥂
@madhav007
@madhav007 Жыл бұрын
@@piyushgargdev ok thanks
@latifaloneyb3451
@latifaloneyb3451 Жыл бұрын
Mast hai sir
@kumar_sanjeevdutta1069
@kumar_sanjeevdutta1069 4 ай бұрын
Good
@latifaloneyb3451
@latifaloneyb3451 Жыл бұрын
Sir HTML ka pura course
@siddheshpatel693
@siddheshpatel693 3 ай бұрын
There Is A small Bug in the code and fix for it simple just change if to else if and it works fine. if(!array.some((e) => e === null)) to => else if(!array.some((e) => e === null)) . The Bug Get triggers when last cell is press one on the right Conner and all the cell are full it results shows draw even X or O is winning ; Bro Love Your Teaching , Learnt From U , Just Helping , Might Help Someone
@deepaksebak1594
@deepaksebak1594 Жыл бұрын
Which vscode is that
@piyushgargdev
@piyushgargdev Жыл бұрын
Which One?
@deepaksebak1594
@deepaksebak1594 Жыл бұрын
vscode theme name
@piyushgargdev
@piyushgargdev Жыл бұрын
Ayu Mirage Dark
Guess The Colour Game Javascript | Javascript Projects
22:59
Piyush Garg
Рет қаралды 4,3 М.
A game of TicTacToe written in JavaScript ⭕
18:57
Bro Code
Рет қаралды 120 М.
UFC 308 : Уиттакер VS Чимаев
01:54
Setanta Sports UFC
Рет қаралды 664 М.
REAL 3D brush can draw grass Life Hack #shorts #lifehacks
00:42
MrMaximus
Рет қаралды 12 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 275 #shorts
00:29
SISTER EXPOSED MY MAGIC @Whoispelagheya
00:45
MasomkaMagic
Рет қаралды 18 МЛН
React Typescript Tic Tac Toe
24:21
Piyush Garg
Рет қаралды 11 М.
Tic Tac Toe winning logic for programmers
9:20
Hitesh Choudhary
Рет қаралды 64 М.
Create a simple tic tac toe game using HTML, CSS, JavaScript
10:54
JavaScript Academy
Рет қаралды 186 М.
Build Tic Tac Toe With JavaScript - Tutorial
41:46
Web Dev Simplified
Рет қаралды 360 М.
Creating a Calculator using HTML, CSS & JavaScript
34:04
CodeWithHarry
Рет қаралды 979 М.
Something is wrong with developers!
26:21
Piyush Garg
Рет қаралды 90 М.
How to make 2048 Game with Javascript HTML CSS
37:49
Kenny Yip Coding
Рет қаралды 52 М.
UFC 308 : Уиттакер VS Чимаев
01:54
Setanta Sports UFC
Рет қаралды 664 М.