跳到正文
Simon Willison·· 2026-10-24精选

Simon Willison分享四人联机改造提示词,明确地图与网络约束

AI 导读

Simon Willison公开把Battledrones从双人扩展为四人联机的提示词,明确四向旋转对称、兼容既有WebSocket模式,以及空位由AI补齐。作者展示了新增地图、邀请链接与回放,为AI辅助修改现有项目提供具体示例。

推荐理由

相比此前开发复盘,新增了联机改造的具体约束写法。原文正文+原站 RSS 时间核验;属于作者个人实验,未独立复测联机效果。

正文 · 原文

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 5.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 map does indeed look a bit like a rose - it uses the cold and ice biome. Also shown are purple robots battling on the map.

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.

来源:Simon Willison · simonwillison.net