Hacker News new | ask | show | jobs
by andai 2 days ago
45 minutes and $20 ? You can make it in 5 minutes with DeepSeek!

I even did it for free in their web chat.

https://jsbin.com/sigesemeyi/edit?html,output

DeepSeek Flash was also able to do it, even with reasoning disabled, but Pro gave much nicer graphics.

Your Fable version is prettier though!

Edit: And has better gameplay. And sounds. OK, nevermind! Fable wins this one :)

3 comments

In this version, the sheep all get stuck in the corners and edges. This doesn’t happen in the Fable version.
The Fable version has some kind of "gravity" that pulls the sheep together.

Some of the other games mentioned here use fancier flocking mechanics (like boids!) https://news.ycombinator.com/item?id=48518518

Update: I've been having a lot of fun asking various models to make this game.

> make me a simple html5 canvas game, top down, where you play as a dog who herds sheep into a pen

I like Gemma 31B's version (free model on OpenRouter): https://jsbin.com/mufirivixo/edit?html,output

Love the:

> // Sky-like background

comment for the ground! :) No doubt most of the training data is for sky...