Live data from Hacker News

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

armaansahni.com

331–340 of 493 posts

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

#331

I defeated one of the monsters. I enjoyed the game and found the pixel animations of the characters quite charming. I never was able to use the almighty exploding star however. Did I need more mana?

You need to use the throwing star 4 times to get access to exploding stars. But using any of the other stars reduces your charge value. It's not clear right now, but that will be fixed in the next version.

Thanks for checking out the game!

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

#333

Maybe we're witnessing one of the last programmers before AI takes over ...

As a programmer myself, even I'm uncertain if we'll still be fighting CSS in 10 years. Or what computer science will look like when its time for him to go to university

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

#334
post #291

That's great! My eldest is quite a few years away from understanding coding but I'm excited to take on such projects with him. For the game itself, I played against a fire gollum dude and the pace felt quite slow -- it would have taken me some 10 minutes to beat him, I imagine. I also didn't know when I get to use my cool moves, since there was no UI indicator.

Appreciate the feedback! Fixing clarity around charging is on his plan for the next version.

But pacing isn't something we've talked about much. I'll raise this with him.

Appreciate the feedback!

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

#336

I would recommend different colors. It’s a little difficulty to read the text. Super cool though! He should be very proud.

Fixing colors is on the plan!

Thanks for checking out the game and for your feedback!

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

#338

You haven't made any of the mistakes that I see from professional web developers. (I'd critique the use of onclick, except you've found the one context where it's acceptable (even sensible!) to use onclick.) Using the Orca screen reader, the game is almost completely playable. Some feedback: • I can't "see" when exploding star is charged up, except by clicking it every turn. • I can't tell whether I've got the answer…

> Using the Orca screen reader, the game is almost completely playable. Interesting! I tried to guide him towards the simple approach - eg: alert() is way simpler than making some sort of modal with HTML/CSS, etc. But now that I think about, that approach (i.e. just use what the browser provides) also results in a more accessible result. I appreciate the detailed feedback here. This is awesome! I'm going to leverage…

You might find WAI's resources useful: https://www.w3.org/WAI/people-use-web/

And if you've come up with a cool idea for how to make something "more accessible", check whether Adrian Roselli wrote a "here's why you should never ever ever do this" article on the subject. https://adrianroselli.com/2024/11/avoid-read-only-controls.h... is funny and illustrates the point:

> It’s weird to me that after I urged everyone not to disable form controls, a bunch of them decided that making them read-only was somehow better. But here we are.

https://adrianroselli.com/2019/02/uncanny-a11y.html is an introductory list. Here's one specifically about screen readers: https://adrianroselli.com/2021/10/blaming-screen-readers-red....

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

#340

I loved playing the game, it was really fun, good job! Now if only I had a shield I could use against power warp core to fend off his attacks maybe I could beat him.

But would you do some more math to bring up your shield? :)
Post reply on HN