-
Notifications
You must be signed in to change notification settings - Fork 12
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
How to run this on (64bit) windows (7) ? #3
Comments
for windows, see https://github.com/Rust-SDL2/rust-sdl2#windows-msvc |
Thank you for the answer, but i don't have enough space on C: left. |
you can choose |
Firstly, thank you very much for this great implementation and your hard work, i finally managed to build and play with it! :) I already found a weakness (bug?) in the engine: it attacked with its mouse, which i could capture, i guess it tried to achieve a tempo or a good attack position, but it seemed to suffer from horizon-effect, after that i was able to gain the upper hand and defeat it in my first game. |
AnimalChess_x86-64_(depth7-8).zip [Edit:] And lastly, another Dou Shou Qi program i had stored on my backup-hdd (i found it many years ago, in a now defunct website). Unfortunately, it is only for win32. But it does work really well under linux/wine :) [i tested that many months ago] |
https://github.com/netcan/AnimalChess/blob/master/core/src/player/alpha_beta.rs#L47
Max depth sets to 100, but it limits in time: |
Thank you for your kind help :) |
Found a weird bug: it sometimes declares its own win, when repeating a position for the third time.
|
there is a special rule to prevent game loop forever. you can simply modify https://github.com/netcan/AnimalChess/blob/master/core/src/board.rs#L202 |
我按照这个库 https://github.com/Rust-SDL2/rust-sdl2#windows-msvc 教程来做,还是编译出错,so sad! |
msvc不行还有mingw方案...你也可以用这个人预编译好的包,不过是斗兽棋版本。 |
没,我这边要多少更改下,所以不会用他编译好的程序,我是想通过js调用rust代码来实现和cocos creator结合在一起。我也是无奈的选择,我的rust基础仅仅是初步了解,我对go更加熟悉
…---Original---
From: ***@***.***>
Date: Sun, Aug 29, 2021 09:42 AM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [netcan/AnimalChess] How to run this on (64bit) windows (7) ? (#3)
我按照这个库 https://github.com/Rust-SDL2/rust-sdl2#windows-msvc 教程来做,还是编译出错,so sad!
msvc不行还有mingw方案...你也可以用这个人预编译好的包,不过是斗兽棋版本。
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
非常感谢您的及时帮助,我稍后尝试
…---Original---
From: ***@***.***>
Date: Sun, Aug 29, 2021 20:27 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [netcan/AnimalChess] How to run this on (64bit) windows (7) ? (#3)
你的象棋我终于编译通过后,才发觉没ai的...,然后我来编译这个斗兽棋:结果出现这个错误,之前的象棋我都可以运行过了,为什么这个就不能过呢?很奇怪,hub主可以给点建议吗?如下图:
检查一下你clone下来的rust-sdl2目录是不是空的。用下面的命令重新clone下。
git clone --depth=1 --recursive https://github.com/netcan/AnimalChess.git
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
千辛万苦终于在win10跑起来了,参考链接:https://www.cnblogs.com/kileyi/p/11375216.html 保持hub主原样Cargo.toml内容即可 编译后提示其他缺少的lib库下载:https://www.libsdl.org/projects/ |
建议hub主采用这个gui库:https://github.com/hecrj/iced ,才没这么多艰难的依赖,单是搭建环境都要一周。。。即使是linux也不简单,,,而且我还是老手。。。 |
编译后将AnimalChess\target\debug\animal_chess.exe复制到AnimalChess目录下即可执行,尚不知能否在别人电脑执行,可能需要上面介绍到的其他东西,待验证 |
经过测试可以在别人电脑运行 |
Good day, how can i run this interesting game under windows 7 (64bit) ?
The text was updated successfully, but these errors were encountered: