WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2024 Poal.co

764

Description

Title: Learn JavaScript by Building 7 Games - Full Course Duration: 4 hours, 51 minutes, 31 seconds

Learn JavaScript by building 7 retro games.

✏️ Ania Kubów created this course. Check out her channel: https://www.youtube.com/aniakubow

💻 GitHub Links: Rock Paper Scissors: https://github.com/kubowania/rock-paper-scissors-x3 Memory Game: https://github.com/kubowania/memory-game Whac-a-mole: https://github.com/kubowania/whac-a-mole Breakout: https://github.com/kubowania/breakout Frogger: https://github.com/kubowania/Frogger Connect Four: https://github.com/kubowania/connect-four Space Invaders: https://github.com/kubowania/space-invaders

⭐️ Course Contents ⭐️ ⌨️ (0:00:00) Introduction ⌨️ (0:01:56) Rock Paper Scissors ⌨️ (0:18:42) Memory Game ⌨️ (1:04:37) Whac-a-mole ⌨️ (1:30:39) Breakout ⌨️ (2:31:10) Frogger ⌨️ (3:40:02) Connect Four ⌨️ (4:08:23) Space Invaders

🎉 Thanks to our Champion and Sponsor supporters: 👾 Raymond Odero 👾 Agustín Kussrow 👾 aldo ferretti 👾 Otis Morgan 👾 DeezMaster

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of

Sauce

# Description Title: Learn JavaScript by Building 7 Games - Full Course Duration: 4 hours, 51 minutes, 31 seconds Learn JavaScript by building 7 retro games. ✏️ Ania Kubów created this course. Check out her channel: https://www.youtube.com/aniakubow 💻 GitHub Links: Rock Paper Scissors: https://github.com/kubowania/rock-paper-scissors-x3 Memory Game: https://github.com/kubowania/memory-game Whac-a-mole: https://github.com/kubowania/whac-a-mole Breakout: https://github.com/kubowania/breakout Frogger: https://github.com/kubowania/Frogger Connect Four: https://github.com/kubowania/connect-four Space Invaders: https://github.com/kubowania/space-invaders ⭐️ Course Contents ⭐️ ⌨️ (0:00:00) Introduction ⌨️ (0:01:56) Rock Paper Scissors ⌨️ (0:18:42) Memory Game ⌨️ (1:04:37) Whac-a-mole ⌨️ (1:30:39) Breakout ⌨️ (2:31:10) Frogger ⌨️ (3:40:02) Connect Four ⌨️ (4:08:23) Space Invaders 🎉 Thanks to our Champion and Sponsor supporters: 👾 Raymond Odero 👾 Agustín Kussrow 👾 aldo ferretti 👾 Otis Morgan 👾 DeezMaster -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of - Full Description: https://clbin.com/Ctc7r | http://sprunge.us/LH681x # Sauce - 2022-02-28: https://youtube.com/watch?v=ec8vSKJuZTk - https://piped.kavin.rocks/watch?v=ec8vSKJuZTk - https://viewtube.io/watch?v=ec8vSKJuZTk - https://tube.cadence.moe/watch?v=ec8vSKJuZTk - https://hooktube.com/watch?v=ec8vSKJuZTk

(post is archived)

You already dug into this for me, remember? And you found a mistake without even trying very hard. That tells me right there I don't have to go digging very far to find more thot copypasta from stack overflow bullshit.

[–] 0 pt

It's not something that will trigger a compilation error or an error in the execution of the algorithms as it is, so technically it's not really an error

But well, who am I talking to? You can't read the code for yourself to begin with

But well, who am I talking with?

auto_turret. C'mon, man.

[–] 0 pt

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