技巧

battledrones v14 发布四人对战地图 Compass Rose

battledrones v14: Compass Rose, a four player map

精选理由

Simon Willison 用一条提示词让 Claude Opus 4.5 给他的对战游戏加了四人地图,还顺带改好了多人联机代码,过程记录很实在。

Simon Willison 为 Battledrones 游戏新增四人对战地图 Compass Rose,此前地图最多支持两名玩家。他用一条初始提示词交给 Claude Opus 4.5 完成,后者生成了四向旋转对称的地图,并修改 WebSockets 多人网络代码以支持最多四名真人玩家,空位由 AI 补齐,可通过分享链接或二维码加入。新阵营使用紫色和绿色机器人,与原有的蓝、红两队并列。作者还放出一段开启 Goliath Armada 变异器、每方四台巨型机甲的四路 AI 对战回放。

原文 · Simon Willison’s Weblog

battledrones v14: Compass Rose, a four player map

Release: battledrones v14: Compass Rose, a four player map I added four player online mode to Battledrones - previous maps were limited to two. Here's the initial prompt I used: Add a new map for a four player battle - four way rotational symmetry, up to four AI players, works with the WebSocket non-audio based multiplayer mode so up to four human players can join (any spare slots use AI) Claude Opus 4.5 added a new map called "Compass Rose" and modified the WebSockets multiplayer network code to support up to four players for that map, joining via share links or QR codes. The new teams use robots themed in purple and green, joining the existing blue and red designs. You can preview those colors in the updated model browser . Here's a replay link to watch a four way AI battle with the "Goliath Armada" mutator turned on, where each side starts with four giant Goliath mech units. Tags: game-design , projects , claude