javascript ken ken 谜题生成器
Heloo,
我需要用 javascript 生成一个 ken ken 谜题..但不知道从哪里开始。任何帮助将不胜感激。
Heloo,
I am in need of generating a ken ken puzzle in javascript.. but have no idea where to start. any help would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这就是我要做的:
在此类中生成和解决谜题的框架的一个很好的例子是 Simon Tatham 的便携式谜题收藏。迄今为止,它已在同一框架上实现了 32 个谜题。事实上,它已经有了 KenKen 的实现(SVN 上源代码的链接)。
Here's what I would do:
An excellent example of a framework for generating and solving puzzles in this class is Simon Tatham's Portable Puzzle Collection. It has implementations of so far 32 puzzles on top of the same framework. In fact, it already has an implementation of KenKen (link to source code on SVN).
您可以先填充整个网格,将它们分成各个小部分,然后获取该部分中存在的数字之间的关系......
逆向工程。
You can first fill the whole grid, divide them into various subsections, and then get the relationships among the the numbers present in the section...
reverse engineering.