A script for generating random latin squares and Skyscraper puzzles.
3 1 4 2 3 3 2
-------------
2| |2
3| |4
1| |3
2| |2
3| |3
4| |3
4| |1
-------------
1 4 2 3 2 2 2
Each row
and each column
contains the numbers 1 thru 7 in some order. They represent the heights of buildings... the two clues on each side indicate how many buildings you can see from each side.
see 3 bldgs --> 2 4 1 5 3 <-- see dos bldgs
Igual a Sudoku, cada fila contiene los numeros 1-7 en alugn orden, representando alturas de edificios. Los numeros al lado indican cuandas edificios se ve en los dos direcciones. En este ejemplo, el 1 esta escondido en las dos direcciones
veo 3 edficios --> 2 4 1 5 3 <-- veo dos edificios
3 3 1 4 2
---------
2| |3
1| |2
4| |1
3| |2
2| |3
---------
3 2 2 1 2