最近上班比较闲,发现有好多用 rust 开发能在命令行玩的小游戏,比如 21 点、2048 、贪吃蛇。
感觉这种形式挺适合文字冒险,不知道有没有大佬做出来的。
或者其他好玩的命令行游戏,大家分享一下啊。
1
futuretech6 31 天前
之前学习 rust 的时候写过一个非常简单的 https://github.com/futuretech6/rustle-bird
|
![]() |
2
Mohanson 31 天前
在命令行中运行的 gameboy / gameboy color 模拟器, 敲入下面的命令可以在命令行里玩超级玛丽.
```sh $ git clone https://github.com/mohanson/gameboy && cd gameboy && git checkout 73bb2db $ cargo run --release --no-default-features --features=tty -- res/sml.gb ``` |