AnimalChess icon indicating copy to clipboard operation
AnimalChess copied to clipboard

我对于编程是个小白

Open ugvvff opened this issue 2 years ago • 6 comments

这是我唯一一个找到使用深度学习的斗兽棋ai,但如何运行我还是不明白,能详细说说吗?

ugvvff avatar Apr 21 '23 21:04 ugvvff

命令行 cargo run ,我在 Linux 上测试成功运行了。

liulitchi avatar Apr 23 '23 10:04 liulitchi

我是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: @.***>

ugvvff avatar Apr 23 '23 10:04 ugvvff

我已经弄好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: @.***>

ugvvff avatar Apr 25 '23 15:04 ugvvff

我已经弄好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

netcan avatar Apr 25 '23 15:04 netcan

先安装 sdl2 的库文件。 debian/ubuntu 的是“libsdl2-dev” 和 “libsdl2-image-dev”, fedora 的是 “SDL2-devel” 和 “SDL2_image-devel“ 。

liulitchi avatar Apr 25 '23 17:04 liulitchi

有一本 Packet 出版社的 “Rust programming by example”(不是官方链接的那本)。作者是 Guillaume Gomez 和 Antoni Bouncher。里面开头几章讲了用 sdl2-rs 做一个 俄罗斯方块,可以参考学习,唯一的缺点就是版本太老了。

liulitchi avatar Apr 25 '23 17:04 liulitchi