Code Tic Tac Toe Game in JavaScript HTML CSS
Vložit
- čas přidán 27. 08. 2024
- Tic Tac Toe Javascript Tutorial. Complete tutorial on how to code a full tic tac toe in javascript step by step for beginners! Learn how to build tic tac toe with javascript!
Code: github.com/ImK...
Demo: imkennyyip.git...
Website: www.kennyyipco...
Java Game Programming Projects Playlist:
• Java Game Programming ...
JavaScript Game Programming Projects Playlist:
• JavaScript Game Progra...
Subscribe for more coding tutorials 😄!
#codetictactoe #tictactoejs #tictactoejavascript
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🙌
This is the best walkthrough I've seen so far ... by far! Well done. And thanks!
Glad you found this tutorial helpful! Make sure to subscribe to see more tutorials like this !
@@KennyYipCoding already did!
why dos this have no views this is the easiest tutorial ever nice man
maybe one day, there will be more views!
@@KennyYipCodingYepp and thanks for making it
@@KennyYipCoding now there are !
If you enjoyed the video, don't forget to like, subscribe, and share! :)
how to code WORDLE: czcams.com/video/ckjRsPaWHX8/video.html
how to code SUDOKU: czcams.com/video/S4uRtTb8U-U/video.html
how to code CONNECT 4: czcams.com/video/4ARsthVnCTg/video.html
how to code 2048: czcams.com/video/XM2n1gu4530/video.html
Omg! I found the best 👍💯tutorial ever
Thank you 🙏🙏
can you create one where you play against the computer
Nice tutorial!
I made this game, but with buttons 🙂
Very Good explanation 👍👍👍
Function to check Game Tie:
function checkTie()
{
let count = 0;
for(let r=0;r
what if game is tie then ...can you please make function for check tie ??
you can add an else condition, if none of the other conditions are met its a tie
what if we got draw ??
thank you this changed my life😀😄😊
Hey bro great video I have a doubt in line 11 how do you set values of board array in 'r' and 'c'
hello
so i wrote everything in the code the exact same
but when i added the
if(board[r][c] != ' '){
return;
}
it becomes unclickable
Pls help
You have a bug somewhere, you can right click on the web page -> inspect, and go to console to see if anything gets printed out. If not, if you click on the GitHub link in the video description, you can compare the code like by line to see where you wrote something differently.
@@KennyYipCoding Ok thanks I will try it out
i am not able to refrese the css code
please make a function for when the game is tied in this code
im new to coding. im encountring an issue that my borders are not showing i even tried using z-index but in vain. Welp
beautiful tutorial
Great! Brilliant!
Hi, im new js learn, i want learn javascript, but i still don't understand, 12:39 what let r let c mean, can you explain pls and board [r][c], how it does works, thnx you very much
please make video or short on draw too!
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
can we build tic tac toe using constructor???
not sure what you mean by that but you could try playing around with the code, changing it up or moving things around!
good ,no the best
Can anyone guide me the procedure to run this on any mobile phones
Hi, I have a tutorial on my channel on how to host your website for free on GitHub. After you host it, just enter the link on your phone
WOW😊💯
im convinced that your a time waister
You’re * a time waster*
Anyway feel free to elaborate what you mean !