宝石连连看JAVA源码
选择两个点,如果两点的图片完全一样,并且两点之间可以用不超过3直线条线连接起来,则该两点可以消除。
计分
1、限定时间为地图中方块数 * 4,比如说有120个方块,就应该在480秒内完成,超过480秒没有时间奖励分
2、时间奖励分为剩余时间 * 2,即每提前一秒钟奖励2分
3、当已经选择点后,如果选择的第二个点与第一个点之间无法消除,扣1分,如果有解,则增加24分
4、使用刷新功能,系统会自动判断当前地图有无解,如果有解,扣8分,无解则加8分,慎用:)
5、使用提示功能,如果提示成功,扣10分
6、使用炸弹功能,如果炸弹功能有效,扣12分 -the source code of a java program ,
fuction : link up two same pictue
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.000944s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.079755s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.000887s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001149s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001089s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003266s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000853s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003820s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.014562s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001080s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 47783 [ RunTime:0.023564s ]