Live data from Hacker News

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

armaansahni.com

211–220 of 493 posts

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

#211

this is brilliant. most of the feedback i'd want to give has already been given though... e.g. the attack charging confused me a bit until i worked it out by inference. the animations are probably the highlight of this for me. they add some character nicely. adding more elements to show the attacks in progress beyond the colour changes would be a nice way to improve this. i would suggest removing 0 from the rng for t…

We hit divide by zero in testing, so he guarded against that.

He needs to think more about "hardness" of a question and what that means. Right now, multiply/divide are considered "more hard" but that's not actually quite correct given the implementation of divide.

Appreciate the feedback! I'm not sure if games are his future, but it's a great stepping stone at the current age as the output is shareable with his friends!

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

#214

So so so so good. First one of these games where I was hooked and wanted to beat the villain. The added but achievable effort of math was awesome. Sending this to my 10yr old nephew. Some people have mentioned how we aren't sure when weapons are charged, maybe extra animation there would be useful. Also, the villain and I beat each other at the same time (I think?). So the screen after was just: "you win refresh to g…

Charging isn't clear. Somebody documented how it works: https://news.ycombinator.com/item?id=42312807

So the game is actually turn based but the turns are not currently enforced. If you dont play by taking turns, then some weird things can happen like what you see on win/lose section.

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

#215

My 7 year old loves it! He likes the animations, how the creatures get the questions wrong sometimes, and the math questions. Questions were - why do we play a wizard guy (he wants to play as different characters), why does the scorpion drop a star, why are some of the moves not available / charged up yet

You're a math wizard solving math! :)

The scorpion is shooting poison!

The move charging mechanic isn't clear. Somebody documented it here: https://news.ycombinator.com/item?id=42312807 .. it will be made more clear for next version!

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

#218
Awesome job! If you want him to get some experience with bug fixing, I found one: ask him what happens if you click on an attack and then hit escape (it cancels the attack but still charges up your attacks, so you can get to full charge on your first attack)

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

#219

This is really neat. I'm happy that you're encouraging your son to program at such a young age. It really helps to build computer skills to immerse yourself from your early years. I started learning programming using QBasic on my computer at the age of 6. I now know several programming languages and am the go-to person in my friend group for computer help of all kinds. I wish your son the best on his adventures in le…

Thank you! Appreciate your comments!

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

#220

Awesome job! If you want him to get some experience with bug fixing, I found one: ask him what happens if you click on an attack and then hit escape (it cancels the attack but still charges up your attacks, so you can get to full charge on your first attack)

yikes! thanks for the bug report
Post reply on HN