所有数组通过滑动方向将数组转成新数组,统一往左边相同的进行相加合并后进行位移,再将数组转换回去,如此少了代码重复量;
-
Notifications
You must be signed in to change notification settings - Fork 0
chenmaolan/2048
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
2048微信小程序
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published