Check out Janggi (Korean Chess), our featured variant for December, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Diagram Designer. Lets you display diagrams without uploading any graphics.[All Comments] [Add Comment or Rating]
🕸💡📝Fergus Duniho wrote on Sat, Jan 7, 2023 06:29 PM UTC:

I have now moved test.php to drawdiagram.php. It now uses the $scale value while drawing the board instead of after it is already drawn. So, if you want to use it with oversized SVG pieces at a size that will still look good when displayed at different sizes, you can do it by setting the scale value. Values under 20 will be interpreted as raw multiples, and values above 20 or with a % at the end will be interpreted as percentages. So, scale=2, scale=200, and scale=200% should all have the same effect. While there are still some issues with this script, I did not notice any that were not already in drawdiagram.php.