|
|
|
A daily sudoku image on your web site
It has never been easier to include a nice looking sudoku on a homepage.
Our php-script will generate an image that can you can place
on your home page by using the html tag IMG.
It is free to use this service as long as
you link to
sudoku assistenten.
(You may also reprint the image as long as yue refer to
www.sudokuassistant.com)
How to proceed?
Copy and pase the below html-code into your web page. As a result, your web page will display a png-image every day!
You can alter the apperence by the following parameters:
- square
- This is the size (in pixels) of a small sudoku cell.
- id
- This is a random number that makes your sudoku unique.
It is important to send the same id when you like to display the sudoku's solution.
(If one does not submit the id-parameter then a new sudoku is generated each time the web page is visited.)
- show
- If show=1 then the solution is displayed.
- old
- Tells the age of the sudoku you like to display.
Normally you like to display today´s sudoku, then old should be 0,
but sometimes one would like to display (the solution of) and older sudoku.
If old=1, yesterdays sudoku is shown, if old=2 the day before yesterday, etc.
- mindiff, maxdiff
- These two numbers defines the range difficulties that should be used.
Presently, our hardest puzzles are rated 6.
If mindiff=1 and maxdiff=6 then all kind of difficulties will be used.
Some days the puzzles will be rather simple (rated 1) and
some days they will be super tuff (rated 6).
In the future we plan to change the maximum rate from 6 to 10.
If you like, you may set maxdiff to 10 already now.
- coltext
- The color of the digits (by the hexadecimal notation rrggbb, for example FF0000 is red)
- colsolved
- The color of the solution
- colback
- background color
- coldark
- The color of the dark fields
- colbright
- The color of the bright fields
- colline
- Color of the lines
Tips
The easiest way to experiment with these parameters is to navigate directly to the
sudoku url
and then alter the parameters in the address field of your browser.
Good Luck!
Observe
Do not forget the link to us, you must link to us if you are using our pictures.
|
|
svensk sudoku
|