Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我对于编程是个小白 #10

Open
ugvvff opened this issue Apr 21, 2023 · 6 comments
Open

我对于编程是个小白 #10

ugvvff opened this issue Apr 21, 2023 · 6 comments

Comments

@ugvvff
Copy link

ugvvff commented Apr 21, 2023

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

@liulitchi
Copy link

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

@ugvvff
Copy link
Author

ugvvff commented Apr 23, 2023 via email

@ugvvff
Copy link
Author

ugvvff commented Apr 25, 2023 via email

@netcan
Copy link
Owner

netcan commented Apr 25, 2023

我已经弄好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需要折腾,参考#3

@liulitchi
Copy link

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

@liulitchi
Copy link

liulitchi commented Apr 25, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants