Find Jobs
Hire Freelancers

Killer Sudoku Script

$10-30 USD

已完成
已发布超过 2 年前

$10-30 USD

货到付款
Hello, I need a Javascript to produce random symmetrical(mirrored) cages for a 9x9 puzzle(Basically it's a killer Sudoku , just without the numbers). Cages can be 1,2 and even 9 adjacent cells inside the puzzle(they remind Tetris pieces). I'm attaching an example of symmetrical cages. In the example we see various cages ranging from 2-4 cells each. They are symmetrical: A cage that appears on the upper left side will appear also in the bottom right side of the puzzle. When the script starts, it will generate strings of cages it finds in a puzzle, and print them as a string in a textarea on the page. *It doesn't have to show the puzzle. So for our example a corresponding string will be: 1,1,2,2,2,3,4,5,6,7,7,8,8,3,3,4,5,6,7,7,9,9,3,16,10,10,6,24,23,23,9,17,16,10,11,6,24,25,25,22,17,16,11,11,15,29,25,26,22,17,18,12,12,15,29,26,26,22,21,18,18,13,13,29,28,27,21,21,19,19,13,13,29,28,27,21,20,20,20,14,14 Each cell in the puzzle gets what cage it belongs to. In a 9x9 puzzle there will be 81 cells. If we move over the puzzle from left to right, top to bottom, we see that the first cage is a 2 cells size. So, in the result string it will show up as the first 1,1 (each cage is represented as a distinctive integer). The next cage is a 3 size cell and it will be represented as 2,2,2. Now the third cage is represented with the number 3, but it goes down, so only on the corresponding place in the string it would appear once again. Here is the first 18 cells, aligned as 2 rows one above the other: 1,1,2,2,2,3,4,5,6, 7,7,8,8,3,3,4,5,6, You can see how cage number 3, is represented both on the first and second row. According the example it reaches to the third row as well. The script should be fully customizable with these key points: 1. The number of puzzles the script produces (1,200,1000...) 2. The default puzzle should be a symmetrical one(as explained), but this can be turned off with a flag, so puzzles can be generated unsymmetrical as well. 3. The default cage size should be 2-6 (so no 1 size cages, and no cages more than 6), but this should be customizable and can be changes to 2-7,2-8 and even 1-9. So cages from size 1 up to size 9 would appear. Good luck
项目 ID: 31945674

关于此项目

5提案
远程项目
活跃3 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
$0 USD 在7天之内
4.8 (28条评论)
6.0
6.0
5威客以平均价$28 USD来参与此工作竞价
用户头像
Hi, I wish you are safe from Covid-19. I CAN START JUST NOW. i am a creative and professional JS developer having more than 6+ years of professional experience as a senior developer in this field. the main areas of expertise are Web Design, javascript, jQuery, HTML/HTML5, CSS/CSS3. So i ensure to finish your project within your deadline. If my project have some problems, you don't need to pay me. Thanks.
$50 USD 在2天之内
4.9 (5条评论)
2.1
2.1
用户头像
Greetings ! I am an expert Frontend software engineer . I am experienced in such as Software Architecture, HTML, Algorithm and JavaScript. I can start right away and want to discuss in detail. Please contact me to discuss more regarding this project. Thanks and Regards
$20 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
Web developer experience over 4 years I can start working immediately. Let's discuss details in chat. Thanks
$25 USD 在7天之内
1.8 (1条评论)
0.2
0.2

关于客户

ISRAEL的国旗
kiryat morzkin, Israel
5.0
16
付款方式已验证
会员自3月 16, 2011起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。