alt.hn

6/12/2026 at 5:07:46 PM

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

https://piwodlaiwo.github.io/pirates/

by iweczek

6/12/2026 at 7:44:41 PM

This 100% has the "vibe" of the original game but should include that if you sail "into the wind" it slows you down.

Also, I've been trying to make a remix of SMP but with a princess theme for my daughters. Been experimenting with making other games to practice building out game mechanics and stumbled into making a game where you manage a Soviet Tractor Factory [0].

I'm interested to see if developing parts of Game A lead to Game B which in turn lead you back to interesting ideas for Game A (or maybe better Game C).

0 - https://alexpotato.com/games/tractor47/?l=hn

by alexpotato

6/12/2026 at 10:56:58 PM

Is it even possible to win the game? I've played it 100 million times in a monte carlo simulation and even applied two heuristics to hit a winning strategy: 1. heavily over- or under-weighted choosing tractor production when paid tasks are available; 2. when a paid task was available in the previous round but not chosen, the weight for this round is reduced

The best result I've gotten is 998 tractors after round 120.

by nkmnz

6/13/2026 at 11:41:36 AM

> Is it even possible to win the game?

If it's a faithful simulator of soviet economy, then you should not be able to win :)

by neonstatic

6/13/2026 at 3:15:47 PM

Maybe the only way to win is to cheat.

by rmast

6/12/2026 at 10:19:55 PM

So, I love this little game. I've been wanting to remake Scorched Earth for years, just for fun.

Decided to experiment with this repo today, adding multi player, islands that can sink the ships (that the ships cant shoot through), and a few other things to the game. Anyone who wants to join, ill be in here in a multi player room that supports up to 10 people at a time: https://ndroo.github.io/pirates/?join=BP4Q

I also added controls for mobile users, because that was the first issue I ran into. Probably buggy, maybe not secure...but i had some fun with a friend a few moments ago and it wasn't awful.

Thanks for sharing this OP!

by verelo

6/12/2026 at 8:14:03 PM

If people have feedback on the game, would love to hear it on the below link: https://news.ycombinator.com/item?id=48503530

by alexpotato

6/12/2026 at 8:58:24 PM

That link doesn't work, so I'll respond here: My impression is that my ship always has a better turn rate than the other ship, so if I ever manage to get into the enemy ship's e.g. 4'oclock position, I can keep turning towards it, it will (slowly) turn towards me while consistently shooting behind me, and I can consistently hit it.

by tgsovlerkhgsel

6/13/2026 at 4:06:19 AM

I don’t see a way to succeed at this game. The issue is that there doesn’t seem to be a way to meet the first 5 year plan and it’s all downhill from there.

But this really points to a deeper problem: in a game like this you have to pick one of two philosophies. Either the idea is to find the one algorithm that makes it work because the game is doing the same thing every time, or the game has an RNG that makes some games winnable and some not. The in between path is difficult to balance. You could for example dynamically adjust the difficulty such that if the player gets hit with a bad string of choices generated by the RNG then the difficulty is temporarily dialed down and when the player is having good luck the difficulty is raised. But I think for this kind of turn based idle game it is more about discovering the player algorithm that works and I see no algorithm that could work here.

I do however absolutely love the vibe of the game. I think with a little more attention it could be absolutely amazing.

by IgorPartola

6/12/2026 at 9:48:18 PM

Well, have you dogfooded it and how many times?

I have hundreds of turns on it now, at least.

by LearnYouALisp

6/12/2026 at 7:37:45 PM

my kid has 50+ hours in sid meier's pirates and told me they stare at the world map in their classroom and try to locate towns and ports in the caribbean when they're bored. i will show your game to them, though i am certain the first thing they will ask for is chain shot.

not to discourage your good work, but here's another project worth checking out if sid meier's pirates is your thing. https://tinywind.io/

by JMiao

6/12/2026 at 9:15:26 PM

Nice, I still remember that map even though I haven't played the game in decades :) tinywind looks very cool, thanks for sharing.

by iweczek

6/12/2026 at 11:56:01 PM

Thanks for the shoutout! Always love to see people building cool things

tinywind.io just added a new game mode and has a PvP and Steam release in the works :)

by tinywind

6/13/2026 at 6:30:16 AM

This is really cool

by madduci

6/12/2026 at 6:42:44 PM

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!

by dbingham

6/12/2026 at 6:56:22 PM

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! :)

by dbingham

6/12/2026 at 9:23:11 PM

Thanks for playing and the feedback. I plan on adding wind dynamics very soon. Letting you choose opponent instead of random should be easy. Multiplayer with more than 1 would be interesting, I like that idea!

