《快乐的小侏儒》 海尔曼·黑塞
搜集的几首银魂ED的歌词

anSudoku 1.0

scturtle posted @ 2011年7月30日 14:24 in 随笔 , 2698 阅读

数独是个打发时间的好东西。在itouch上玩了很久的 Sudoku 401,实在是对这个应用上瘾了,再玩别的数独总觉得别扭,于是想在android平台上移植(好吧,其实就是"山寨")一个。从月初断断续续写到现在,算是告一段落了。

主要功能如下:

  1. 1.生成有至少58个指定数量空位的有唯一解的数独。(为什么上限是58见后文)
  2. 2.点击某一个给定数字,显示所有可以填该数字的位置,我称为"阴影模式",这也是 Sudoku 401 上我最上瘾的功能,不过应该会有很多人觉得是作弊吧。
  3. 3.浮动面板,笔记面板和填数面板的切换。
  4. 4.自动笔记模式,这个模式也很爽。
  5. 5.自动保存和恢复。
  6. 6.hint按钮。
  7. 7.计时。
  8. 8.不好意思,没了。本来还想做 Sudoku 401 的那种教学模式,那个太赞了,不过没什么时间,还是算了。

 

上几张不是特别ugly图:

有兴趣可以试试,apk传到这儿,需2.2及以上系统。也可以自己编译或修改,源码在github上,请遵循WTFPL协议。生成数独的部分用的是Dancing Links,目前我的能力是在defy上几秒内生成58个空的数独,生成59个空的就需要十几秒了,生成60个空的就得个把个分钟了。如果有办法优化到60凑个整的话,不妨告知我。

最后,遇到bug的话请先确认是不是feature,鉴于bug可能较多,so enjoy them !

isnowfy 说:
2011年7月30日 23:03

赞!果然还是入手defy了吗

Avatar_small
scturtle 说:
2011年7月31日 00:01

是阿,不怕这边儿整天下雨了

NCERT Social Questio 说:
2022年9月24日 02:23

Social Science or Social Studies including Geography, History, Civics, and Economics is called as Social in the Secondary Education Class 9th Standard Curriculum. NCERT has published learning and study material for all topics of the course to all regional students of Class 9th standard studying at Hindi Medium, NCERT Social Question Paper Class 9 English Medium and Urdu Medium Schools of the country to the academic year of 2023.Social Science or Social Studies including Geography, History, Civics, and Economics is called as Social in the Secondary Education Class 9th Standard Curriculum.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter