VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
Connect Four with Javascript & jQuery - Tutorial

Connect Four with Javascript & jQuery - Tutorial

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
In this programming tutorial, we'll create a basic two player connect four game using Javascript, jQuery, CSS, and HTML. This tutorial is geared towards people who understand the basics of web technologies, but maybe want to watch how another developer builds a connect four application. -Code: https://github.com/codyseibert/js-connect-four Check out Cody Seibert's main channel: https://www.youtube.com/channel/UCsrVDPJBYeXItETFHG0qzyw
Date: 2022-03-14

Comments and reviews: 5


Awesome tutorial, good job! There only one thing in the checkWinFunction I'm not sure about if it is correct: checkDiagonalTLtoBL - Shouldn't it be --1- for i of the directionB?
Like this: return checkWin ( - i: 1, j: -1 -, - i: -1, j: 1 - );
Strangely it works either way, so let me know if I am wrong!:)
Cheers

reply

You change a LOT of stuff with keyboard shortcuts without communicating or explaining why and those oversights break the code for those who are following your steps, I counted at least three things being deleted off-camera without a single mention or warning.
A waste of time 30 minutes in.

reply

When I hover over the connect4 frame the console.log doesn't work for some odd reason and the code it perfectly fine there is no errors and I debugged it ???
reply

thank you for teaching this practical example ... I successfully duplicated it and I have learned so much ... again, jQuery is the saver ...
reply

I think you went a bit fast explaining how checkWinner() works . Out of that, the rest of the explanation is easy to grasp.
Thanks a lot!

reply
Add a review, comment






Other channel videos