
Connect Four with Javascript & jQuery - Tutorial
video description
Date: 2022-03-14
Comments and reviews: 5
SuperMoritz95
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
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
Daniel
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
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
CLUSION
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
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
kevin
thank you for teaching this practical example ... I successfully duplicated it and I have learned so much ... again, jQuery is the saver ...
reply
thank you for teaching this practical example ... I successfully duplicated it and I have learned so much ... again, jQuery is the saver ...
reply
Kevin
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
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















