Better HN
topnewbestaskshowjobs
Log inSign up

veesahni

1,954 karma · joined Nov 13, 2011 (15y ago) · 417 submissions

Full stack developer. Founder of Enchant.com

http://www.vinaysahni.com

Submissions

comment 1y ago · link · parent

Exploring effective (hype-free) usage of AI in customer communications. https://enchant.com

comment 1y ago · link · parent

great ideas Luke!

comment 1y ago · link · parent

there are incredible tools available today, the child just needs the will.

comment 1y ago · link · parent

There are sound effects for successful attacks. Every character has a unique attack sound!

comment 1y ago · link · parent

My son has been learning to code. Today he’s releasing v2 of his math battle game, The Gamey Game. He’s excited to share it with you all!

The Gamey Game v2: https://www.armaansahni.com/game-v2

He’s also written a blog post about how he made this game: https://www.armaansahni.com/how-i-took-the-gamey-game-to-the...

He originally released v1 of the game a few months ago and got great feedback from this community. A big thank you for the feedback, it led to some great conversations and provided a ton of motivation for him to keep moving forward.

v2 was built using HTML, JS, CSS. All written by hand in VSCode. No frameworks, no build steps. He made all the graphics himself and also recorded all the audio.

Note that both parents are programmers so he has lots of hints and guidance along the way. He also leverages Google Gemini to answer coding questions (syntax, how to do something, etc), but the LLM isn’t coding for him and it isn’t available to him directly in his editor.

For the blog post, we talked about the target audience and came up with an outline. He then dictated his blog post directly into Google Docs. Finally, we went through a few rounds of feedback/edits (for more clarity, more words, etc).

Other links:

v1 Game Link: https://www.armaansahni.com/game

v1 Blog Post: https://www.armaansahni.com/how-i-coded-a-game-using-ai/

v1 Discussion Thread: https://news.ycombinator.com/item?id=42312121

6.

Back with v2! My 9 year old updated The Gamey Game based on your feedback(armaansahni.com ↗)

4 points · by veesahni · 1y ago · 8 comments

comment 1y ago · link · parent

Reasoning models are a result of the learnings from CoT prompting.

comment 1y ago · link · parent

This is very close to what the ruby REPL will accept.

I tried to paste in the kitchen sink - it didn't like dangling decimals and the comment format, everything else worked as expected.

comment 1y ago · link · parent

Software is pretty cool from that perspective. Creative, intellectually stimulating & pays well. It helps that software powers everything now.

If he does choose to pursue this in the future, he'll have a strong start. There's still a question of what changes will come to the industry as a result of AI.

Appreciate the comments!

comment 1y ago · link · parent

Welll.......... before the game, he made this: https://www.armaansahni.com/pokemon/

:D

comment 1y ago · link · parent

Kids dad here. There's no doubt he had a ton of guidance - both parents are experienced programmers. Many things needed explaining to a 9yo, the same things that would have needed explaining to any new developer.

We went through MANY iterations (test-play/code-review + feedback + dev) before it was released to the public, which meant there was a lot of discussions and lots of opportunities for him to correct many small issues.

Some thoughts:

* DOCTYPE & meta utf-8 - he learned from Khan academy

* meta viewport - I showed him how to test for mobile and pushed to make mobile a priority

* const/let/backticks - he uses prettier in VSCode, which does this automatically

* code modularization - as a result of discussions around maintainability

comment 2y ago · link · parent

I believe what he's created is remarkable for his age, and thus worth sharing. The way he used the LLM is very interesting, even to an adult audience.

The feedback received has been incredibly valuable. Not just for improving the game, but also for sparking conversations at home about game mechanics, color balance, coding standards, and even broader concepts like design and flow.

Ultimately, I'm showing him how we do things in the real world - build it, write about it, make sense of the feedback, and iterate.

comment 2y ago · link · parent

I posted on HN back then also

comment 2y ago · link · parent

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

comment 2y ago · link · parent

Improving clarity around charging is on his plan. Its a big issue with the current version.

I'll show him your feedback about the end-game. He was just excited to use document.write()'s side effect of blanking the page if it was the first use of the function. Partly he just wanted to do it because I told him we don't use that function anymore.

Appreciate the feedback!

comment 2y ago · link · parent

haha that's awesome!!

pounder monster is my favorite animation

comment 2y ago · link · parent

Usually starts with "Scratch" at a very young age. It's block based drag n drop programming.

Here's the path my son followed: https://news.ycombinator.com/item?id=42313045

comment 2y ago · link · parent

He learned about LLM hallucination the hard way, when it recommended things that didn't actually work.

This next generation will have deep understanding of power and limitations of these tools.

Appreciate your comments!

comment 2y ago · link · parent

you need to use throwing star 4 times before it will give you access to exploding star. If you use any other star, it costs you in "charge"

All of his is not clear - he plans to make it more clear for the next version

comment 2y ago · link · parent

Appreciate the feedback!

comment 2y ago · link · parent

One of the things he wanted to implement is "shoots" - where something goes flying to the opponent. Perhaps in a future release!

comment 2y ago · link · parent

Thank you for the kind words!

comment 2y ago · link · parent

Thank you for the kind words :)

comment 2y ago · link · parent

I'm glad it brightened your day!! Appreciate the comments!

comment 2y ago · link · parent

All in good time!

comment 2y ago · link · parent

oh thats cool! I'm sure he'll be so excited to learn his game was used as a reference :)

comment 2y ago · link · parent

Armaan's dad here. Let us know what your 7 year old thinks! Armaan was around 7/8 when the backis series started.

comment 2y ago · link · parent

yes, just view source. No build step here, all CSS and JS is just on the one page.

comment 2y ago · link · parent

The response here will provide lots of fuel for next iterations!

comment 2y ago · link · parent

I described his journey here: https://news.ycombinator.com/item?id=42313045
12345
14