But well, who am I talking with?
auto_turret. C'mon, man.
See the 2 dimensional array here, starting at line 7 and ending at line 77 https://github.com/kubowania/connect-four/blob/master/app.js
If you look at line 76, you'll see that it ends with a comma, it shouldn't. Commas are used to separate elements in an array, so you have an empty slot after that comma as a result, which in turn affects the array's length; it's one occurence longer than it should be, it can eventually produce an error, but not necessarily, depends on what you do with it.
A 2D array is just an array containing another array, this is a simple array, line 7 https://github.com/kubowania/rock-paper-scissors-x3/blob/main/rock-paper-scissors-examples/rock-paper-scissors-example-2/app.js
As you can see, it doesn't end with a comma, and that's how it should be
DAMNIT FUCKING SHIT I want to post a link to my repo so bad right now.
(post is archived)