Open ugvvff opened 1 year ago
命令行 cargo run ,我在 Linux 上测试成功运行了。
我是win11系统
---原始邮件--- 发件人: "liu @.> 发送时间: 2023年4月23日(周日) 晚上6:40 收件人: @.>; 抄送: @.**@.>; 主题: Re: [netcan/AnimalChess] 我对于编程是个小白 (Issue #10)
命令行 cargo run ,我在 Linux 上测试成功运行了。
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
我已经弄好linux系统,我不知道该如何运行,能说一下吗?
---原始邮件--- 发件人: "liu @.> 发送时间: 2023年4月23日(周日) 晚上6:40 收件人: @.>; 抄送: @.**@.>; 主题: Re: [netcan/AnimalChess] 我对于编程是个小白 (Issue #10)
命令行 cargo run ,我在 Linux 上测试成功运行了。
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
我已经弄好linux系统,我不知道该如何运行,能说一下吗? … ---原始邮件--- 发件人: "liu @.> 发送时间: 2023年4月23日(周日) 晚上6:40 收件人: @.>; 抄送: @.**@.>; 主题: Re: [netcan/AnimalChess] 我对于编程是个小白 (Issue #10) 命令行 cargo run ,我在 Linux 上测试成功运行了。 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
linux比较简单,在项目根目录运行cargo run
即可,win需要折腾,参考https://github.com/netcan/AnimalChess/issues/3
先安装 sdl2 的库文件。 debian/ubuntu 的是“libsdl2-dev” 和 “libsdl2-image-dev”, fedora 的是 “SDL2-devel” 和 “SDL2_image-devel“ 。
有一本 Packet 出版社的 “Rust programming by example”(不是官方链接的那本)。作者是 Guillaume Gomez 和 Antoni Bouncher。里面开头几章讲了用 sdl2-rs 做一个 俄罗斯方块,可以参考学习,唯一的缺点就是版本太老了。
这是我唯一一个找到使用深度学习的斗兽棋ai,但如何运行我还是不明白,能详细说说吗?