Find Jobs
Hire Freelancers

Kakuro (Cross sums) solver and generator

$100-250 USD

Cancelled
Posted almost 18 years ago

$100-250 USD

Paid on delivery
We need C++ code to generate and solve Kakuro puzzles. Generator Requirements: * Must be able to generate puzzles in these sizes: 6x6, 7x7, 9x9, 12x12, 14x14 * Must be able to create according to difficulties: Easy, Medium, Hard * All puzzles must have a unique solution, and preferably be solvable using pure logic. * Must be able to generate the largest puzzles (14x14) within a couple of minutes Both generator and solver should be coded in C/C++ and so that we can call it from our code, like for example: *char *puzzle = generateKakuroPuzzle(int width, int height, int difficulty)* Preferably, the string returned by the generate function uses the following format (this is from a 6x6 puzzle): 000000029059018534003210092100051000 where 0 denotes an empty block or a sum, and any number denotes the correct number for any block. In other words, the string contains only the answers, not the sums. We will calculate the sums ourselves from these numbers. The solver should be able to solve puzzles in the above mentioned sizes, and should be able to determine if a puzzles has multiple solutions (does not need to count the number of solutions). The call to the solve function might look like this: *char *puzzle = solvePuzzle(int sumsHorz[][], int sumsVert[][], int width, int height);* Return format can be the same as the generate function (only correct numbers, no sums). The arrays sent to the solve function will hold the vertical and horizontal sums of a board. Blocks without sums will have the value 0 in these arrays, empty blocks ("black" blocks) will have the value -1. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables): a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform C/C++, Windows.
Project ID: 3606952

About the project

4 proposals
Remote project
Active 18 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average $183 USD for this job
User Avatar
See private message.
$153 USD in 39 days
4.9 (31 reviews)
4.3
4.3
User Avatar
See private message.
$195.50 USD in 39 days
4.9 (35 reviews)
4.2
4.2
User Avatar
See private message.
$212.50 USD in 39 days
5.0 (25 reviews)
3.6
3.6
User Avatar
See private message.
$170 USD in 39 days
4.9 (5 reviews)
1.9
1.9

About the client

Flag of NORWAY
Lierskogen, Norway
5.0
4
Payment method verified
Member since May 5, 2006

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.