Ocean Voyager 1785 - source (prototype v0.3)
https://aspect.tools/ocean-voyager     License: see LICENSE.txt (MIT + one exception)

An unfinished but fairly complete voxel sailing and trading RPG. Take it and build on it.

FILES
- game.html        the finished game, Korean UI (one file, no libraries, works offline)
- game_en.html     the finished game, English UI
- parts/head.html  HTML and CSS
- parts/js1..js13  game code (build order: 1,2,3,4,6,7,8,9,10,11,12,13,5)
- world.json       the world: terrain grid, 105 ports, factions (generated by terrain.py)
- terrain.py, polys1-3.py, raster.py, ports_data.py, ports_extra.py
                   world data generation (needs Python with numpy and Pillow)
- build_game.py    joins parts + world.json into game.html
- en/              English edition: translation tables (a1-a5.txt, ports.txt) and build_en.py
- sim1.py, sim2.py balance simulations (100 years of diplomacy, a trading bot); need Playwright and Chromium

BUILD
  python3 terrain.py        # only if you change the world data
  python3 build_game.py     # writes game.html
  python3 en/build_en.py    # writes game_en.html from the Korean source + en/ tables

If you change a Korean text in parts/, add or update its line in en/a*.txt
("Korean ==> English"), then run build_en.py. It lists any key it cannot find.

Developer mode: press F2 (or the ` key) in the game for cheats, teleport and spawn tools.

----------------------------------------------------------------------------------------
대양의 항해자 1785 - 소스 구성 (프로토타입 v0.3)

- game.html: 한국어판 완성 파일 / game_en.html: 영어판 완성 파일
- parts/head.html: HTML/CSS, parts/js1~js13.js: 게임 코드 (빌드 순서: 1,2,3,4,6,7,8,9,10,11,12,13,5)
- terrain.py + polys*.py + raster.py + ports_*.py: 월드 데이터 생성 (world.json 출력)
- build_game.py: parts + world.json 을 합쳐 game.html 생성
- en/: 영어판 번역표(a1~a5.txt, ports.txt)와 build_en.py ("한국어 ==> English" 형식)
- sim1.py(외교 100년), sim2.py(무역 봇): playwright + 크롬 필요
빌드: python3 terrain.py && python3 build_game.py && python3 en/build_en.py
개발자 모드: 게임 안에서 F2 (또는 ` 키)
