5.0

5.0 | 1 rating Rate this file 105 downloads (last 30 days) File Size: 5.96 KB File ID: #22278

MATLAB Unisol

by Per-Anders Ekstrom

 

30 Nov 2008

Code covered by BSD License  

GUI for playing Unisol puzzles

Download Now | Watch this File

File Information
Description

unisol is a logical puzzle invented by Lawrence Gould that has been printed in the Sydney Morning Herald (Sydney, Australia) and Tele Sept Jeux (Paris, France) since the mid 1980s. It appears in the Sydney Morning Herald on Mondays, Wednesdays and Fridays.
 
    Example
        ---------------
       | X | B | E | J | 27 A=5; B=8
       |---------------|
       | C | D | J | G | 17
       |---------------|
       | G | E | F | B | 24
       |---------------|
       | H | A | C | F | 15
        ---------------
        10 23 23 27 83
 
    Rules
    The rules of the puzzle are:
     * the letters A to H and J represent the numbers 1 to 9
     * each letter may occur only once in a row or column
     * seven letters occur twice; two occur only once
     * one of the letters that occurs twice has been replaced with an X
     * the sums of each row and column and the whole square are given
     * the object is to fill in the numbers.
    Each puzzle has a unique solution. One of the numbers that occurs twice and one that occurs once are given, though the puzzles are often more interesting to solve without them.
 
    Solving Unisols
    Things to look for:
     * the numbers 1 to 9 add to 45, so the sum of eight letters will give you the value of the ninth
     * since seven letters occur twice and two only once the puzzle sums to 90 (2* 1 to 9) minus the sum of the two numbers that occur once
     * certain sums can only be made up of certain numbers e.g. a row that adds to 11 must be 1,2,3 & 5
     * lines with three letters in common give you the difference between the two other letters
     * looking at differences between pairs of letters can give the difference between letters or narrow down possible combinations
     * try to find areas where you can combine pieces of information to reduce possibilities.
 
    Reference: http://en.wikipedia.org/wiki/Unisol

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
02 Dec 2008 Husam Aldahiyat

Wow I love it!
So professional, with all the small details and whatnot.
Comments are appreciated, so are the many options.
You rock!

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
game Per-Anders Ekstrom 01 Dec 2008 15:44:48
games Per-Anders Ekstrom 01 Dec 2008 15:44:48
logic Per-Anders Ekstrom 01 Dec 2008 15:44:48
puzzle Per-Anders Ekstrom 01 Dec 2008 15:44:48
unisol Per-Anders Ekstrom 01 Dec 2008 15:44:48
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com