ARCADE
APPRENTICE
下载
菜单

Arcade Apprentice

免费畅玩 · 布莱克浦制造

在你自己的电脑上,教 AI 玩街机游戏。

免费。无广告。无需注册。无需安装。由爱好者为爱好者制作。

Windows 10 和 11 · 游戏文件请自备

ARCADE APPRENTICE
游戏结束
开始游戏
The trailer: Chip boots up, is rubbish at games, gets trained, and ends up brilliant.
★ 正在上演:街机学徒 CHIP ★ 全天免费 ★ 无广告 ★ 无需注册 ★ 游戏文件请自备 ★ 他现在还很菜,给他一个晚上 ★ 布莱克浦制造 ★
玩家 1 · 选择

认识 Chip

有没有站在游戏机前,握着最后的 10 便士,想不明白别人怎么会玩得那么好?答案就是练习,大量练习。Chip 只做这一件事。

Chip 是你的学徒。刚开始他菜得很,连哪个键开火都不知道。你给他一个游戏,告诉他怎样才算赢,然后让他自己练。他一次次尝试、犯错、再来。几千次,然后几百万次。

早上一觉醒来,他已经比你厉害了。抱歉啦。

CHIP · 街机学徒单元
BRAINS学习中…
PATIENCE最高
TEA BREAKS从不
FAVOURITE GAME你的游戏
使用说明

开始方法

四个关卡。没有最终 Boss。

  1. LEVEL 1

    解压并双击

    下载工具包,解压到桌面之类的位置,然后双击 START HERE。首次运行会下载自己专用的全部组件(约 4 GB),可以趁这段时间泡杯茶。不会向系统安装任何内容。

  2. LEVEL 2

    载入游戏

    把游戏文件放进 ROMs - put your games here 文件夹,然后点击 Scan。支持 Atari 2600 和街机游戏,五十多款街机游戏可以立即训练。其他游戏请点击 Find the score,玩几分钟并偶尔输入当前分数,剩下的交给工具。游戏很多?免费的 Library Robot 附加组件可以自动寻找分数。

  3. LEVEL 3

    点击训练

    选择游戏、Chip 获得奖励的方式和练习时长,然后点击 Create my AI。接下来让他自己练。随时可以点击 Stop,他会保存进度,之后继续。最好让他练一整晚。

  4. BONUS STAGE

    看他玩,再亲自教他

    点击 Watch it play 看他最新的学习成果,打开成绩单看曲线上升。想亲自示范?按 L 接管游戏。下次训练时他会先模仿你,再学习如何打败你。

更喜欢看视频? 教程是一首歌。 三分钟十堂课,逐步展示真实工具。由我和 Sarah 演唱。她本来以为只是喝杯茶,结果拍成了音乐视频。点击后在 YouTube 打开。

High scores

高分榜

排名分数名字
1ST864CHIP新!
2ND863EUG
3RD531JON
4TH520SAR
5TH511BEN
6TH511NAY
7TH461JOE
8TH???GAB

Chip 是唯一有四个字母的名字。他把名字输入系统弄坏了。他还在学习。

CHIP 的成绩单
· BREAKOUT ·

真实数据,来自我在自己电脑上训练的 Atari Breakout AI。没有人教他怎么玩。

最初几局的平均分
1.1
5100 万次操作后的平均分
454
单局最高分
864

同一个机器人,同一款游戏。他只是不停地练习。

故事模式

从 10 便士硬币到机器人 Chip

你好,我是 Jonny。我在布莱克浦 Dickson Road 经营一家小店,店里不忙的时候就研究 AI。

小时候我几乎住在游乐场里,伴随着噪音、灯光和一口袋 10 便士硬币长大。成年后,我一直着迷于科技,也着迷于 AI。

2015 年,我读到一台电脑只凭画面和分数自学 Atari 游戏的报道,于是也想试试。当时需要用 USB 启动 Linux、配置双系统,每次安装和调整都是工程噩梦。修环境的时间比看 AI 学习的时间还多。

后来,我被其他突然冒出来的爱好带走了几年。我的记性不太好,又有覆盖旧文件的习惯,所以早期那段历史已经有些模糊。

2026 年 9 月,我重新投入这个项目,像着了魔一样。我错误地从旧处接着做,没有先看看技术进步了多少,结果浪费了大量时间。电脑里有个叫 Do Not Use 的文件夹,还有七个不同版本的 Track & Field。我的 Space Invaders 机器人发现角落最安全,就躲在那里对空开火。失败了一长串,然后终于突破。大部分过程都是边做边摸索。

它最初运行在 Windows 内置的 Linux 中。后来我想:做一个便携版,让任何人都能尝试、都能参与。不用 Linux,不用安装。解压、双击、选游戏。

一定有人比我更懂电脑和 AI,却被复杂的配置吓退了。这就是为他们做的。哪怕只让一个人爱上它,这个项目就值了。

这大概会遗传。我女儿大学学的就是机器学习,现在也在 AI 行业工作。向她解释我那些早期进化机器人,是这个项目的一半原因;另一半是我的复古街机俱乐部。我们每月聚一次,我答应过要拿点成果给他们看。