by iweczek

6/12/2026 at 6:58:57 PM

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.

by Mtnh2o

6/12/2026 at 7:01:41 PM

Fair!

by dbingham

6/12/2026 at 6:56:14 PM

I just went into a circle and shot, won every time for every boat

by matthewfcarlson

6/12/2026 at 8:48:23 PM

If I remember correctly, the original was like this too. I always used the sloop and would often beat much larger ships.

by carpo

6/12/2026 at 9:02:56 PM

Yeah so the other factor missing is gun calibre and ship hull reinforcement/design. The reason sloops didn’t dominate against ships of the line came down to these factors, as well as sheer number of guns.

A sloop’s guns were generally so light the balls would bounce off the hull of a ship of the line. The sheer weight of firepower in return would shred a sloop to pieces. Add on to that the fact that heavier guns can achieve longer range when trained at the right angle, and a sloop can’t really get anywhere near a ship of the line and live to tell the tale.

by chongli

6/12/2026 at 9:19:06 PM

I plan on adding wind dynamics. The largest ship has 1 more cannon, do you think I should add more? or perhaps longer range on the larger ship cannons?

by iweczek

6/12/2026 at 9:32:12 PM

Longer range would help! I should also note that ships had forward- and aft-firing guns in addition to the main batteries on the gun decks firing to the sides. A smaller ship merely trying to run away could be fired upon until it got out of range.

by chongli

6/12/2026 at 9:17:36 PM

yes, i also always chose the Sloop and would usually win.

by iweczek

6/12/2026 at 7:19:07 PM

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!

by idontwantthis

6/12/2026 at 6:56:22 PM

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.

by stackghost

6/13/2026 at 7:53:01 AM

Unfortunaly only a demo of the ship combat system of Pirates :)

The actually interesting part for me was the historical setting, exploring the Carribean geography, watching the world evolve, all the while trying to keep the ship crew under control :)

Also we still need a proper 2D remake (the 3D-ified game console version from 2004 didn't really age all that well and has too many QTE gimmicks).

by flohofwoe

6/12/2026 at 10:22:26 PM

One fun unintended mechanic: Because sailing off screen loops you around Pacman style, and because a browser window is dynamically resizable, you can use this to your advantage teleporting behind the enemy and taking them by surprise.

Love this!

by aidanbeck

6/12/2026 at 6:02:27 PM

Sid Meier's Pirates on the iPad was a great experience. Bummer it isn't supported in modern iOS.

by HiroProtagonist

6/12/2026 at 6:41:38 PM

I did not know that, I have an old iPad, going to look for it

by iweczek

6/12/2026 at 8:06:45 PM

removed from app store, sadly

by JMiao

6/14/2026 at 1:33:54 AM

I played the demo that came with Windows in the late 2000s when I was a teenager and became so addicted to it. Because I couldn't afford at the time to buy the full game, I stopped when the demo features ran out. This post brought me back and I can see it's available on Steam. [0]

[0] https://store.steampowered.com/app/3920/Sid_Meiers_Pirates/

by neuralkoi

6/12/2026 at 9:18:34 PM

I remember playing Pirates on my 8086 in the 1980, mono-chrome screen, and I was amazed a a kid. Sid Meier's games were always a step above, and so immersive feeling for their day. I started a project from that too (one of many I suppose). I also was inspired by the KOEI games on SNES - Uncharted Waters.

It needs polish, content and more work but the kids like it.

https://ship-voyage-4zn.pages.dev/

by theropost

6/13/2026 at 10:32:15 PM

nice, thanks for sharing

by JMiao

6/12/2026 at 7:08:45 PM

Great game!

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

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

by alt227

6/12/2026 at 11:08:36 PM

I remembered seeing this game as a kid, but the name sounded off... And Wikipedia reveals it was released in North America (NTSC format) as "Shipwreckers!"[1]. It also featured 5-player local multiplayer if you had multitap, according to the article, and I remember most other games of the era supporting at most 4 players locally. I'll have to find this one and give it a try!

[1]: https://en.wikipedia.org/wiki/Overboard!_(1997_video_game)

by sfRattan

6/12/2026 at 8:15:14 PM

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 :)

by pinchydev

6/13/2026 at 7:59:30 AM

I'm actually building a boat game for my 5yo son. We're building it together. I decided on using Love2d as the framework and I'm basically distributing a DMG to family and friends to run it and test it.

by sgt

6/13/2026 at 10:34:12 PM

lucky kid. please share it here! we'd love to help.

by JMiao

6/12/2026 at 8:18:13 PM

