Live data from Hacker News

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

armaansahni.com

411–420 of 493 posts

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

#413
It's funny because 2 weeks back I showed this game to our robotics team consisting of 5th graders as inspiration for their project and they built a web app to spread awareness about plastic pollution of oceans. Here's is what they came up with help of perplexity.ai and your game:

https://pikabotz55488.github.io/pikabotz/

It is more as a quiz than a game at the moment but I asked them to use prodigy and your son's game as inspiration and turn it into a fun game during the winter break. Thank you for inspiring our team. We will add a link to the gamey game as one of our references.

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

#414

Most of my feedback has already been mentioned by others (charging indicators, seeing what the enemy is "thinking", etc.). I still feel the urge to comment just to say how cool this is. The sprites being animated was definitely not something I expected. Makes the whole thing feel a lot more alive all of a sudden. I encourage everyone to also read the accompanying blog post linked in the OP. The paragraph about how I'…

Kids dad here. I was not expecting animations for v1 either! But one day he asked me what the extra buttons were in Piskel and I explained frames + layers. His eyes lit up and the flying snake was born an hour later. Originally with 4 frames, but mom gave him feedback that he needs more frames for it to be smooth. Thus I believe it is currently 8 frames! And we have talked in depth about how not to use AI. He has a h…

Dude, flying snake is my favorite. I've had a pretty bad week, and this really made my day. I miss the weird internet, with sprites and CMYK bright green. Great job.

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

#417

Earlier quoted context omitted.

Also, looking at the code, I don't think you use "question_array" or "answer_array". And I don't know what "utah2" means. Sorry I'm not great at games but I like looking at code and interfaces.

Kids dad here. Those arrays were for a past version. I nudged him towards randomly generated question/answers. That's currently dead code. "utah2" -- haha, his variable names are sometimes not useful here. We visited Utah months before he wrote the game, so that inspired that variable name I guess! This version I wasn't nitpicking not he code as long as it worked. The bar higher for the next version. .. and yes, spel…

"There are two hard problems in computer science: cache invalidation, naming things, and off-by-1 errors."

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

#418

Earlier quoted context omitted.

Also, looking at the code, I don't think you use "question_array" or "answer_array". And I don't know what "utah2" means. Sorry I'm not great at games but I like looking at code and interfaces.

Kids dad here. Those arrays were for a past version. I nudged him towards randomly generated question/answers. That's currently dead code. "utah2" -- haha, his variable names are sometimes not useful here. We visited Utah months before he wrote the game, so that inspired that variable name I guess! This version I wasn't nitpicking not he code as long as it worked. The bar higher for the next version. .. and yes, spel…

Haha love that :) I think I'm going to start naming my variables after my vacation destinations too to flex on my teammates ;) Keep up the great work though, I'm sending this to my 12 year old brother to get him motivated
Post reply on HN