I tired doing a JavaScript game

i tried to make a collect game where you had to get 100 fruits and if 1 fall, then game over. it took me about 2 hours so here you go!

5 Likes

Cool! Im making my FIRST javascript game right now! Though I have no idea how java works…

2 Likes

YAAAY I’m happy for you. my dads trying to make me learn js. I’m not looking forewords. but my coding will get better.

1 Like

Hella hard, but pretty fun ngl.

1 Like

I haven’t started using JavaScript yet due to me being lazy

1 Like

Java and JavaScript are completely different, so make sure you specify JavaScript when researching. Actually, Makecode is technically “TypeScript”, so actually use that instead!

1 Like

this is my code as when a turn JavaScript game #1 into blocks.

here’s a another one:

Really? I didn’t know that, I thought that Java was just short for JavaScript. Also how do you get into typescript? I’ve seen people talk about it but haven’t actually seen it before

2 Likes

Wait nvm the last question, JavaScript on make code arcade is actually TypeScript!? I thought there was just another option hidden somewhere :sob:

2 Likes

Yup! They are basically the same thing though. It’s technically “Static Typescript” whatever that means. You can read about it here:

And click on the “language docs” link to see all the features of it!

2 Likes

Java is another code. And plus, Javascript in its short form is JS. And I do JS!