TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: AIsaac – Learning to Beat Bosses. Live Reinforcement Learning on Twitch

1 点作者 nbrochu将近 8 年前

1 comment

nbrochu将近 8 年前
This has been my main side-project &#x2F; hobby for the last few months. I am building a framework to facilitate the creation of agents that can interact with games.<p>You can think of it as a minimal, one-man OpenAI Universe. The main difference is that you can set it up to interact with native games you own. No VM + VNC setup or depending on available games&#x2F;environments like Universe! It takes less than 10 minutes to write a plugin to add support for any Steam game.<p>The framework provides 2 major features: First, it sets up the game agent loop for you. Frames are captured and fed to your agent, you process them the way you want (can be anything from pure computer vision to reinforcement learning) and are able to send actions back to the game. Second, it ships with multiple blackbox implementations of algorithms that are compatible with the architecture of the framework. This second part is a total WIP.<p>On stream right now, I set up an experiment in The Binding of Isaac: Rebirth to see if we can learn to defeat bosses in game using the DQN family of algorithms. The current version uses 2 DDQNs each using Prioritized Experience Replay. 1 controls the movement and the other is in charge of the shooting. This is already v11 so there are a lot of iterations and chat has been great for discussing possible improvements.<p>Code is in Python. Linux only for now but Windows support is on the roadmap. Pre-release repo: <a href="https:&#x2F;&#x2F;github.com&#x2F;SerpentAI&#x2F;Serpent" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;SerpentAI&#x2F;Serpent</a><p>Happy to answer any question!