r/learnjavascript • • Mar 08 '21

How to Build a Space Invaders Clone in JavaScript

https://www.youtube.com/watch?v=3Nz4Yp7Y_uA
230 Upvotes

18 comments sorted by

15

u/[deleted] Mar 09 '21

How the hell do you have 2.1million Karma over the span of only 3 years?

8

u/kevinmrr Mar 09 '21

This account is ten years old.

I've hit #1 on reddit about ten times and front-paged a hundred or so times.

4

u/Drethis Mar 09 '21

Yup, checked their account. Shows 9 years for me.

1

u/[deleted] Mar 09 '21

Oh weird. Reddit says it’s 3 years old then I click your account and it says 9 years old. Must be an error.

35

u/TheBoulder_ Mar 09 '21

Step 1: Be attractive

Step 2: Don't be unattractive

14

u/[deleted] Mar 09 '21

The OP isn’t the girl in the video. looks like he has a lot of posts that get around 5 to 10K so not unrealistic

28

u/kevinmrr Mar 09 '21

I'm also attractive tho

2

u/NoMuddyFeet Mar 09 '21

Following the 5 precepts?

0

u/[deleted] Mar 09 '21

[deleted]

5

u/[deleted] Mar 09 '21

I’m just baffled by how much time people spend and post on here. Blows my mind sometimes.

0

u/[deleted] Mar 09 '21

[deleted]

4

u/[deleted] Mar 09 '21

I had the same thoughts about YouTube. But acctually there's a ton of good content. If you don't mind the painfull ads, then try the pick lock lawyer, technology channels, DIY channels, bushcraft channels - they make up good food recipes too. The ads are a total pain, but well. You can use vanced YouTube it has no ads. Add to that a ton of self help stuff, interviews with basically all available celebrities and their opinions. Well there is a lot of you know what to look for.

1

u/Nomikos Mar 09 '21

The ads are a total pain, but well

psst, don't tell anyone I told you, but https://www.google.com/search?q=ublock%20origin this removes youtube ads

1

u/[deleted] Mar 09 '21

Does it work on a Android phone / YouTube app. As I rather browse 80% the time on mobile

1

u/Nomikos Mar 09 '21

Eep, I don't know, but I know there are adblockers that do (also youtube mobile). Add query words to the google search, I guess..

2

u/FormalWolf5 Mar 09 '21

I feel like I want to get into Javascript again...

1

u/apathywithyou Mar 09 '21

Awesome. This will be a great project for the weekend. Thanks

1

u/hatch_coding Mar 09 '21

We love that you're sharing you JS knowledge! We create JS and Python projects for kids and teens and understand the importance of keeping coding education alive.

1

u/xThomas Mar 09 '21

It's crazy looking back that Space Invaders took 6 months of development

3

u/fukitol- Mar 09 '21

The actual amount of code needed is orders of magnitude higher. Javascript does have an entire engine under it.

Not saying anything negative, this is a cool project, it's just not really fair to compare it to the original space invaders, of which I'm sure a lot of the underlying code is hand waved over in javascript