Find Jobs
Hire Freelancers

Killer Sudoku Script

$10-30 USD

Opravljeno
Objavljeno pred več kot 2 letoma

$10-30 USD

Plačilo ob dostavi
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 projekta: 31945674

Več o projektu

5 ponudb
Projekt na daljavo
Aktivno pred 3 leti

Želite zaslužiti?

Prednosti oddajanja ponudb na Freelancerju

Nastavite svoj proračun in časovni okvir
Prejmite plačilo za svoje delo
Povzetek predloga
Registracija in oddajanje ponudb sta brezplačna
Dodeljeno:
Avatar uporabnika
$0 USD v 7 dneh
4,8 (28 ocen)
6,0
6,0
5 freelancerjev je oddalo ponudbo s povprečno vrednostjo $28 USD za to delo
Avatar uporabnika
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 v 2 dneh
4,9 (5 ocen)
2,1
2,1
Avatar uporabnika
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 v 1 dnevu
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
Web developer experience over 4 years I can start working immediately. Let's discuss details in chat. Thanks
$25 USD v 7 dneh
1,8 (1 ocena)
0,2
0,2

O stranki

Zastava ISRAEL
kiryat morzkin, Israel
5,0
16
Plačilna metoda je verificirana
Član(ica) od mar. 16, 2011

Verifikacija stranke

Hvala! Po e-pošti smo vam poslali povezavo za prevzem brezplačnega dobropisa.
Pri pošiljanju vašega e-sporočila je šlo nekaj narobe. Poskusite znova.
Registrirani uporabniki Skupaj objavljenih del
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Nalaganje predogleda
Geolociranje je bilo dovoljeno.
Vaša prijavna seja je potekla, zato ste bili odjavljeni. Prosimo, da se znova prijavite.