谢谢,Jonny

FOR THE CURIOUS: HOW CHIP ACTUALLY LEARNSNo equations, promise. Just how it works, the way I'd explain it over the counter.

He looks at the screen, like you do

Chip doesn't get any secret information from the game. He sees the same picture you'd see, shrunk down, plus the score. He looks at the last few pictures together, like a flick-book, so he can tell which way the ball's going and where the bullets are heading.

He has a go, then looks back

He plays for a little while, then pauses and has a think: did that go better or worse than I expected? Whatever went better, he does a bit more of. Whatever went worse, a bit less. Never too much at once, so he doesn't forget what he already knows. Then he plays again. Millions of times.

It's like a boxer watching the tape of their last fight. Same boxer next time, just a better one.

He learns to be patient

My early bots only cared about points, so they grabbed the quickest points they could. In Space Invaders that meant sitting in the corner and firing at nothing. The fix was making a lost life really count. Camping in the corner gets you shot more, so he learns the only way to keep his lives is to move, dodge and get good. Points now are nice. Still being alive later is better.

Get the balance wrong the other way and he turns coward. One night I paid him a little for every second he stayed alive and went to bed. By morning he was hiding under the bases, not firing at all.

He gets curious

In some games the points are miles away. A bot that only chases points never finds them, so it just wanders about. Pick the exploration setting and Chip gets a little reward every time he finds a screen he's never seen before. Curiosity, basically. It's his best chance in something like Pitfall.

Before the breakthrough: breeding bots

