frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

https://navalstrike.app
1•pinchydev•1h ago
A few weeks ago there was a thread about using AI to finish abandoned projects, and a comment from avereveard https://news.ycombinator.com/item?id=47905088 on building their 100x100 grid battleship got my spark. I didn’t build that, but it pushed me to finally finish a combat idea I’ve been wanting to play for ages.

Introducing Naval Strike!

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.

There’s three different play styles:

* Solo. Procedural maps and uses guided “AI” opponents (in the same way that 1990s games had “AI” opponents)

* Scenarios. Objective missions on procedural maps like "rescue the downed pilot" or "destroy the convoy"

* Campaigns. Historical battles on real-world maps (Sink the Bismark in the Atlantic, or escort the tankers through the strait of hormuz)

A few things I figured HN would ask:

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.

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.

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.

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.

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.

Feedback welcome. Especially on balance and the campaign design and gameplay, it’s hard to play-test every variable!

Complete Video – Drunk Mom Is Fucked Hard by Her Son with a Cock

https://leakvids.com/video/1837/drunk-mom-is-fucked-hard-by-her-son-with-a-huge-cock/
1•morenorealiza•46s ago•0 comments

Unmonitored Agents and a Local AI

1•jay_kyburz•2m ago•0 comments

Ask HN: Should show HN be renamed?

1•piratesAndSons•3m ago•0 comments

UK businesses brace for jet fuel rationing

https://bmmagazine.co.uk/news/uk-jet-fuel-shortage-rationing-goldman-sachs-warning/
4•OgsyedIE•7m ago•0 comments

Richard Dawkins concludes AI is conscious, even if it doesn't know it

https://www.theguardian.com/technology/2026/may/05/richard-dawkins-ai-consciousness-anthropic-cla...
2•embedding-shape•7m ago•0 comments

New Logic for Programmers (and the future of this newsletter)

https://buttondown.com/hillelwayne/archive/new-logic-for-programmers-and-the-future-of-this/
1•akshayshah•8m ago•0 comments

Grok Imagine Quality Mode API

https://x.ai/news/grok-imagine-quality-mode
2•surprisetalk•10m ago•0 comments

Late-night-regrets – piclaw-addons

https://rcarmo.github.io/piclaw-addons/addons/late-night-regrets/
1•rcarmo•10m ago•0 comments

Ten simple rules for optimal and careful use of generative AI in science

https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1013588
2•tacon•11m ago•0 comments

PawModel – Per-pet LoRA training for AI portraits that look acurate

https://pawmodel.com
2•cmackay•11m ago•0 comments

Show HN: Center-Ish

https://www.quaxio.com/centerish/
1•amenghra•12m ago•0 comments

The Enshittified States of America

https://www.thebulwark.com/p/the-enshittified-states-of-america
1•mooreds•14m ago•0 comments

David Sacks crashed and burned in the White House

https://www.theverge.com/column/925487/david-sacks-trump-administration-ai-model-review
11•PhotonHunter•16m ago•0 comments

The Disappearance of the Public Bench

https://placesjournal.org/article/the-disappearance-of-the-public-bench/
2•cainxinth•19m ago•0 comments

This Month in Redox – April 2026

https://www.redox-os.org/news/this-month-260430/
1•ladyanita22•20m ago•0 comments

Number of tokens shouldn't be the only metric

https://johnjwang.com/post/2026/05/06/tokens-shouldnt-be-the-only-metric/
1•johnjwang•22m ago•0 comments

Audio-only minimal pair trainer using ABX methodology for language acquisition

https://minimalpairs.co
1•michealbingham•23m ago•1 comments

Designing AI for Strategy Games Through Modding

https://anbeeld.com/articles/designing-ai-for-strategy-games-through-modding
2•nateberkopec•28m ago•0 comments

I found a bug in the reality lattice

https://osf.io/5ubr7
1•KIHO_LEE•30m ago•0 comments

Syncweb, Literate Programming Meets Unison

https://github.com/aryx/syncweb
1•tmseidman•30m ago•0 comments

Google Chrome downloads 4GB AI model to your device without permission

https://www.tomshardware.com/tech-industry/cyber-security/google-chrome-silently-downloads-4gb-ai...
2•vednig•31m ago•0 comments

Untangling Entanglement: Does Science Support Physicalism?

https://sopathaye.substack.com/p/untangling-entanglement-does-science
1•sopathaye•37m ago•0 comments

AI-Induced Cognitive Atrophy

https://notesbylex.com/on-ai-induced-cognitive-atrophy
2•lexandstuff•40m ago•0 comments

VLC, FFmpeg, Video Codecs, Assembly Programming (Lex Fridman Podcast)

https://www.youtube.com/watch?v=nepKKz-MzFM
2•SweetSoftPillow•43m ago•0 comments

Judge Halts Colorado AI Law After xAI First Amendment Challenge

https://reclaimthenet.org/judge-halts-colorado-ai-law-after-first-amendment-challenge
5•bilsbie•49m ago•0 comments

Macro

https://macro.com
2•skogstokig•49m ago•0 comments

Sting's eye-watering fortune that his 6 kids won't be inheriting

https://www.hellomagazine.com/us/900095/sting-eye-watering-fortune-kids-will-not-inherit/
1•wslh•50m ago•0 comments

AI evaluation startup Braintrust confirms breach

https://techcrunch.com/2026/05/06/ai-evaluation-startup-braintrust-confirms-breach-tells-every-cu...
3•zachdotai•51m ago•1 comments

ReleaseJet – the release notes tool for repos with many customers

https://github.com/makisp/releasejet
2•PaulHoule•55m ago•0 comments

Omega-3 supplements may be linked to faster cognitive decline in seniors

https://medicalxpress.com/news/2026-05-omega-supplements-linked-faster-cognitive.html
1•brandonb•55m ago•1 comments