<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: pinchydev</title><link>https://news.ycombinator.com/user?id=pinchydev</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 19 Jun 2026 12:00:31 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=pinchydev" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by pinchydev in "Ask HN: Show your AI coded games [June 2026]"]]></title><description><![CDATA[
<p>Retro turn-by-turn 2 player style naval strategy game.<p><a href="https://navalstrike.app" rel="nofollow">https://navalstrike.app</a><p>Procedural generated maps with different game plays (escort, rescue, death match), or historic campaign like search for Bismarck or escort tankers through straights of Hormuz. Browser, works on mobile. No account needed, no Google analytics.<p>Claude 4.7</p>
]]></description><pubDate>Fri, 12 Jun 2026 23:46:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=48510734</link><dc:creator>pinchydev</dc:creator><comments>https://news.ycombinator.com/item?id=48510734</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48510734</guid></item><item><title><![CDATA[New comment by pinchydev in "Pirates, a naval warfare game inspired by Sid Meier's Pirates"]]></title><description><![CDATA[
<p>Love it! I remember fondly playing pirates as a kid this is great!<p>I recently built <a href="https://navalstrike.app" rel="nofollow">https://navalstrike.app</a> to scratch my naval warfare itch. Happy to share how I did lightweight p2p multiplayer with a super lightweight server handshake if you want :)</p>
]]></description><pubDate>Fri, 12 Jun 2026 20:15:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=48508958</link><dc:creator>pinchydev</dc:creator><comments>https://news.ycombinator.com/item?id=48508958</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48508958</guid></item><item><title><![CDATA[New comment by pinchydev in "Show HN: Naval Strike – simultaneous turn-based fleet combat in the browser"]]></title><description><![CDATA[
<p>that brings back painful memories of typing lines and lines of DATA keywords from library books into GW BASIC.....<p>I'm an embedded engineer, so it's how I would encode a sprite for displaying an LCD character, it seemed natural to do it this way!<p>ETA: I've fixed the image transparency and the frigate sprite is less fat, thanks!</p>
]]></description><pubDate>Thu, 07 May 2026 01:41:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=48044391</link><dc:creator>pinchydev</dc:creator><comments>https://news.ycombinator.com/item?id=48044391</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48044391</guid></item><item><title><![CDATA[New comment by pinchydev in "Show HN: Naval Strike – simultaneous turn-based fleet combat in the browser"]]></title><description><![CDATA[
<p>Thank you - you're right, it must have been when I removed the background surrounding the logo, I did it on a colour not the area and missed that the hull was the same shade.  I'll fix that :)<p>I'll play with cruiser sprite too, if you're curious this is how I save them:<p><pre><code>  frigate: [
    "................",
    "................",
    "................",
    "...kkkkkkkk.....",
    "..kHHHHHHHHkk...",
    ".kHgGGGGGGGgDkk.",
    "kHHgwGttGttwgDkk",
    "kHHgGGGppGGttgDk",
    "kHHgGGGppGGttgDk",
    "kHHgwGttGttwgDkk",
    ".kHgGGGGGGGgDkk.",
    "..kHHHHHHHHkk...",
    "...kkkkkkkk.....",
    "................",
    "................",
    "................",
  ],</code></pre></p>
]]></description><pubDate>Thu, 07 May 2026 01:30:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=48044341</link><dc:creator>pinchydev</dc:creator><comments>https://news.ycombinator.com/item?id=48044341</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48044341</guid></item><item><title><![CDATA[Show HN: Naval Strike – simultaneous turn-based fleet combat in the browser]]></title><description><![CDATA[
<p>A few weeks ago there was a thread about using AI to finish abandoned projects, and a comment from avereveard  <a href="https://news.ycombinator.com/item?id=47905088">https://news.ycombinator.com/item?id=47905088</a> on building their 100x100 grid battleship got my spark.  I didn’t build <i>that</i>, but it pushed me to finally finish a combat idea I’ve been wanting to play for ages.<p>Introducing Naval Strike!<p>It’s a simultaneous turn-based fleet vs fleet on a grid played in the browser. There’s no account or signups needed. Both players plan their moves, then the turn resolves at once.<p>There’s three different play styles:<p>* Solo.  Procedural maps and uses guided “AI” opponents (in the same way that 1990s games had “AI” opponents)<p>* Scenarios.  Objective missions on procedural maps like "rescue the downed pilot" or "destroy the convoy"<p>* Campaigns. Historical battles on real-world maps (Sink the Bismark in the Atlantic, or escort the tankers through the strait of hormuz)<p>A few things I figured HN would ask:<p>I designed the architecture and Claude did implementation.  While 90% of the decisions are mine 90% of the lines are AI-written. Lots of micro managing short bursts to get it to look/feel right.  I think I consumed a week’s worth of tokens just to get the fog working how I wanted. Eventually I learned that having lots of small bursts of code with testing got me to where I wanted much faster than longer sessions.  I built preview pages so I could test animations, sequencing etc without affecting the codebase so I didn’t chew through my tokens.<p>Stack. TypeScript/Canvas 2D, hosted on Cloudflare. The server is a tiny WebSocket relay, it pairs two players by room code and blindly forwards messages, with no game logic. So there’s no accounts and no tracking beyond default Cloudflare insights. Just open the URL and play.  
Opponent AI is guided scripted tactics with situational decision trees.<p>Art is a mix of AI/hand.  I’m not artistic enough to do everything by hand, but there’s a lot of manual pixel by pixel editing on the assets.  Assets are stored as JSON arrays and drawn directly to screen with a colour palette.<p>I ended up building a small map editor that lets me "trace" Google Maps screenshots to get the campaign maps geographically close to the real engagements.
Sounds are from open source libraries - you can mute them with the little speaker button but they are on by default which might upset a few people.<p>Although this was largely coded by AI, I got heaps of enjoyment being able to focus on the UX, style, gameplay and UI to be just how I wanted. Being able to test (and throw away many!) ideas so quickly was awesome fun.<p>Feedback welcome. Especially on balance and the campaign design and gameplay, it’s hard to play-test every variable!</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=48042110">https://news.ycombinator.com/item?id=48042110</a></p>
<p>Points: 4</p>
<p># Comments: 6</p>
]]></description><pubDate>Wed, 06 May 2026 21:27:53 +0000</pubDate><link>https://navalstrike.app</link><dc:creator>pinchydev</dc:creator><comments>https://news.ycombinator.com/item?id=48042110</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48042110</guid></item><item><title><![CDATA[New comment by pinchydev in "StarFighter 16-Inch"]]></title><description><![CDATA[
<p>looks exactly like my MBP M3 - and that's a compliment!</p>
]]></description><pubDate>Wed, 06 May 2026 06:38:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=48033016</link><dc:creator>pinchydev</dc:creator><comments>https://news.ycombinator.com/item?id=48033016</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48033016</guid></item><item><title><![CDATA[New comment by pinchydev in "Haunt, the 70s text adventure game, is now playable on a website"]]></title><description><![CDATA[
<p>Spoilers in link.<p>After spending way too long trying to press a button that doesn't do anything (press button, depress button, push button, button, press the button) or trying to talk to the speaker (say open, talk to speaker, talk at speaker, shout at speaker) I got frustrated and used claude to give me a walkthrough based on the source code.<p>Turns out the correct command was "hi"<p>here's the walkthrough:
<a href="https://pastebin.com/LHnFRFjw" rel="nofollow">https://pastebin.com/LHnFRFjw</a></p>
]]></description><pubDate>Mon, 13 Apr 2026 05:22:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=47747907</link><dc:creator>pinchydev</dc:creator><comments>https://news.ycombinator.com/item?id=47747907</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47747907</guid></item><item><title><![CDATA[New comment by pinchydev in "Haunt, the 70s text adventure game, is now playable on a website"]]></title><description><![CDATA[
<p>walk around the wall and find the "speaker". Say hi. Never-mind the button doesn't do anything.</p>
]]></description><pubDate>Mon, 13 Apr 2026 05:16:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=47747867</link><dc:creator>pinchydev</dc:creator><comments>https://news.ycombinator.com/item?id=47747867</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47747867</guid></item><item><title><![CDATA[New comment by pinchydev in "Show HN: My 4 year old made a game"]]></title><description><![CDATA[
<p>unfortunately yes :( (needs arrow keys)<p>[edit] I added touch controls for you :) I put these in seperate includes.</p>
]]></description><pubDate>Tue, 29 Apr 2025 00:56:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=43827680</link><dc:creator>pinchydev</dc:creator><comments>https://news.ycombinator.com/item?id=43827680</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43827680</guid></item><item><title><![CDATA[New comment by pinchydev in "Show HN: My 4 year old made a game"]]></title><description><![CDATA[
<p>LOL Given the game is free that's a double ouch!</p>
]]></description><pubDate>Mon, 28 Apr 2025 23:32:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=43827251</link><dc:creator>pinchydev</dc:creator><comments>https://news.ycombinator.com/item?id=43827251</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43827251</guid></item><item><title><![CDATA[Show HN: My 4 year old made a game]]></title><description><![CDATA[
<p>Bored playing the nth round of Uno, I thought it would be fun to write a game with my 4 year old daughter.<p>Using Claude Sonnet 3.7 as our "developer" and me acting as the "Product Manager" aka LLM translator, I tried to capture her instructions as verbatim as I could, only adding context to make the prompts work.<p>The result is a simple browser game which you can play.  I added a writeup of all the prompts along the way so you can see how this was put together.<p>It was only after I realised where she drew her inspiration from.<p>If you have kids, it's definitely a fun exercise.  My wife and I were blown away with how quickly we got something working, my daughter grew tired of it after about a minute.... I fear that this generation will never really appreciate how much effort this used to take.<p>(No analytics, no signup, etc)</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=43827205">https://news.ycombinator.com/item?id=43827205</a></p>
<p>Points: 4</p>
<p># Comments: 6</p>
]]></description><pubDate>Mon, 28 Apr 2025 23:26:11 +0000</pubDate><link>https://mychickengame.com/</link><dc:creator>pinchydev</dc:creator><comments>https://news.ycombinator.com/item?id=43827205</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43827205</guid></item></channel></rss>