Live data from Hacker News

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

armaansahni.com

461–470 of 493 posts

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

#461

Love it. In terms of constructive feedback: I would like to know when the various weapons are "charged." It doesn't seem like we can tell from looking. Also it might be interesting to see what question the opponent is working on and what his answer is.

Perhaps a grey colour to indicate no charge and a coloured to indicated charged

[Dons evil cloak]

Or, something small and sneaky, like a pixel changing.

[Removes cloak]

On second thought, that would kill the charm of it.

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

#462

Earlier quoted context omitted.

haha that's awesome!! pounder monster is my favorite animation

After he's done with v2, might I propose... THE GAMEY GAME 3D ?? https://threejs.org/ I started coding at 9 as well (which was a long time ago now), so I was very happy to play and see this today.

Lol, he actually imagined some sort first-person 3d game, So yes, its entirely possible. We'll see where his interests take him.

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

#463
Hmm, seem to be some missed opportunities here. Has your son even considered adding some affiliate links? Maybe some sponsorship from some great brands, I'm thinking Geico, maybe Disney, you know work with me here. Instead of math (borrrring..) how about some fun product related questions? Like: how many calories in Diet Coke (if your son can clinch the endorsement). Maybe he could start reaching out to influencers for some word of mouth, you know what I'm talking about.

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

#464
Posted to reddit four months ago:

https://www.reddit.com/r/learnprogramming/comments/1elfo3q/m...

Backstory: My son has been learning to code. We had a breakthrough recently. I wanted him to figure out how to use the Internet as a resource, so I gave him a set of increasingly harder tasks. He was encouraged to ask Gemini and Google for help, but to try not to ask me. Although it was a rough start, he eventually figured out how to leverage Gemini. This is interesting part: When he'd ask it for information, the AI would give him a wall of text. He would rephrase what he learned in his own words and ask the AI if his understanding was correct. When he did this, the AI would give him back a nuanced response identifying where he was right and where was wrong. This feedback loop leveled up his coding skills big time. In a few weeks of this he felt confident and comfortable enough to build his game.

Here's a link to his game (called The Gamey Game) https://www.armaansahni.com/game/

And here's a blog post he wrote about his experience making The Gamey Game: https://www.armaansahni.com/how-i-coded-a-game-using-ai/

He'd appreciate any feedback (about the game, writing, code, etc). He'll be reading all the comments.

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

#467
post #464

Posted to reddit four months ago: https://www.reddit.com/r/learnprogramming/comments/1elfo3q/m... Backstory: My son has been learning to code. We had a breakthrough recently. I wanted him to figure out how to use the Internet as a resource, so I gave him a set of increasingly harder tasks. He was encouraged to ask Gemini and Google for help, but to try not to ask me. Although it was a rough start, he eventually figur…

I posted on HN back then also

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

#470

Earlier quoted context omitted.

I really have to applaud how astute you've been with your observations of how your son is learning things. That's quite difficult. Additionally, I'm glad you weren't afraid to hand your son the real tools and let him build and break stuff. For some reason with programming, so much of the curriculum (even for adults) spends a lot of effort to hide away the things that are perceived as too difficult (e.g., pointers, me…

As a programmer, I feel the 'fundamentals' are very important. Because, well, then there's no magic. I think the curriculum hides the code because its just so complicated. For example, just to build on the web he has to learn 3 different languages (HTML, CSS, JS). To do anything simple (like move a box on a screeen) there are too many choices (animated gif, CSS animation, JS animation, etc). Then there's complexity o…

I agree with you that I want a non-magic approach. I want to understand the nitty gritty so I am building my code with solid foundations based on how the actual hardware works.

However, this is not an approach that works for the masses. The vast majority of programmers are quite happy to work at the surface level and they can tackle a huge amount of the work doing things I consider too easy to be interesting. That's good, because I can't motivate myself to do that boring stuff either.

You are right that baby steps is always the way. Especially good when you can get something basic working, then test & iterate.

Post reply on HN