Build your own Vanilla JavaScript Game!

preview_player
Показать описание
In this video, we’ll build out a Tic Tac Toe game from scratch using only HTML, CSS, and vanilla JavaScript

🔗 Key Links 🔗

---------------------------------------

⏲️ Timestamps ⏲️
0:00 Introduction
0:23 Project setup
6:07 Styling the game board
13:20 Game functionality
25:11 Change color on turn
27:55 Adding hover states
32:35 Improve winning function
36:54 Improve hover and focus states
38:56 Adding confetti

---------------------------------------
🎨 VSCode Theming

---------------------------------------

🌐 Connect With Me 🌐
Рекомендации по теме
Комментарии
Автор

Building games are always fun. I love the pure html and csa setup. Very valuable to learn that way.

FilledStacks
Автор

Very fun. I enjoy doing these types of projects just to relax.

soundrightmusic
Автор

Amazing
Looking forward to more of such tutorials
Thank You so much

AjayKasthala
Автор

Now I get where the target vs currentTarget video inspiration came from!

FromagioCristiano
Автор

Yeah!!!!
Thanks, man!
Abraço do Brasil!

viniciusm.m.
Автор

Great video!, learn lots of intresting technique here. For the creation of the tiles, I wonder why we do we need to create an empty string, repeat it, convert it to an array and convert it back to an string? When we can simply

const button = '<button class="tile"></button>'
const buttons = button.repeat(9)

Is there something I'm missing?

lesliehui
Автор

If there was a draw would you make a draw condition similar to win coniditions where you have an array with the tiles 0--8 filled?

TheChosenmega
Автор

if at the level on codewars, what is the number for this project? i think the tic ta toe project has a difficult logic

mydaily
Автор

How are you able to console.log so quickly. Are you using any extension for it?

faxec
join shbcf.ru