SabakiHQ / Shudan

A highly customizable, low-level Preact Goban component.
MIT License
84 stars 22 forks source link

你好,移植Vue.js中,请教项目中的技术细节 #10

Closed x-roocky closed 5 years ago

x-roocky commented 5 years ago

Sabaki是极好的项目,Shudan够美的棋盘,谢谢你这么好的作品。

我已用Vue.js重写了Shudan: https://github.com/roocky-lab/vue-shudan 中间有一些技术细节,请教一下:

@yishn

yishn commented 5 years ago

Thank you for the kind words!

x-roocky commented 5 years ago

谢谢你的解答。

其中问题2,animate落子滑动效果,为什么要在一段时间(200ms)后取消呢?不取消有问题吗?

yishn commented 5 years ago

I don't remember the exact details... You can try it without removing .shudan-animate and see if you can encounter any issues.

On another note, please look at the license for Shudan. Since you're using Shudan code in your project, you should adhere to its conditions: You have to have a copy of my license in your repository. Of course you can license your modifications under a different license.

x-roocky commented 5 years ago

你好,已添加license文件,再次感谢这个项目。

关于shudan-animate是否延时关断,测试后并未发现区别。