HackerTrans
TopNewTrendsCommentsPastAskShowJobs

pinchydev

no profile record

Submissions

Show HN: Naval Strike – simultaneous turn-based fleet combat in the browser

navalstrike.app
4 points·by pinchydev·hace 2 meses·6 comments

comments

pinchydev
·hace 8 días·discuss
[dead]
pinchydev
·hace 29 días·discuss
Retro turn-by-turn 2 player style naval strategy game.

https://navalstrike.app

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.

Claude 4.7
pinchydev
·hace 29 días·discuss
Love it! I remember fondly playing pirates as a kid this is great!

I recently built https://navalstrike.app to scratch my naval warfare itch. Happy to share how I did lightweight p2p multiplayer with a super lightweight server handshake if you want :)
pinchydev
·hace 2 meses·discuss
that brings back painful memories of typing lines and lines of DATA keywords from library books into GW BASIC.....

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!

ETA: I've fixed the image transparency and the frigate sprite is less fat, thanks!
pinchydev
·hace 2 meses·discuss
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 :)

I'll play with cruiser sprite too, if you're curious this is how I save them:

  frigate: [
    "................",
    "................",
    "................",
    "...kkkkkkkk.....",
    "..kHHHHHHHHkk...",
    ".kHgGGGGGGGgDkk.",
    "kHHgwGttGttwgDkk",
    "kHHgGGGppGGttgDk",
    "kHHgGGGppGGttgDk",
    "kHHgwGttGttwgDkk",
    ".kHgGGGGGGGgDkk.",
    "..kHHHHHHHHkk...",
    "...kkkkkkkk.....",
    "................",
    "................",
    "................",
  ],
pinchydev
·hace 2 meses·discuss
looks exactly like my MBP M3 - and that's a compliment!
pinchydev
·hace 3 meses·discuss
Spoilers in link.

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.

Turns out the correct command was "hi"

here's the walkthrough: https://pastebin.com/LHnFRFjw
pinchydev
·hace 3 meses·discuss
walk around the wall and find the "speaker". Say hi. Never-mind the button doesn't do anything.