frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Pirates, a naval warfare game inspired by Sid Meier's Pirates

https://piwodlaiwo.github.io/pirates/
65•iweczek•2h ago

Comments

HiroProtagonist•1h ago
Sid Meier's Pirates on the iPad was a great experience. Bummer it isn't supported in modern iOS.
iweczek•56m ago
I did not know that, I have an old iPad, going to look for it
Apreche•1h ago
At first I was frustrated because I didn’t know what the controls were. The arrows were moving, but nothing seemed to shoot.

Then I realized the space bar was shooting. You just can’t see the bullets because they are tiny black dots on a dark blue background.

iweczek•55m ago
Thank you for the feedback! I'm going to address both points tonight when I get back home.
monkeywork•1h ago
Well done - that was a fun little distraction :)
iweczek•56m ago
Thanks!
zuzululu•1h ago
this game is crazy fun
iweczek•55m ago
Thanks!
dbingham•55m ago
That was fun, but the AI and the balance need some work.

It's too easy to win as the small boat. You just stay ahead of your opponent and then turn back and strafe periodically.

It would be much more challenging if you added wind and realistic sailing dynamics. If wind direction vs sail orientation mattered to your speed and boat characteristics weren't as simple as smaller = faster then I think it would be much better balanced and way more fun/challenging!

matthewfcarlson•41m ago
I just went into a circle and shot, won every time for every boat
dbingham•41m ago
On further play, really the only match up where I had any trouble was large vs large. (As a side request, it would be nice to be able to choose your opponent!)

With both small and medium, you can just strafe back and forth in front of your opponent if you're faster than them. With medium and large, you can just circle them and absorb more punishment than them when you're larger than them.

Multi-player would solve the AI problem -- especially if it was more than 1v1 -- and then it would be more challenging.

But I would still request realistic wind and sailing dynamics. That strafing maneuver isn't really possible with real wind dynamics, because you slow down as you swing around and that allows the opponent to catch up to you and return fire. You could have a little arrow in a corner of the screen that shows the wind direction. You don't even have to make the sails movable, you could just have your speed be proportional to how orthongal your sails are to the wind direction in the simplest implementation.

It would add a whole new element to it that would make it much more challenging! :)

stackghost•41m ago
That's interesting, because I found it trivial to win with the largest boat. Tank one hit, lead your target, blast away. I remain undefeated with the largest boat.

By contrast I found winning with the medium boat required the most skill, and lost the first few times I tried.

ms_menardi•48m ago
make it multiplayer, I dare ya >:)

(if you need this kind of motivation)

sudo-rsingh•44m ago
Yup totally support that.
k2xl•48m ago
Fun but should have difficulty levels!
Jeema101•42m ago
Illustrates the importance of 'crossing the T' in naval warfare before there were turreted guns. :)
hermitcrab•38m ago
Fun. Maybe you could add some random features for a bit more variety. Shallows, islands, fog banks etc.
ez8•38m ago
Good but too easy
inasio•36m ago
Nice job! Sid Meier's Pirates is one of my favorite games, wish they brought it back (I still play it occasionally, can't believe it never got a remake)
kevinmchugh•26m ago
It was remade in 2006
alt227•29m ago
Great game!

Reminds me very much of Overboard for the PS1 back in 1997.

https://www.youtube.com/watch?v=71accvNZ0aA

wolttam•16m ago
Cute but I won first time on all 3 sizes
fabiensanglard•10m ago
Nothing is moving on the screen for me :/ ! I can't pick the ship.

Console shows no error.

Mtnh2o•38m ago
Highlighting that game mechanics are hard - I struggled with your strategy but found it too easy to be the tank. Turn in a circle and shoot and rely on the higher HP + cannon loading.
dbingham•36m ago
Fair!
idontwantthis•18m ago
The cannonballs should have randomized elevation as well so that "raking" the bow and stern is more likely to get hits than hitting the side. Hits on the bow and stern should also do more damage. Cross the T!

CRISPR tech selectively shreds cancer cells, including "undruggable" cancers

https://innovativegenomics.org/news/crispr-technique-selectively-shreds-cancer-cells/
398•gmays•4h ago•105 comments

I Am Not a Reverse Centaur

https://blog.miguelgrinberg.com/post/i-am-not-a-reverse-centaur
110•ibobev•1h ago•69 comments

How to Setup a Local Coding Agent on macOS

https://ikyle.me/blog/2026/how-to-setup-a-local-coding-agent-on-macos
83•kkm•2h ago•25 comments

Malware developers added nuclear and biological weapons text to to their spyware

https://twitter.com/jsrailton/status/2064661778978533571
127•marc__1•23h ago•84 comments

Pirates, a naval warfare game inspired by Sid Meier's Pirates

https://piwodlaiwo.github.io/pirates/
66•iweczek•2h ago•26 comments

A PDF that changes based on how its read

https://sgaud.com/texts/pdf
74•SarthakGaud•3h ago•34 comments

Slightly reducing the sloppiness of AI generated front end

https://envs.net/~volpe/blog/posts/reduce-slop.html
125•FergusArgyll•4h ago•80 comments

Looking Forward to Postgres 19: It's About Time

https://www.pgedge.com/blog/looking-forward-to-postgres-19-its-about-time
70•xngbuilds•2h ago•19 comments

A dumpster arrived behind my university's library

https://yalereview.org/article/sheila-liming-the-end-of-books
124•mooreds•5h ago•101 comments

Law Enforcement's "Warrior" Problem (2015)

https://harvardlawreview.org/forum/vol-128/law-enforcements-warrior-problem/
36•bookofjoe•2h ago•33 comments

Where Did Earth Get Its Oceans? Maybe It Made Them Itself

https://www.quantamagazine.org/where-did-earth-get-its-oceans-maybe-it-made-them-itself-20260612/
72•ibobev•4h ago•43 comments

A Peter Thiel-Backed Tribunal Is Putting Journalists on Trial

https://www.hollywoodreporter.com/business/business-news/peter-thiel-tribunal-journalists-trial-1...
54•cdrnsf•57m ago•12 comments

There Is Life Before Main in Rust

https://grack.com/blog/2026/06/11/life-before-main/
35•mmastrac•1d ago•10 comments

Launch HN: BitBoard (YC P25) – Analytics Workspace for Agents

https://bitboard.work/
17•arcb•2h ago•7 comments

AI agent bankrupted their operator while trying to scan DN42

https://lantian.pub/en/article/fun/ai-agent-bankrupted-their-operator-scan-dn42lantian.lantian/
1324•xiaoyu2006•14h ago•476 comments

Introduction to UEFI HTTP(s) Boot with QEMU/OVMF

https://blog.yadutaf.fr/2026/06/12/introduction-to-uefi-https-boot-qemu-ovmf/
38•jtlebigot•4h ago•10 comments

I Won't Buy You a Coffee

https://hakkerman.eu/blog/i-wont-buy-you-a-coffee/
49•speckx•1h ago•36 comments

Maxproof

https://arxiv.org/abs/2606.13473
115•ilreb•7h ago•9 comments

Hazel (YC W24) Is Hiring a Full Stack Engineer

https://www.ycombinator.com/companies/hazel-2/jobs/3epPWgu-full-stack-engineer-ts-sci
1•augustschen•6h ago

Cosmodial Sky Atlas

https://killedbyapixel.github.io/Cosmodial/
11•memalign•1h ago•1 comments

A Call to Action: Stop the FCC's KYC Regime

https://blog.lopp.net/call-to-action-stop-the-fcc-kyc-regime/
275•FergusArgyll•5h ago•175 comments

Show HN: StackScope – I crawled over 40k indie launches to see what they ship

https://stackscope.dev/
29•datafreak_•4h ago•8 comments

WASI 0.3

https://bytecodealliance.org/articles/WASI-0.3
199•mavdol04•5h ago•80 comments

Keygen.music

https://keygen.music
106•soupspaces•3h ago•62 comments

If you are asking for human attention, demonstrate human effort

https://tombedor.dev/human-attention-and-human-effort/
1394•jjfoooo4•20h ago•440 comments

New privacy frontier: Europe eyes crackdown on smart glasses

https://www.politico.com/www.politico.eu/article/new-privacy-frontier-europe-eyes-crackdown-smart...
54•1vuio0pswjnm7•2h ago•32 comments

"Don't You Just Upload It to ChatGPT?"

https://correresmidestino.com/dont-you-just-upload-it-to-chatgpt/
95•speckx•1h ago•92 comments

How we made hit video game Prince of Persia

https://www.theguardian.com/culture/2026/jan/05/raiders-of-the-lost-ark-hit-video-game-prince-of-...
250•msephton•2d ago•101 comments

Encrypted Spaces An architecture for collaborative applications

https://encryptedspaces.org/
49•_____k•7h ago•5 comments

Show HN: Script to bulk delete Claude chats from the web UI

https://github.com/MatteoLeonesi/bulk-delete-claude-chat
43•ML0037•4h ago•15 comments