What it is
Ocean Voyager 1785 is a sandbox game about sailing, trading and fighting across the oceans of 1785. The map is drawn as isometric voxel terrain with 105 real ports, from Lisbon and London to Canton, Batavia, Tahiti and Nootka. You start as a free captain with a small brig and 2,500 gold, and nobody tells you what to do. Buy cheap, sell dear, learn the winds, join a power or turn pirate.
It is one HTML file with no libraries and no server. Nothing you do is sent anywhere.
Status: unfinished, but not empty
This was made for fun and is a prototype. It has no ending, the balance is rough, and some parts are thin. But the systems underneath are already fairly complete, which is the reason to share it: you can take the file or the source and use it as the base of your own sailing, trading or strategy game.
| System | What is in it |
|---|---|
| World | A voxel world map with fog of war, 105 ports, 42 landmarks to discover, a minimap and a camera you can rotate and zoom. |
| Sailing | Click-to-sail route finding, trade winds, westerlies and monsoons by season, hurricane and typhoon seasons, scurvy, food and wages. |
| Trade | Twelve common goods and seven regional specialties that can only be bought at their origin. Prices move with your own trades. Ten cultures with their own banned goods, interpreter fees and trade limits, including closed ports. |
| Ships and crew | Twelve ship types sold by region, shipyard refits, escort ships, and officers (navigator, gunner, surgeon, purser). |
| Combat | Turn-based naval battles with ranges, broadsides, chain shot, boarding and fleeing, against pirates, merchants and navies. |
| Politics | Nine powers that run their own diplomacy: war, peace, alliances, trade pacts, colonies and port changes. You can take a letter of marque, a company contract or a naval commission, or join the pirates. |
| Story | Four rival captains with short branching stories, discovery reports, delivery contracts and a short first-voyage tutorial. |
| Tools | Save in the browser, a pixel or smooth drawing style, and a developer mode (press F2) with cheats, teleport and spawn tools. |
Things you will notice are missing: sound, an ending, a deeper economy for the player’s bases, and polish on phones.
How to play
| Do this | How |
|---|---|
| Sail | Click anywhere on the map and the ship plots a route. Or steer with ← → / A D and set the sails with ↑ ↓ / W S. Space drops or raises the anchor. |
| Enter a port | Near a port, press F or the Enter button. A port has a Market, Shipyard, Fleet, Invest tab and a Tavern. |
| Trade | Buy goods marked Cheap and sell them where they are marked Dear. A star marks a regional specialty. |
| Look around | Hold Q / E to rotate the view and use the wheel to zoom. N opens world affairs, J your discoveries, H help. |
| Fight | A ship that meets you starts a battle screen. Pick an action each turn. Plundering a nation’s merchants costs you its reputation. |
Watch out for scurvy after about 55 days at sea, and for hurricane and typhoon season from July to October.
Languages
The game is in English and in Korean. The Korean text is the original. The English edition is built from it with the translation tables in the source zip, so other languages can be added the same way. The two editions keep separate saves.
Saving
The game saves in this browser as you play and when you enter a port. It does not export a file. A private window or cleared site data removes the save.
How to take it
Press Download the HTML file above to get ocean-voyager-1785.html, or press Copy the code and save it as a file ending in .html. It is one file and works offline in any modern browser. For the editable source, take the source zip.
View the code
Loading…Embed it on your page
<iframe src="https://aspect.tools/ocean-voyager-play" style="border:0;width:100%;max-width:1180px;aspect-ratio:16/10" title="Ocean Voyager 1785" loading="lazy"></iframe>
What is in the source zip
| File | What it is |
|---|---|
parts/head.html, parts/js1.js to js13.js | The page, the styles and the game code, in 13 parts. |
world.json | The world: the terrain grid, the ports and the factions. |
terrain.py, polys*.py, ports_*.py | Scripts that draw the continents and place the ports. Python with numpy and Pillow. |
build_game.py | Joins the parts and the world into game.html. |
en/ | The English translation tables and build_en.py, which writes game_en.html. |
sim1.py, sim2.py | Balance tests: 100 years of diplomacy, and a trading bot. They need Playwright and Chromium. |
Build with python3 build_game.py, then python3 en/build_en.py for the English edition.
How to change it
| What to change | Where | Example |
|---|---|---|
| Starting gold | gold:2500 in js1.js | gold:10000 |
| Starting ports on the title screen | STARTS in js1.js | ['london','canton'] |
| Goods and base prices | GOODS0 and SPECIALS in js1.js | base:20 |
| Ship types and stats | SHIPS in js1.js | cannons:12 |
| Cost of a base of your own | BASE_COST in js7.js | BASE_COST=1000 |
| Escort ships and officers you can have | MAX_FLEET, MAX_OFF in js9.js | MAX_FLEET=4 |
| Landmarks to discover | POIS in js8.js | a new row with a name, longitude and latitude |
| Rival captains and their stories | RIVALS in js11.js | a new entry with scenes and choices |
License and credit
Ocean Voyager 1785, 2026, by aspect.tools (https://aspect.tools/ocean-voyager)
A visible credit is appreciated but not required.
The game is a fictional sandbox that only borrows 1785 as a setting. Names of ports, powers and places are used for the setting, and its events and characters are invented.
Questions
Is it finished?
No. It is a prototype made for fun, version 0.3. It has no ending and the balance is rough. It does have fairly complete systems for sailing, trade, ships, combat and diplomacy, which is why it is shared as something to take and build on.
Does it work on a phone?
It runs, but we do not recommend it. The port window is large, the buttons are small and some on-screen buttons sit on top of it. Use a computer with a keyboard and mouse.
Is my progress saved?
Yes, in this browser, as you play and when you enter a port. A private window or cleared site data removes it. The English and Korean editions keep separate saves.
Is it historically accurate?
Only as a setting. The year, the powers, the ports and the trade goods come from the period, but the events, characters and balance are invented for play.
What languages are there?
English and Korean. The Korean text is the original, and the English edition is built from it with translation tables that are in the source zip, so you can add another language the same way.
Is it online or multiplayer?
No. It is a single-player game that runs in your browser. Nothing you do is sent to a server.
How do I get the source?
Press Download the source (.zip) on this page. It has the game code in parts, the world data, the scripts that make the map, and the build scripts.
Can I use it in my own project, or make a video about it?
Yes. You can use it in personal and commercial projects, embed it on your site, and make free videos or tutorials about it, even if they carry ads. Keep the license notice at the top of the file. The one thing not allowed without permission is selling or promoting paid courses, coaching, memberships or paid bundles about it.