Find Jobs
Hire Freelancers

Killer Sudoku Script

$10-30 USD

Complété
Publié il y a plus de 2 ans

$10-30 USD

Payé lors de la livraison
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
N° de projet : 31945674

Concernant le projet

5 propositions
Projet à distance
Actif à il y a 3 ans

Cherchez-vous à gagner de l'argent ?

Avantages de faire une offre sur Freelancer

Fixez votre budget et vos délais
Soyez payé pour votre travail
Surlignez votre proposition
Il est gratuit de s'inscrire et de faire des offres sur des travaux
Décerné à :
Avatar de l'utilisateur
$0 USD en 7 jours
4,8 (28 commentaires)
6,0
6,0
5 freelances proposent en moyenne $28 USD pour ce travail
Avatar de l'utilisateur
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 en 2 jours
4,9 (5 commentaires)
2,1
2,1
Avatar de l'utilisateur
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 en 1 jour
0,0 (0 commentaires)
0,0
0,0
Avatar de l'utilisateur
Web developer experience over 4 years I can start working immediately. Let's discuss details in chat. Thanks
$25 USD en 7 jours
1,8 (1 commentaire)
0,2
0,2

À propos du client

Drapeau de ISRAEL
kiryat morzkin, Israel
5,0
16
Méthode de paiement vérifiée
Membre depuis mars 16, 2011

Vérification du client

Merci ! Nous vous avons envoyé un lien par e-mail afin de réclamer votre crédit gratuit.
Une erreur a eu lieu lors de l'envoi de votre e-mail. Veuillez réessayer.
Utilisateurs enregistrés Total des travaux publiés
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Chargement de l'aperçu
Permission donnée pour la géolocalisation.
Votre session de connexion a expiré et vous avez été déconnecté. Veuillez vous connecter à nouveau.