开发者用Claude连接小米跑步机和《魔兽世界》
一名软件工程师称,其开发了一个将小米跑步机与《魔兽世界》连接起来的个人项目,可让游戏角色控制跑步机速度,也可由跑步机动作驱动角色。由于插件 API 无法直接与外部应用通信,开发者让插件在屏幕角落绘制三个彩色方块,再由 Windows 应用读取像素,以判断角色是在行走、奔跑还是骑乘。开发者称该方案有效,并公开了 GitHub 仓库和视频演示。
该项目以具体方式展示了 AI 辅助开发如何通过游戏插件、屏幕像素和实体健身设备之间的 unconventional 连接创造新交互。
I work full-time as a software engineer, and I've been using Claude to build personal projects I would otherwise never find the time for.
My latest one connects my Xiaomi treadmill to World of Warcraft, letting my character control the belt's speed or vice versa.
I used Claude for most of the development. The most interesting part was figuring out how to get a WoW addon to communicate with an external Windows app, since the addon API doesn't allow it.
The solution Claude came up with? Have the addon draw three tiny colored squares in the corner of the screen and let the Windows app read those pixels to determine whether my character is walking, running or mounted.
Ridiculous, but it works.
This is what I find most exciting about AI coding: not replacing programming knowledge, but making projects worth attempting that I'd otherwise never have time for.
GitHub: https://github.com/adunis/windrunner-walkingpad-
Video demonstration: https://youtu.be/BBa3kIVbj6k
#Claude#Xiaomi#World of Warcraft#Windows#windrunner-walkingpad