Live data from Hacker News

My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback

armaansahni.com

91–100 of 493 posts

Re: My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback

#91
Fantastic! I just beat the Fire Gollum, genuinely happy about that! I love the graphics, and as for suggestions for improvement, it would be cool if you could show the relative power of each move - I imagine the Exploding Star is a stronger attack? Let's see some stats :-)

Re: My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback

#93

Fantastic work for a 9 year old. If I had access to a computer at 9 I'm not sure I'd be making games so much as playing them. (Although I did move on from playing games to a healthy curiosity about how they worked "under the hood" fairly early on.) When he learns enough to have reached the limits of what he can do in Javascript, you should definitely look into the Godot game engine. Free/OpenSource, powerful, fairly…

> If I had access to a computer at 9 I'm not sure I'd be making games so much as playing them.

I was 10 or 11 when I wrote my first (and only?) game, but A: it was dead simple, and B: I didn't have YouTube, Netflix, and an infinite variety of games a click away to distract me.

I'm impressed with any kids today that can withstand the siren call of distractions on the Internet. I doubt I'd even survive high school today.

Re: My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback

#94
post #83

Earlier quoted context omitted.

> I would like to know when the various weapons are "charged." It doesn't seem like we can tell from looking. I think it might just be doing random choice when it's clicked. I found that if you get the "it's charging" message, you can just click again & again & eventually one of them will go through.

It's not random, you just get +1 charge every time you click an attack — including if the attack doesn't have enough charge to fire.

Ugh, this bug and the "Queston" typo completely broke the immersion. I can't fight my warp core properly in these conditions.

Edit: I think the "charge" is earned when the enemy move is completed, but the logic is buggy. Pretty fun first game nevertheless.

Re: My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback

#95
That's amazing! My son is also 9 and while I haven't even attempted to teach him coding, he would probably enjoy playing this game more than writing one! My only comment is to join in with the rest of the comments here and say how wonderful it is to see this (genuinely fun!) game and to encourage him to do more!

Re: My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback

#96
I found it very satisfying when the opponent got a question wrong. Math is hard, even when you’re an awesome monster like a flying snake or black hole.

I didn’t understand the “charging” mechanic. A little more explanation or some visual that shows charging would help.

Pretty sweet game! Keep it up!

Re: My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback

#97

Great game. I'm very impressed that a 9 year old made this. A few suggestions: 1. Take input on the page rather than through a prompt. Current implementation breaks immersion. 2. I'd like there to be some time pressure. This can be done either by the opponent making their attacks on a timer (rather than taking turns the way it's done now) or by putting an explicit countdown for how long you have to solve the arithmet…

re: (1) I know what you mean, but the prompt component is a great way leverage browser UI for input without affecting the rendered website, so it makes good sense in this case.
Post reply on HN