DEV Community

Cover image for Build a Tic Tac Toe Game using HTML, CSS, JavaScript, Tailwind CSS and Canvas Confetti

Build a Tic Tac Toe Game using HTML, CSS, JavaScript, Tailwind CSS and Canvas Confetti

Code of Relevancy on March 13, 2023

Welcome to the Island of Relevancy. Tic Tac Toe is a classic game that has been enjoyed by people for generations. It's a simple game that can be ...
Collapse
 
ant_f_dev profile image
Anthony Fung

Nice game! What's the algorithm for checking for winning conditions?

I (re)created two browser games a while ago to help me learn. If anyone's interested:

Collapse
 
codeofrelevancy profile image
Code of Relevancy

I have added A GitHub link to the YouTube video. You can check the code of winning conditions. Thanks for sharing these games. You added "How to play" section which is amazing and important part for any game..

Collapse
 
ant_f_dev profile image
Anthony Fung

Ah, thanks for that - I was in a bit of a rush and didn't see the link. Very clever!

Thread Thread
 
codeofrelevancy profile image
Code of Relevancy

You’re welcome my friend

Collapse
 
artydev profile image
artydev

Nice :-)
If you like JS Games , you can look at this one : Puzzle
Regards

Collapse
 
ant_f_dev profile image
Anthony Fung

The puzzle's great fun! It's nice that the code is there too so you can see how things are done.

Collapse
 
artydev profile image
artydev

If you have some questions, don't hesitate...

Collapse
 
codeofrelevancy profile image
Code of Relevancy

Thank you. That puzzle is great

Collapse
 
ebuka1anthony profile image
ebuka anthony

nice one. dope stuff

Collapse
 
codeofrelevancy profile image
Code of Relevancy

Thank you Anthony sir for your kind words..

Collapse
 
corners2wall profile image
Corners 2 Wall

Great job dude!!!

Collapse
 
codeofrelevancy profile image
Code of Relevancy

Thank you boss..

Collapse
 
sarma_akondi_746f338b83b7 profile image
Sarma Akondi

Thanks for the share πŸ™‚

Collapse
 
codeofrelevancy profile image
Code of Relevancy

You're welcome my friend..

Collapse
 
stakedesigner profile image
StakeDesigner

wow great work

Collapse
 
codeofrelevancy profile image
Code of Relevancy

Thank you boss

Collapse
 
adityasaini3 profile image
Aditya Saini

Simple and great explanation βœ¨πŸ‘

Collapse
 
codeofrelevancy profile image
Code of Relevancy

Thank you so much bro..

Collapse
 
femi_akinyemi profile image
Femi Akinyemi

WelldoneπŸŽ‰

Collapse
 
codeofrelevancy profile image
Code of Relevancy

Thank you Femi Akinyemi Sir

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
codeofrelevancy profile image
Code of Relevancy

Thank you for your feedback

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
manojlingala profile image
manojlingala • Edited

It's a great composition of an article mate , good stuff :heart

Collapse
 
codeofrelevancy profile image
Code of Relevancy

Thank you my friend for your kind words.. ❀️