garrettjoecox/anchor — reverse-engineered prompt
Reverse engineered prompt
Build me Anchor, a simple self hosted multiplayer server for Harbor Masters 64 ports, mainly Ship of Harkinian for the Ocarina of Time PC port.
I want players to be able to connect to a room or team, join someone else’s session, load the remote player’s save state, and then keep important game progress in sync by sending flag changes and item gives to everyone in the same room. Keep the server generic enough that the client side game code is responsible for the actual game state, so other ports could use it later too.
Please make it easy to run for normal people. It should run locally with Go, have a Docker image setup, support Docker Compose, use port 43383 by default, allow changing the port with an environment variable, and write logs to a logs folder that can be mounted in Docker. Include a short README with install, run, and self hosting instructions. Look up current docs online if you need to.
Want more depth? Deep Reverse