Show HN: 13Sheep – a JavaScript game largely authored by ChatGPT (13sheep.netlify.app)
13 Sheep is a quick roll-and-write game designed by Moritz Dressler, intended for one or more players. By drawing fences on a grid, players try to protect as many sheep as possible before the wolf comes. I reproduced the rules in an online experience, allowing for additional user customization compared to the pen and paper version. A lot of the code comes from a conversation I had with chatGPT.
Here's a blog detailing the prompts used in the conversation with chatGPT: https://www.neeldhara.com/blog/13sheep/
27 comments
[ 2.9 ms ] story [ 47.2 ms ] threadIf you have a chance to try it out for longer and it’s still confusing, let me know! I do wish the game calculated your score for you at the end, but as I explain in the blog, this ended up being too complex for the first cut. I hope I can work this out in due course…
Unfortunately the only record I can find of it is a negative review.
https://arstechnica.com/gadgets/2009/02/10-lessons-of-iphone...
I have to confess I have no professional experience in design, although I do consider myself a moderately picky user :)
I did try to think about what I’d enjoy or be put off by if I was playing — but I didn’t have anything beyond this common sense approach to guide the design choices.
Sheepish sounds like a slightly different game though: it reminds me of a few others (one to do with pipes again and another with laying out train tracks). Will dig these up and share once I do have the pointers. Thanks again!
> I think I spent close to a good twelve hours (including a couple of early throw-away prototypes, and all the failed attempts on the flood filling) altogether2… at some point it did get a little addictive, and perhaps there was a sunk cost argument for not letting go halfway through.
Also very helpful, I get the sense that we're seeing lots of cherrypicked results that under report all the toil needed to get to the magic prompt that made it all work. Maybe we'll all get better at prompt engineering, but I think a lot of hype is based on that misunderstanding.
All that said, the experience still felt empowering… in particular, I am not sure that I’d be able to pull this off on my own in a comparable — or even, say, double — the amount of time. So that’s a win overall, I suppose!
Also glad you found the logs useful. Thanks again for taking a look :)
EDIT: I think I'm remembering Rodent's Revenge: https://en.wikipedia.org/wiki/Rodent%27s_Revenge
It seems it is not that too bad for small "well-known" algorithms. I am thinking high level language "ports" toward "human" assembly.
I hope you do play it for a positive number of rounds though :)
What ChatGPT did is equivalent to what a writing assistant might do who is given a list of bullet points by an author, and asked to expand them into a synopsis.
We would never say that a brick layer designed a building, or that a printer wrote a book. ChatGPT did not author this game. The rules were created by humans. The code was churned out by a machine.
Thanks for the input!
FTFY
TIL that apparently you can simply use the generic follow up prompt “did you do what I asked?” and it will verify and course correct on its own, see for instance:
https://twitter.com/ericjang11/status/1639882111338573824
No idea how well this works in practice for things like JS games with visual elements, but seemed like an interesting approach!
https://ibb.co/CKDWdrV