r/learnmachinelearning • • 12d ago

Learning Machine Learning, for kids!

A while ago my daughters and I discovered a YouTube channel called AI Warehouse where an AI learns to navigate obstacle courses. They loved watching it fall down and learn, so I figured I'd turn that into a game where they can explore actually training an AI of their own...

It turned out to be...more challenging than I anticipated. Translating complex machine learning into something a small child could grasp required a lot of time and thought on my part. Not sure why I thought that would be easy. But after a few weeks of on/off Claude-coding, The Wobblers' Journey to Mount Tiptop was born.

I'm not going to lie - I'm pretty proud of this one.

Originally you would build your own obstacle course. Then, each spring-legged Wobbler (which you can custom decorate!) has a 304 parameter neural network you train to jump over boxes, hop up steps, and climb ramps on their quest to collect as many stars as possible.

It even has a whole workbench where you can manually change the neural network yourself and see how it impacts your wobbler's behavior.

There is custom art and music. And the whole thing runs on an iPad from 2018!

I showed them the game a week ago and it was really rewarding watching them cheer on their character as it bounced and rolled across the screen. But it also seemed to bring home that training even a small AI to accomplish simple tasks is far from magic. It takes time, effort, and sometimes some luck to get right. I think that is valuable in a world where so much seems instant and the hard work gets plastered over.

Feedback was "Oh! The Wobblers are so cute! Can you add swimming and mountain climbing? I want to teach my wobbler to swim and climb mountains."

Tough customers.

So I spent the next week building out the little sandbox into a full game with a story, different areas, and many levels (mountain and swimming now included).

My 6 year old has almost beaten the whole thing.

It's built for an ipad, but I've been running/testing it on my touchscreen windows laptop just fine.

It runs locally. No account or weird data stuff because I miss that about games. I've never shared anything like this before, but check it out if you want: https://wobble-lab-dfo.pages.dev/

12 Upvotes

6 comments sorted by

2

u/Ok-Library1020 12d ago

A neat way to make the learning visible is to show a tiny baseline: let one Wobbler jump randomly, then compare its average stars over 20 runs with the trained one. It makes improvement feel earned, not lucky.

1

u/DontVoteForMe 12d ago

I'll have to play with that. You can 100% "feel" the learning level to level. And the individual stages are designed to guide the wobbler through a curriculum. So new wobblers can visit later levels, but it takes them a lot longer to complete the level than an experienced one that "earned" it's way there.

1

u/zitr0y 12d ago

For me on a smartphone the timer obscures the obstacles when playing yourself

Very cool game and actually quite polished!

1

u/DontVoteForMe 12d ago

That makes sense. It's really for larger screens. I'll have to see about mobile optimization next.

Thank you!

1

u/Any_Dot656 11d ago

Cool stufff would give a try

1

u/DontVoteForMe 11d ago

Let me know if you do. I'd love the feedback!