Really enjoyed this and it brought back many memories of the Amiga, great job.

Two suggestions,

  - The sailing is a bit too nimble, it's possible to turn naturally.
  - It's currently possible to sail over/under the other ship.
When will it be possible to intercept and have a sword fight? :)

by Daviey

6/12/2026 at 8:14:12 PM

“the emperor wishes to see you posthaste!” This immediately reminded me of the 1980s Apple game Taipan and of course it is playable online: https://www.taipangame.com/

by supertroop

6/12/2026 at 9:07:07 PM

Huh. I remember playing a very similar game on Apple II, but I believe it had a Dutch / European theme, and was called something like "Ooperhoofd". I can't find any reference to it online. Maybe it was a 'modded' version of this? That one, and Odell Lake[0] were the best disks in the library computer lab in middle school.

[0] https://classicreload.com/apple2-odell-lake.html

by itintheory

6/13/2026 at 11:03:59 AM

Lovely! Thankfully no one (AFAIK) has done a similar work with Sid Meier's Railroad Tycoon Deluxe... Otherwise I would be easily spending tens of hours playing it. One of the games I have loved the most in my life!

by simonebrunozzi

6/12/2026 at 10:44:09 PM

I first played Pirates on C64. There was a paper version of the map that was a lot of help when you played and tried to find some locations.

by taubek

6/12/2026 at 8:24:14 PM

It would seem relatively easy to tie speed to the direction the boat is facing. The more perpendicular you are to the 'wind direction' the faster you move. Or make the fastest velocity 45 degrees from wind direction, for a bit more realism. Basic sailing physics can add to the fun.

by CrimsonCape

6/12/2026 at 9:28:58 PM

Thanks for the feedback, adding wind dynamics is on top of my list :)

by iweczek

6/12/2026 at 6:55:31 PM

Illustrates the importance of 'crossing the T' in naval warfare before there were turreted guns. :)

by Jeema101

6/13/2026 at 8:46:49 AM

Super fun! I'd add the ability to restart the same battle once its finished, kinda tedious to go back through and select the settings I want.

A product of my laziness heh

by cen0b

6/12/2026 at 10:15:07 PM

This is exactly like a much older Apple 2 game called Old Ironsides fwiw.

On the Apple 2 it was 2 player only but a lot of fun back in the day. With an added ability to ram ships (pointy front into flat side one if you landed it before they sunk you).

by AnotherGoodName

6/12/2026 at 11:09:15 PM

How to shoot? I can't figure it out. Perhaps made harder by typing on Colemak.

Edit: OK, spacebar shoots, but it's hard to see the cannons flying due to low contrast. And it shoots in the direction of the enemy.

by pgt

6/12/2026 at 7:01:24 PM

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)

by inasio

6/12/2026 at 7:11:24 PM

It was remade in 2006

by kevinmchugh

6/13/2026 at 10:45:33 AM

Maybe like me that is the only one they've played. I didn't know there was an earlier one for several years.

by Am4TIfIsER0ppos

6/12/2026 at 9:01:28 PM

What's the key to fire? I've tried everything

by ceuk

6/12/2026 at 9:02:11 PM

Space key

by diabllicseagull

6/12/2026 at 6:49:21 PM

make it multiplayer, I dare ya >:)

(if you need this kind of motivation)

by ms_menardi

6/12/2026 at 6:53:42 PM

Yup totally support that.

by sudo-rsingh

6/12/2026 at 8:17:38 PM

I am not sure if my memory is mixing with 4D Boxing (!?) but I think if you took too long your pirate would be quite old and weak, or?

by lencastre

6/12/2026 at 9:31:29 PM

omg, thanks for reminding me about 4d boxing! that was so much fun

by iweczek

6/13/2026 at 2:59:34 PM

Not playable on iPad, will try it on PC.

by NKosmatos

6/12/2026 at 6:59:27 PM

Fun. Maybe you could add some random features for a bit more variety. Shallows, islands, fog banks etc.

by hermitcrab

6/12/2026 at 9:37:53 PM

Thanks for playing! That's an interesting idea, thanks.

by iweczek

6/13/2026 at 1:22:29 PM

Really enjoyed this, thanks for sharing!

by zhoBEENG

6/13/2026 at 3:42:00 PM

It's cute! Push it deeper

by dmzxnico

6/12/2026 at 7:27:28 PM

Nothing is moving on the screen for me :/ ! I can't pick the ship.

Console shows no error.

by fabiensanglard

6/12/2026 at 7:45:00 PM

Same here, using Firefox 151.0.4

by toxicunderGroov