I bred them first. An Atari has 128 bytes of memory, so I made each bot a list of 12,800 numbers (12,806 if you're counting). I liked the symmetry. Each bot picked one of six moves at a time. All 896 of them played three games each, the best survived, and the next lot were copies of the winners with every number nudged slightly at random. They learned fast, then hit a wall. Well, a corner.

Evolution mode: a family of Chips

The kit's second way to learn is the grown-up version of my old breeding idea. A small family of Chips take turns practising. After each round, the weakest gets swapped for a copy of the best, with a few of its learning settings nudged up or down at random. I call those nudges mutations. No idea if that's the right word. The hope is a monster in a surprisingly short time; I haven't raced it against the one-brain version yet.

He can learn by watching

Both ways of learning can learn by watching you play. Show him how, and next time he trains he copies you first, then learns to beat you. You can even let one bot show a fresh Chip how it plays. When I tried that, he seemed to fly ahead, and the teacher's style stuck around long after. Part of that's by design (the pull towards the teacher fades slowly, over 5 million moves), so I want to measure it properly. It still baffles me.

What's next: playing in his head

The cleverest AIs now work out how a game works, then practise inside their own imagination, like a snooker player lining up shots in their head the night before a match. Then there's learning from videos of experts playing. That's where I'm heading next. No promises on dates.

THANK YOU: THE CLEVER PEOPLE AND PAPERS BEHIND ITI'm self-taught and I learn as I go. These are the people whose work I've read, borrowed from or bumped into along the way.
  • DeepMind · 2015Human-level control through deep reinforcement learning

    The one that started it all for me. A computer learning dozens of Atari games from nothing but the screen and the score.

  • OpenAI · 2017Proximal Policy Optimization

    Chip's way of practising: have a go, look back, do a bit more of what worked, but never change too much at once.

  • DeepMind · 2018IMPALA

    Where Chip's eyes come from: the part of his brain that looks at the screen.

  • Uber AI · 2017Deep Neuroevolution

    Proof that breeding the best bots can hold its own on Atari games. Read loads on it.

  • Uber AI · 2019Go-Explore

    Clever ideas for games where the points are miles away and you have to go exploring first.

  • OpenAI · 2018Exploration by Random Network Distillation

    Where Chip's curiosity comes from: a little reward for finding screens he's never seen.

  • NVIDIA · 2019CuLE: Atari games on a graphics card

    Running thousands of Atari games at once on a graphics card. Blew my mind.

  • DeepMind · 2018Playing hard exploration games by watching YouTube

    An AI that learns from videos of people playing. Next on my list.

  • DeepMind · 2019MuZero

    Works out the rules for itself, then plans its moves in its head.

  • Danijar Hafner and friends · 2023DreamerV3

    Dreams up the game in its head and practises in its dreams. One day, Chip.

  • The Farama Foundation and friendsArcade Learning Environment

    The Atari 2600 playground AI researchers use. The kit uses it for the Atari games.

  • The emulator teamsFinalBurn Neo and MAME 2003-Plus

    Years of volunteers' work keeping arcade machines alive. They run the arcade games inside the kit, under their own licences.

  • Everyone behindPyTorch and Python

    Free tools that do the heavy lifting under the bonnet.

And thanks to my retro arcade club, for listening to me go on about it.

开发历程:CHIP 是怎样诞生的那些愚蠢的错误、起伏和顿悟时刻。另有技术细节供爱好者阅读。

使用说明卡

投币前请阅读。(其实不需要硬币。)

你需要什么

  • Windows 10 或 11 电脑。
  • 8 GB 内存,建议 16 GB。
  • 约 6 GB 可用空间。
  • 你自己的游戏文件(ROM)。工具包不附带游戏。
  • 显卡有帮助但不是必须。支持 NVIDIA。AMD 和 Intel 显卡应该也能用(工具会选择合适方式),但尚未在真实电脑上逐一测试。没有显卡就使用处理器,慢一些,但仍能学习。

值得了解

  • 首次启动会下载专用 Python 和 AI 组件:约 4 GB,需 5 至 15 分钟。
  • 不会向系统安装任何内容。不再使用时,双击文件夹中的 UNINSTALL 即可全部移除。
  • Windows 可能显示蓝色“Windows 已保护你的电脑”提示。点击 More info,再点击 Run anyway。这是下载文件的常见提示。
  • 解压到桌面、文档或下载等可写位置,不要放进 Program Files。
  • 训练会让电脑高负载运行,机器会发热,风扇也可能会大声抱怨。
常见问题

问题与回答

真的免费吗?

是的。无广告、无需注册、没有隐藏条件。如果喜欢,可以在页面底部请我喝杯咖啡,但完全自愿。

附带游戏吗?

不附带。请使用你有权使用的游戏文件。可以从这些正规来源开始:

The arcade games their owners have said can be shared for free, on MAME's free ROMs page. The brand-new Atari 2600 games fans are still making; plenty are free from their makers, and AtariAge is the place to look. And if you own an arcade board or a cartridge, people do copy ("dump") them for their own use, but check where you stand first.

支持哪些游戏?

支持 Atari 2600 游戏(.bin 或 .a26)以及街机游戏(MAME 2003-Plus 或 FinalBurn Neo 的 .zip)。五十多款街机游戏可直接训练。其他游戏只需在游玩时输入几次分数,工具就会记住。格斗游戏可以使用血条。Library Robot 也能自动寻找分数,每款约五分钟。它通过文件内容识别游戏,文件名并不重要。

会弄坏我的电脑吗?

不会。它只存在于自己的文件夹,不安装任何内容。双击 UNINSTALL 即可移除。所有训练都在本地进行,不会上传你的个人信息。不过训练负载很高,电脑会发热。

多久才能变厉害?

几分钟后曲线就会开始变化,练一整晚会有明显进步。我的 Breakout AI 在约 5100 万次操作后,平均分从 1 提高到 454,在我的电脑上花了约五小时。较慢的电脑需要更久。它甚至自己发现了在墙后打隧道的技巧。看电脑打败你,真的很有趣。

Somewhere in there he worked out the famous trick on his own: drill a hole up the side, get the ball behind the wall, and let it do all the work. Proper eureka moment. And I'll be honest, it's great fun watching a computer beat you.

我可以亲自教他吗?

可以。在 Watch 窗口按 L 接管并示范。下次训练时他会先模仿你,再学习打败你。你还可以让一个 AI 教另一个 AI,我试过,进步很明显。

出问题了怎么办?

先看教程视频。如果仍没解决,点击工具页面顶部的 Make a problem report,它会生成一个说明电脑和故障的小文本文件。通过 GitHub 页面发给我,我会看看。

支持 Mac 或 Linux 吗?

目前只支持 Windows,抱歉。这个项目的目标之一就是摆脱 Linux 配置的麻烦。

玩家 1 · 准备好了吗?

获取工具包

Windows 10 和 11 免费使用。下载约 53 MB,首次启动还会下载约 4 GB 组件。

开始游戏免费下载

请只使用你有权使用的游戏文件。

v1.2 新功能:配方卡。导出 AI 的设置和成绩,在论坛分享,并且只导入你需要的设置项。不包含 ROM。

想知道 Chip 是怎样诞生的?阅读开发历程,从早期错误到发现隧道的那一晚。

可选附加组件 测试版

Library Robot

收藏了很多街机游戏?老游戏保存分数的位置各不相同,通常需要你先玩一会儿来告诉工具。Library Robot 会替你完成。解压到工具包,点击 Start,然后去休息。它自己试玩,每款约五分钟,能破解的游戏会进入可训练列表。

提前说明:它还在开发中。有时很好用,有时不行。目前大约每三款游戏能成功一款。其余仍可按正常方式手动输入分数,所以试一下也不会损失什么。

如何添加

  1. 先让工具正常运行,确认你有包含 START HERE 的 Arcade Apprentice 文件夹。
  2. 下载 Library Robot。右键压缩包,选择 Extract All,然后选择你的 Arcade Apprentice 文件夹。
  3. 如果 Windows 询问是否合并 files 文件夹,选择“是”。
  4. 刷新工具页面。在第 2 步会看到带 Start 按钮的 Library Robot。

不想用了?从工具包中移除 files\autopack\autopack.py 即可。

Coming soon, alongside the kit.

继续吗?

如果 Chip 让你笑了,也愿意请我喝杯咖啡,多少都可以。这能帮我支付开发工具的费用。完全没有压力,尽情享受就好。

投入硬币请 Jonny 喝杯咖啡