Hacker News new | ask | show | jobs
by jdno 1404 days ago
Ha! Seems like I could've thought more about the branding of the game. :D

Since players interact with the game through a gRPC API, I didn't want to put a specific programming language in the title. In fact, my assumption is that more players want use JavaScript, TypeScript or Python than Rust. Which is why the tutorial on the website has examples in TypeScript and not Rust. I want players to consider the implementation of the game a black box, and instead focus their attention on the sandbox that it provides.

The routing grid is an attempt to reduce the initial difficulty for players by essentially converting the map to a set of discrete tiles. I hope that this will make it easier for players to get started. Eventually, I want to add obstacles such as impassable mountains or towns that have restricted airspace to the map. With the routing grid, I can simply mark a tile as blocked. Without it, players would need to compare the shape of the obstacle with the route of the plan and search for intersections. This simplified data model also seems to work well with pre-existing path finding libraries on NPM or crates.io, further reducing the barrier to entry.