V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
这是一个专门讨论 idea 的地方。

每个人的时间,资源是有限的,有的时候你或许能够想到很多 idea,但是由于现实的限制,却并不是所有的 idea 都能够成为现实。

那这个时候,不妨可以把那些 idea 分享出来,启发别人。
tarasha
V2EX  ›  奇思妙想

[伸手党] 有没有好玩的 rust cli 游戏啊

  •  
  •   tarasha · 31 天前 · 1467 次点击

    最近上班比较闲,发现有好多用 rust 开发能在命令行玩的小游戏,比如 21 点、2048 、贪吃蛇。

    感觉这种形式挺适合文字冒险,不知道有没有大佬做出来的。

    或者其他好玩的命令行游戏,大家分享一下啊。

    4 条回复    2025-06-20 16:50:29 +08:00
    futuretech6
        1
    futuretech6  
       31 天前
    之前学习 rust 的时候写过一个非常简单的 https://github.com/futuretech6/rustle-bird
    Mohanson
        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
    ```
    sankooc
        3
    sankooc  
       30 天前
    @Mohanson 大佬 nb
    leon1s97
        4
    leon1s97  
       28 天前
    @Mohanson #2 看了大佬的文章, 太强了👍
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1013 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 23:04 · PVG 07:04 · LAX 16:04 · JFK 19:04
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.