Adding options to URL, you can change tiles' pattern, color, and so on.
Options are described as follows.
NOTICE: Do not change line nor insert any space/tab during the description.
This option changes tiles' pattern.
Name | Value | Result |
---|---|---|
pattern | wan | wan-zi (default) |
tong | tong-zi | |
suo | suo-zi | |
random | mix the patterns at random | |
arabic | arabic numerals |
(ex.)
<img src="http://thor.prohosting.com/susanoo/cgi-bin/pai_cnt.pl?pattern=tong">
When the description was omitted, "wan" is set as the default value.
This option changes tiles' color.
Name | Value | Sample | Result |
---|---|---|---|
color | a | White Background, Color Foreground (default) | |
b | White Background, Monochrome Foreground | ||
c | Black Background, Color Foreground | ||
d | Black Background, Monochrome Foreground |
(ex.)
<img src="http://thor.prohosting.com/susanoo/cgi-bin/pai_cnt.pl?color=c">
When the description was omitted, "a" is set as the default value.
This option changes the tiles' two- or three-dimensional appearance. When tiles are three-dimensional, tiles' back color can be set also.
Name | Value | Sample | Result |
---|---|---|---|
back | flat | two-dimensional (default) | |
blue | three-dimensional, blue back | ||
green | three-dimensional, green back | ||
yellow | three-dimensional, yellow back | ||
gray | three-dimensional, gray back |
(ex.)
<img src="http://thor.prohosting.com/susanoo/cgi-bin/pai_cnt.pl?back=blue">
When the description was omitted, "flat" is set as the default value.
This option changes the appearance of tiles which display zero.
Name | Value | Sample | Result |
---|---|---|---|
zero | frame | bai with a frame (default) | |
bai | bai without a frame |
(ex.)
<img src="http://thor.prohosting.com/susanoo/cgi-bin/pai_cnt.pl?zero=bai">
When the description was omitted, "frame" is set as the default value.
This option changes the number of figures. (The value must be 1 or more integer.)
When the figures of the counter exceeded the value, this option becomes invalid.
Name | Value | Result |
---|---|---|
figure | n (1 or more integer) |
Set the number of figures into n |
(ex.)
<img src="http://thor.prohosting.com/susanoo/cgi-bin/pai_cnt.pl?figure=8">
When the description was omitted, "1" is set as the default value.
This option changes the appearance of tiles which display blank.
This is enabled only when the option "figure" is enabled.
Name | Value | Result |
---|---|---|
blank | frame | bai with a frame (default) |
dong | dong | |
nan | nan | |
xi | xi | |
bei | bei | |
bai | bai without a frame | |
fa | fa | |
zhong | zhong |
(ex.)
<img src="http://thor.prohosting.com/susanoo/cgi-bin/pai_cnt.pl?figure=8&blank=fa">
When the description was omitted, "frame" is set as the default value.
This option changes the possibility of the red tiles' appearance.
In the probability of 1/n, a tile which displays 5 will become a red tile.
Name | Value | Result |
---|---|---|
red | 0 | never display red tiles (default) |
n (1 or more integer) | in the probability of 1/n, a tile which displays 5 will become a red tile |
(ex.)
<img src="http://thor.prohosting.com/susanoo/cgi-bin/pai_cnt.pl?pattern=pin&red=100">
When the description was omitted, "0" is set as the default value.
This option changes the counter's standby interbals. Set 0 or more integer.
Name | Value | Result |
---|---|---|
wait | n (0 or more integer) |
set the counter's standby interbals into n second(s) |
(ex.)
<img src="http://thor.prohosting.com/susanoo/cgi-bin/pai_cnt.pl?wait=10">
When the description was omitted, "0" is set as the default value.
Display Test ... Interactively confirm the application of these options.
Mah-jongg Tile Access Counter
(C) 2000 Nakamura Masaaki