6/12/2026 at 9:34:20 PM

on a mac, windows, or linux? I have tested it in both browsers only on the mac but I don't see any reason why it would not work on a different OS since it is only HTML5 canvas

by iweczek

6/14/2026 at 5:43:29 AM

Windows 11 IoT Enterprise LTSC 24H2

by toxicunderGroov

6/13/2026 at 12:46:59 AM

I also experience this on Firefox 151.0.3 on Linux

by williadc

6/14/2026 at 12:17:55 AM

interesting, what Linux btw, Ubuntu?

by iweczek

6/12/2026 at 8:18:06 PM

did you try arrow keys and space bar?

by san_dimitri

6/12/2026 at 8:22:45 PM

Please adjust the color contrast. I can hardly see the cannon balls.

by cbarrick

6/12/2026 at 9:32:08 PM

thanks, will do!

by iweczek

6/12/2026 at 10:17:58 PM

I feel like difficulty progression would help.

by atleastoptimal

6/12/2026 at 6:16:30 PM

Well done - that was a fun little distraction :)

by monkeywork

6/12/2026 at 6:41:44 PM

Thanks!

by iweczek

6/12/2026 at 6:59:50 PM

Good but too easy

by ez8

6/14/2026 at 12:18:08 AM

there is a difficulty level now

by iweczek

6/12/2026 at 7:21:50 PM

Cute but I won first time on all 3 sizes

by wolttam

6/12/2026 at 8:16:06 PM

I am the greatest

Pirate hunter in the world.

by RobRivera

6/12/2026 at 6:49:29 PM

Fun but should have difficulty levels!

by k2xl

6/12/2026 at 9:39:57 PM

Love the feedback, just wondering how to implement that. More difficult means your ship moves slower? you reload slower? your hits cause less damage? Need to think about that...

by iweczek

6/12/2026 at 7:44:09 PM

This is pretty cool as a prototype, nice job! I'd say it needs some progression (one-on one to one-on-multiple, think 1xL against 2xS, etc.), as well as some more map variation (channels, islands, hazards like a giant whirlpool, kraken, the works). As a final shape, multiplayer would be pretty cool, but of course that's quite a bit more difficult... But I for one would be there for it :)

by mgc8

6/14/2026 at 12:18:50 AM

i like the idea of a progression, and multiplayer is coming

by iweczek

6/13/2026 at 5:47:14 PM

fun yesterday, but today there's 3 screens of answering the same questions with ever replay?

at least put all the questions on the same screen, this "modern" way is ridiculous

by fsckboy

6/14/2026 at 2:47:20 AM

just fixed that, it is all on one screen now

by iweczek

6/12/2026 at 8:08:46 PM

Love the original. Some key tactics you need to pick up are: use a small ship, because if you are fast with the right technique nobody can hit you, and you can cross vast distances quickly without starving. Keep food stocked and limit large ship acquisition to a phase of the game in which you need large numbers of pirates for town invasions / large ship fights. Always sell extra cannons. Always buy the goodies from the bar. Upgrade ships religiously: you want all upgrades. In swordfighting, prefer rapier (speed with good reach) over larger weapons in most cases. Obtain new letters of marque. Obtain land after performing state-aligned duties by talking to the governors: this builds your long-term wealth. The easiest victim (given all other letters of marque) is the dominant state in the era (different eras have different mixes, but it's usually the Spanish). To catch the military payrolls, sink the escorts then damage to near 'strike their colors' before closing in for swordplay. Change to buck shot to reduce opponent count before swordplay without risking loss of vessel hull. Remake on Steam: https://store.steampowered.com/app/3920/Sid_Meiers_Pirates/

by contingencies

6/12/2026 at 8:07:06 PM

For me the watercolor imagery and music were half the game (Pirates Gold). https://www.youtube.com/watch?v=sOPdsiOp5R0

by esafak

6/14/2026 at 12:19:20 AM

thanks for sharing the video!

by iweczek

6/12/2026 at 6:12:26 PM

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.

by Apreche

6/12/2026 at 6:42:45 PM

Thank you for the feedback! I'm going to address both points tonight when I get back home.

by iweczek

6/13/2026 at 4:54:18 AM

Is there an unskipable minigame thats crucial to winning that majorly objectifies women and is beyond obnoxious with terrible animations and sound effects?

Because if not, I’d love to check this out… but never again in my life will I subject myself to that mini-game!

by wizardforhire

6/12/2026 at 6:24:53 PM

this game is crazy fun

by zuzululu

6/12/2026 at 6:42:55 PM

Thanks!

by iweczek