From: Benjamin Auder Date: Thu, 15 Apr 2021 12:19:23 +0000 (+0200) Subject: Update Cwda - RR pieces X-Git-Url: https://git.auder.net/variants/current/doc/scripts/%7B%7B%20asset%28%27mixstore/config.php?a=commitdiff_plain;h=74afb57db5e15af26de042ba3f70f3409f13cb5f;p=vchess.git Update Cwda - RR pieces --- diff --git a/client/public/images/pieces/Cwda/ba.svg b/client/public/images/pieces/Cwda/ba.svg new file mode 100644 index 00000000..672f3c25 --- /dev/null +++ b/client/public/images/pieces/Cwda/ba.svg @@ -0,0 +1,89 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/client/public/images/pieces/Cwda/bh.svg b/client/public/images/pieces/Cwda/bh.svg index 1b096435..5e48dbfd 100644 --- a/client/public/images/pieces/Cwda/bh.svg +++ b/client/public/images/pieces/Cwda/bh.svg @@ -7,26 +7,32 @@ xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - height="100%" - width="100%" + width="177.17" + height="177.17" + shape-rendering="geometricPrecision" + image-rendering="optimizeQuality" + fill-rule="evenodd" + clip-rule="evenodd" + viewBox="0 0 50 50" version="1.1" - viewBox="0 0 2048 2048" - id="svg16" - sodipodi:docname="bh.svg" - inkscape:version="1.0.2 (e86c870879, 2021-01-15)"> + id="svg10137" + sodipodi:docname="BlackHalfDuck.svg" + inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)" + inkscape:export-filename="D:\Pictures\Chess Variants\Chess\pieces\Shogun\WhiteMortar.png" + inkscape:export-xdpi="198.53" + inkscape:export-ydpi="198.53"> + id="metadata10141"> image/svg+xml + - + + + + + + - - - - - - - - + id="path3569" + style="fill:#000080;fill-opacity:1;stroke:#000080;stroke-width:1.75439;stroke-linecap:square;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;paint-order:normal" + d="m 24.835195,7.171194 -3.313819,12.733842 -5.071048,-1.358159 1.540607,4.838992 -12.5271422,3.486346 12.7332912,3.313268 -1.358159,5.071599 4.839543,-1.540607 3.486345,12.527143 3.313268,-12.733292 5.07105,1.35816 -1.540608,-4.839544 12.527694,-3.486345 -12.733844,-3.313269 1.35816,-5.071048 -4.838993,1.540055 z" + sodipodi:nodetypes="ccccccccccccccccc" /> + diff --git a/client/public/images/pieces/Cwda/bo.svg b/client/public/images/pieces/Cwda/bo.svg index 282d9217..78c3f98e 100644 --- a/client/public/images/pieces/Cwda/bo.svg +++ b/client/public/images/pieces/Cwda/bo.svg @@ -7,26 +7,29 @@ xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - height="100%" - width="100%" + width="177.17" + height="177.17" + shape-rendering="geometricPrecision" + image-rendering="optimizeQuality" + fill-rule="evenodd" + clip-rule="evenodd" + viewBox="0 0 50 50" version="1.1" - viewBox="0 0 2048 2048" - id="svg12" - sodipodi:docname="bo.svg" - inkscape:version="1.0.2 (e86c870879, 2021-01-15)"> + id="svg4546" + sodipodi:docname="BlackChancellor.svg" + inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"> + id="metadata4550"> image/svg+xml + - - + + + + + + + + + + + + + + + + + - + transform="matrix(-0.85905057,0,0,-0.85905057,50.561254,53.06983)" + id="g5179" + clip-path="url(#clipPath5181)"> + style="fill:#000080" + inkscape:connector-curvature="0" + clip-path="none" + id="path4576" + d="m 28.408,9.22 h 4.216 V 5.825 h 6.796 v 9.295 l -5.5,4.243 V 31.22 l 4.22,4.221 v 5.08 h 3.789 V 46.45 H 8.07 v -5.929 h 3.794 v -5.08 L 16.11,31.22 V 19.363 L 10.602,15.12 V 5.825 h 6.774 V 9.22 h 4.242 V 5.825 h 6.79 z" /> + style="fill:#ffffff" + inkscape:connector-curvature="0" + id="path4578" + d="M 25.01,35.04 H 14.74 l -1.143,1.067 v 1.439 H 36.423 V 36.107 L 35.28,35.04 H 25.01 m -11.413,5.08 v 2.532 H 36.423 V 40.12 H 13.597 M 25.01,13.04 h -12.7 v 1.143 l 1.812,1.363 h 21.802 l 1.761,-1.363 V 13.04 H 25.01 m 0,4.191 h -8.678 l 1.482,1.168 v 1.414 h 14.393 v -1.414 l 1.482,-1.168 h -8.678 m 0,13.547 h -7.197 v 1.143 L 16.332,33.36 H 33.689 L 32.207,31.921 V 30.778 H 25.01" /> + + + + + + - - - - - - diff --git a/client/public/images/pieces/Cwda/bs.svg b/client/public/images/pieces/Cwda/bs.svg index a4aadfe8..73bf505b 100644 --- a/client/public/images/pieces/Cwda/bs.svg +++ b/client/public/images/pieces/Cwda/bs.svg @@ -7,26 +7,29 @@ xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - height="100%" - width="100%" + width="177.17" + height="177.17" + shape-rendering="geometricPrecision" + image-rendering="optimizeQuality" + fill-rule="evenodd" + clip-rule="evenodd" + viewBox="0 0 50 50" version="1.1" - viewBox="0 0 2048 2048" - id="svg16" + id="svg895" sodipodi:docname="bs.svg" inkscape:version="1.0.2 (e86c870879, 2021-01-15)"> + id="metadata899"> image/svg+xml + - + + + + + + + - - - - - - - + fill="url(#0)" + d="M 25.01,35.04 H 14.74 l -1.143,1.067 v 1.439 H 36.423 V 36.107 L 35.28,35.04 H 25.01 m -11.413,5.08 v 2.532 H 36.423 V 40.12 H 13.597 M 25.01,19.091587 h -12.7 v 1.143 l 1.812,1.363 h 21.802 l 1.761,-1.363 v -1.143 H 25.01 M 25.011,30.778 h -7.197 v 1.143 L 16.332,33.36 H 33.689 L 32.207,31.921 V 30.778 H 25.01" + id="path893" + sodipodi:nodetypes="ccccccccccccccccccccccccccccc" + style="fill:#ffffff" /> + style="fill:#000080;stroke:#000000;stroke-width:0.351528" + d="m 28.821851,154.22303 v -10.37007 h 6.679028 6.679028 v -9.0549 -9.05491 l 7.557847,-7.55171 7.557847,-7.55172 -0.0059,-10.37314 -0.0059,-10.373131 -9.835503,-7.557847 -9.835502,-7.557847 -0.0014,-16.25816 -0.0014,-16.25816 H 49.56199 61.513934 v 5.975973 5.975972 h 7.557848 7.557847 v -5.975972 -5.975973 h 11.951944 11.951947 v 5.975973 5.975972 h 7.55785 7.55784 v -5.975972 -5.975973 h 11.95195 11.95194 V 58.560818 74.8602 l -9.75489,7.526922 -9.7549,7.526927 -0.0923,10.359771 -0.0923,10.35977 7.56227,7.55478 7.56227,7.55478 v 9.05491 9.0549 h 6.67903 6.67903 v 10.37007 10.37007 H 88.581573 28.821851 Z M 129.3588,146.66519 v -4.56987 H 88.757337 48.155879 v 4.56987 4.56986 H 88.757337 129.3588 Z m 0,-16.11756 v -2.75951 l -2.08141,-1.81035 -2.08142,-1.81036 H 88.5325 51.869028 l -1.856575,1.83351 -1.856574,1.83351 v 2.73635 2.73635 H 88.757337 129.3588 Z m -9.84278,-12.27711 c 0,-0.14984 -1.18641,-1.45093 -2.63646,-2.89131 -2.61675,-2.59928 -2.63646,-2.63272 -2.63646,-4.47318 v -1.85432 H 88.581573 62.920045 v 2.07757 2.07757 l -2.636458,2.35961 c -1.450052,1.29779 -2.636458,2.49842 -2.636458,2.66806 0,0.17457 13.42667,0.30844 30.934444,0.30844 17.013947,0 30.934447,-0.1226 30.934447,-0.27244 z m 10.95578,-43.927575 3.10533,-2.368213 V 69.773084 67.571435 H 88.581573 43.586018 v 2.203824 2.203824 l 3.075868,2.342096 3.075868,2.342095 38.814361,0.02394 38.814365,0.02394 z" + id="path208" + transform="scale(0.28221482)" /> diff --git a/client/public/images/pieces/Cwda/bu.svg b/client/public/images/pieces/Cwda/bu.svg new file mode 100644 index 00000000..16a15b4c --- /dev/null +++ b/client/public/images/pieces/Cwda/bu.svg @@ -0,0 +1,61 @@ + + + + + + image/svg+xml + + + + + + + + + diff --git a/client/public/images/pieces/Cwda/by.svg b/client/public/images/pieces/Cwda/by.svg index b569a989..452d1647 100644 --- a/client/public/images/pieces/Cwda/by.svg +++ b/client/public/images/pieces/Cwda/by.svg @@ -7,26 +7,32 @@ xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - height="100%" - width="100%" + width="177.17" + height="177.17" + shape-rendering="geometricPrecision" + image-rendering="optimizeQuality" + fill-rule="evenodd" + clip-rule="evenodd" + viewBox="0 0 50 50" version="1.1" - viewBox="0 0 2048 2048" - id="svg18" - sodipodi:docname="by.svg" - inkscape:version="1.0.2 (e86c870879, 2021-01-15)"> + id="svg10137" + sodipodi:docname="BlackWoodyRook.svg" + inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)" + inkscape:export-filename="D:\Pictures\Chess Variants\Chess\pieces\Shogun\BlackMortar.png" + inkscape:export-xdpi="198.53" + inkscape:export-ydpi="198.53"> + id="metadata10141"> image/svg+xml + - - + + + + + + + + + + - + id="g10710" + transform="matrix(0.88963841,-0.16235103,0.16235103,0.88963841,-4.0197626,6.8524838)"> + sodipodi:nodetypes="cccsssc" + inkscape:connector-curvature="0" + id="path10688" + d="m 20.598979,27.528386 -5.346162,-4.421678 9.423667,-11.909954 11.427908,7.193176 c 3.355257,2.111931 5.245889,8.165002 3.071121,11.01109 -2.01284,2.634176 -6.336052,4.927633 -9.812605,2.996215 z" + style="fill:#000080;fill-opacity:1;stroke:#000080;stroke-width:1.87242;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - + sodipodi:nodetypes="ccsccsc" + inkscape:connector-curvature="0" + id="path10690" + d="M 12.658898,22.245762 22.82839,9.5868642 c 0,0 1.215432,-0.7616529 1.747881,-0.4766949 0.639924,0.342477 0.688559,2.0656777 0.688559,2.0656777 l -10.169491,12.76483 c 0,0 -1.726503,0.81767 -2.330509,0.317797 -0.517574,-0.428342 -0.105932,-2.012712 -0.105932,-2.012712 z" + style="fill:#ffffff;stroke:#000080;stroke-width:1.56035;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + + + + sodipodi:nodetypes="ccccccccccccccc" + style="fill:#000080;stroke-width:1" + inkscape:connector-curvature="0" + id="path15863" + d="m 46.087678,40.693797 h 4.216 v -3.395 h 6.796 v 9.295 l -5.5,4.243 h -17.81 l -5.508,-4.243 v -9.295 h 6.774 v 3.395 h 4.242 v -3.395 h 6.79 z" /> + sodipodi:nodetypes="cccccccc" + style="fill:#ffffff;stroke-width:1" + inkscape:connector-curvature="0" + id="path15865" + d="m 42.689678,44.513797 h -12.7 v 1.143 l 1.812,1.363 h 21.802 l 1.761,-1.363 v -1.143 h -12.675" /> + style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1.55745;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="m 25.376587,22.461985 c -2.637608,-0.01879 -5.274152,0.842517 -5.731938,2.640252 l -2.026214,7.956582 -0.05292,3.716749 h 4.448513 l 0.04525,-3.834819 6.687355,-0.01019 -0.0098,3.84501 h 0.955043 3.574643 v -3.641237 l -2.151888,-8.032097 c -0.461559,-1.722563 -3.100395,-2.621459 -5.738,-2.640252 z m 0.0077,1.403908 c 2.120319,0.01511 4.241409,0.73739 4.612448,2.122123 l 1.412423,5.291512 -12.049282,-0.06063 1.416383,-5.230881 c 0.368005,-1.445162 2.48772,-2.13723 4.608039,-2.122123 z" + id="path16460" + inkscape:connector-curvature="0" + sodipodi:nodetypes="scccccccccccscccccsc" /> diff --git a/client/public/images/pieces/Cwda/wa.svg b/client/public/images/pieces/Cwda/wa.svg new file mode 100644 index 00000000..317f686d --- /dev/null +++ b/client/public/images/pieces/Cwda/wa.svg @@ -0,0 +1,85 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/client/public/images/pieces/Cwda/wh.svg b/client/public/images/pieces/Cwda/wh.svg index 96843bf9..68981956 100644 --- a/client/public/images/pieces/Cwda/wh.svg +++ b/client/public/images/pieces/Cwda/wh.svg @@ -7,26 +7,32 @@ xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - height="100%" - width="100%" + width="177.17" + height="177.17" + shape-rendering="geometricPrecision" + image-rendering="optimizeQuality" + fill-rule="evenodd" + clip-rule="evenodd" + viewBox="0 0 50 50" version="1.1" - viewBox="0 0 2048 2048" - id="svg18" - sodipodi:docname="wh.svg" - inkscape:version="1.0.2 (e86c870879, 2021-01-15)"> + id="svg10137" + sodipodi:docname="WhiteHalfDuck.svg" + inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)" + inkscape:export-filename="D:\Pictures\Chess Variants\Chess\pieces\Shogun\WhiteMortar.png" + inkscape:export-xdpi="198.53" + inkscape:export-ydpi="198.53"> + id="metadata10141"> image/svg+xml + - + + + + + + - - - - - - - - - - - - - - + id="path3569" + style="fill:#ffff80;fill-opacity:1;stroke:#000000;stroke-width:1.75439;stroke-linecap:square;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;paint-order:normal" + d="m 24.835195,7.171194 -3.313819,12.733842 -5.071048,-1.358159 1.540607,4.838992 -12.5271422,3.486346 12.7332912,3.313268 -1.358159,5.071599 4.839543,-1.540607 3.486345,12.527143 3.313268,-12.733292 5.07105,1.35816 -1.540608,-4.839544 12.527694,-3.486345 -12.733844,-3.313269 1.35816,-5.071048 -4.838993,1.540055 z m 0.164809,18.159312 a 1.4565678,1.3771186 0 0 1 1.456273,1.3769 1.4565678,1.3771186 0 0 1 -1.456273,1.376899 1.4565678,1.3771186 0 0 1 -1.456824,-1.376899 1.4565678,1.3771186 0 0 1 1.456824,-1.3769 z" /> diff --git a/client/public/images/pieces/Cwda/wo.svg b/client/public/images/pieces/Cwda/wo.svg index 2524dba6..22d6d4f5 100644 --- a/client/public/images/pieces/Cwda/wo.svg +++ b/client/public/images/pieces/Cwda/wo.svg @@ -7,26 +7,29 @@ xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - height="100%" - width="100%" + width="177.17" + height="177.17" + shape-rendering="geometricPrecision" + image-rendering="optimizeQuality" + fill-rule="evenodd" + clip-rule="evenodd" + viewBox="0 0 50 50" version="1.1" - viewBox="0 0 2048 2048" - id="svg34" - sodipodi:docname="wo.svg" - inkscape:version="1.0.2 (e86c870879, 2021-01-15)"> + id="svg7104" + sodipodi:docname="WhiteChancellor.svg" + inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"> + id="metadata7108"> image/svg+xml + - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + transform="matrix(0.84732234,0,0,-0.8486046,8.1448603,52.937221)" + id="g8232" + clip-path="url(#clipPath8276)"> + style="fill:#000000" + inkscape:connector-curvature="0" + id="path7677" + d="m 28.408,9.22 h 4.216 V 5.825 h 6.796 v 9.295 l -5.5,4.243 V 31.22 l 4.22,4.221 v 5.08 h 3.789 V 46.45 H 8.07 v -5.929 h 3.794 v -5.08 L 16.11,31.22 V 19.363 L 10.602,15.12 V 5.825 h 6.774 V 9.22 h 4.242 V 5.825 h 6.79 z" /> - + style="fill:#ffff80;fill-opacity:1" + inkscape:connector-curvature="0" + id="path7679" + d="m 33.07,17.678 3.15,-2.557 H 13.8 l 3.175,2.557 h 16.1 m 7.197,24.528 H 9.758 v 2.557 h 30.514 v -2.557 m -3.844,-5.05 H 13.602 v 3.37 h 22.826 v -3.37 M 32.212,19.368 H 17.819 V 31.23 H 32.212 V 19.368 m 5.503,-5.927 V 7.514 H 34.32 v 3.395 H 26.675 V 7.514 h -3.344 v 3.395 h -7.62 V 7.514 h -3.395 v 5.927 h 25.4 m -1.913,22 -2.548,-2.532 H 16.804 l -2.599,2.532 h 21.598" /> - - - - - - - - - - - - + d="m 25.374719,5.9510631 c 2.202191,0.1434142 4.236612,0.7111307 6.119359,1.7141817 1.872583,0.9911706 3.472331,2.2700166 4.792455,3.8297502 0.925283,1.092156 1.793784,2.414282 2.611451,3.958741 0.825292,1.537673 1.477732,3.175478 1.965784,4.899844 0.559237,2.012041 0.918503,4.116581 1.061698,6.329744 0.150822,2.20552 0.222849,4.251505 0.222849,6.13541 v 4.584163 c 0,0 -1.090507,0 -3.271514,0 -2.173379,0 -5.000051,0 -8.481698,0 H 16.298201 c -0.128787,0 -0.186411,-0.344538 -0.179631,-1.02766 0.0067,-0.68992 0.04998,-1.243206 0.136421,-1.666661 0.04998,-0.337746 0.186413,-0.812115 0.394853,-1.4299 0.215219,-0.617784 0.559227,-1.365407 1.054914,-2.248804 0.221999,-0.452306 0.753273,-1.106577 1.592968,-1.968759 0.846475,-0.862181 1.808187,-1.86778 2.905469,-3.003212 0.631255,-0.646641 1.119308,-1.458753 1.477729,-2.443132 0.358413,-0.976746 0.509238,-1.86778 0.451624,-2.673105 -0.51687,0.424301 -1.083731,0.768835 -1.703123,1.03445 -2.969864,1.063301 -5.1263,2.607761 -6.448966,4.626592 -0.100833,0.128986 -0.416035,0.696703 -0.947308,1.714179 -0.279615,0.532074 -0.523642,0.897826 -0.717682,1.092156 -0.265214,0.265612 -0.653287,0.416665 -1.1549,0.445517 -0.78208,0.03563 -1.392153,-0.337747 -1.829372,-1.142223 C 10.743158,28.8846 10.219513,28.956734 9.7526382,28.927883 8.9705596,28.633414 8.4037006,28.316885 8.0495199,27.979141 7.3318384,27.26037 6.8725892,26.549242 6.6505907,25.830474 6.4353711,25.111706 6.3277613,24.34287 6.3277613,23.517178 c 0,-1.17871 0.7244604,-2.737601 2.1877863,-4.677509 1.7115914,-2.227589 2.6182284,-3.929888 2.7258334,-5.091626 0,-0.503225 0.04998,-1.07094 0.150826,-1.705696 0.08644,-0.43873 0.25843,-0.85709 0.523649,-1.264421 0.186403,-0.28004 0.308422,-0.47437 0.366036,-0.574505 0.06439,-0.107775 0.179633,-0.2656116 0.351641,-0.4743706 0.122019,-0.1722657 0.229622,-0.3021035 0.316055,-0.3878117 0.07879,-0.093344 0.186411,-0.2155462 0.316044,-0.3733862 0.150826,-0.179904 0.344017,-0.3878128 0.588044,-0.63221 -0.74564,-2.0476834 -1.047291,-4.1598602 -0.904088,-6.3297421 2.783451,0.9911701 5.126297,2.5542998 7.015823,4.6919347 0.466028,-1.5877391 1.377749,-2.8742237 2.733462,-3.8509676 1.119318,0.783262 2.009004,1.8253485 2.669067,3.1109844" + id="path7100" + inkscape:connector-curvature="0" + style="fill:#000000;stroke-width:0.84796321" /> + d="m 39.606345,35.905106 c -0.01441,0 0,-0.381024 0.03556,-1.142219 0.04324,-0.768838 0.06439,-1.595377 0.06439,-2.478775 0.01441,-1.753215 0.01441,-3.564138 0,-5.438708 -0.0144,-1.875416 -0.265206,-3.743195 -0.753268,-5.611822 -0.480422,-1.796497 -1.004068,-3.32653 -1.578553,-4.598587 -0.573635,-1.272058 -1.198111,-2.364213 -1.872582,-3.29089 -1.004075,-1.515608 -2.381822,-2.80209 -4.117984,-3.8509666 -1.736166,-1.056513 -3.551127,-1.7455801 -5.444892,-2.0688973 0.128788,0.6899162 0.186412,1.3654047 0.172004,2.0264678 -0.02882,0.5032225 -0.265216,0.7544081 -0.717683,0.7544081 -0.516869,0 -0.746493,-0.2511856 -0.695649,-0.7544081 C 24.74092,7.5973557 24.080842,6.0087682 22.725122,4.6942797 21.663426,5.8152864 21.082168,7.1153482 21.003364,8.6029529 20.974546,9.0985377 20.72375,9.3140837 20.24332,9.2572277 19.798478,9.2428037 19.576478,8.9839763 19.576478,8.4816023 c 0,0 0.01441,-0.057706 0.03556,-0.1722674 C 19.038426,8.4960278 18.435135,8.7548527 17.80388,9.0925977 17.402255,9.3726371 17.071796,9.3005055 16.82099,8.8838405 16.570184,8.4603867 16.677798,8.1294309 17.158228,7.89267 17.760678,7.5837784 18.213145,7.3538065 18.521571,7.195966 17.31668,5.9603977 15.945712,4.968379 14.403586,4.2071807 c 0.16523,1.9543364 0.703275,3.7932624 1.599741,5.5396907 0.236402,0.3589586 0.179632,0.6822776 -0.172001,0.9631676 -0.394852,0.308889 -0.724465,0.265612 -0.989675,-0.143418 -0.09321,-0.14341 -0.236405,-0.395449 -0.416037,-0.7611946 -0.294018,0.2944646 -0.494834,0.5176456 -0.588044,0.6534266 -0.09998,0.128984 -0.272834,0.409874 -0.516861,0.840966 -0.244027,0.43788 -0.422815,0.797688 -0.538053,1.077727 -0.122009,0.352171 -0.179633,0.63221 -0.157601,0.85709 0.02115,0.215545 0.04324,0.452306 0.05765,0.725554 -0.128797,0.826544 -0.416035,1.602169 -0.855796,2.335364 -0.444842,0.725555 -1.004077,1.616588 -1.69295,2.673102 -0.660064,1.005596 -1.1625265,1.767644 -1.5133177,2.270017 -0.3516389,0.510015 -0.6168506,1.149861 -0.7964832,1.939912 -0.1287933,0.474371 -0.1287933,1.056515 0,1.732002 0.1220144,0.682277 0.401631,1.214354 0.8176658,1.595378 0.6456598,0.653425 1.2701365,0.955526 1.8725831,0.905459 0.194036,0 0.459248,-0.07891 0.788853,-0.236761 0.329613,-0.151053 0.581264,-0.445517 0.767676,-0.883397 0.358421,-0.797689 0.660062,-1.199928 0.904096,-1.199928 0.344011,0 0.538047,0.201119 0.566854,0.588933 0,0.08657 -0.115229,0.438727 -0.337229,1.056511 -0.128797,0.280042 -0.294026,0.574508 -0.502466,0.883397 -0.272834,0.366598 -0.387227,0.517652 -0.358415,0.459946 0.221994,0.804475 0.595663,0.941103 1.111688,0.423451 0.150823,-0.151047 0.329605,-0.445517 0.523642,-0.862181 0.200815,-0.423455 0.509245,-0.991167 0.925281,-1.705693 0.494834,-0.833331 1.018475,-1.502031 1.578555,-2.02647 0.559236,-0.517647 1.054915,-0.941099 1.492134,-1.257631 0.250807,-0.186694 0.559237,-0.395449 0.925282,-0.63221 0.366041,-0.244396 0.855796,-0.488796 1.47095,-0.739983 0.488054,-0.194333 1.032888,-0.43788 1.628555,-0.725557 0.595668,-0.287678 1.126089,-0.653427 1.585336,-1.106579 0.645658,-0.632211 1.140501,-1.407838 1.492134,-2.335362 0.186413,-0.517648 0.250806,-1.156648 0.207596,-1.918695 -0.122015,-0.474368 0.115237,-0.711129 0.717685,-0.711129 0.451623,0 0.703274,0.229972 0.760893,0.696702 0,1.580953 -0.451624,3.024426 -1.348937,4.332127 0.294018,0.897826 0.372824,1.882206 0.229623,2.945507 -0.122016,0.857091 -0.423659,1.774433 -0.889686,2.752026 -0.473659,0.969952 -1.420116,2.055321 -2.847853,3.247607 -2.90547,2.414282 -4.27898,4.899847 -4.117986,7.45075 0,0 1.190487,0 3.579941,0 2.388599,0 4.634849,0 6.736211,0 H 39.604656 M 11.102422,23.109848 c -0.409256,0.251187 -0.652438,0.58893 -0.738864,1.013231 0.0144,0.459949 -0.200816,0.711135 -0.6456599,0.754411 -0.4948364,0.05772 -0.746491,-0.151052 -0.7608953,-0.632209 0.057616,-0.926675 0.4660271,-1.659871 1.2413272,-2.205524 0.366043,-0.294466 0.703277,-0.273252 1.011703,0.07891 0.30842,0.381023 0.272833,0.711128 -0.107611,0.99117 m 6.241373,-10.037288 c 0.179633,0.28004 0.250806,0.574503 0.208445,0.883396 -0.136417,0.897826 -0.638884,1.27206 -1.492138,1.135433 -0.250806,-0.0433 -0.451623,-0.128984 -0.610072,-0.251186 -0.04998,0.06449 -0.136412,0.222334 -0.250807,0.459942 -0.150821,0.452306 -0.444842,0.603359 -0.882061,0.466732 -0.430439,-0.172263 -0.602449,-0.488794 -0.502458,-0.948736 0.631256,-1.616594 1.771748,-2.723172 3.423183,-3.326531 0.48043,-0.143417 0.796476,0 0.9473,0.416665 0.17201,0.452306 0.04324,0.762048 -0.380447,0.926674 -0.07879,0.0433 -0.157597,0.08657 -0.229624,0.115412 -0.07202,0.03562 -0.143192,0.07891 -0.229623,0.122199" + id="path7102" + style="fill:#ffff80;stroke-width:0.84796321;fill-opacity:1" + inkscape:connector-curvature="0" /> diff --git a/client/public/images/pieces/Cwda/ws.svg b/client/public/images/pieces/Cwda/ws.svg index 539083de..283f59ab 100644 --- a/client/public/images/pieces/Cwda/ws.svg +++ b/client/public/images/pieces/Cwda/ws.svg @@ -7,26 +7,29 @@ xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - height="100%" - width="100%" + width="177.17" + height="177.17" + shape-rendering="geometricPrecision" + image-rendering="optimizeQuality" + fill-rule="evenodd" + clip-rule="evenodd" + viewBox="0 0 50 50" version="1.1" - viewBox="0 0 2048 2048" - id="svg18" - sodipodi:docname="ws.svg" - inkscape:version="1.0.2 (e86c870879, 2021-01-15)"> + id="svg861" + sodipodi:docname="WhiteShortRook.svg" + inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"> + id="metadata865"> image/svg+xml + - - - - - - - - - - - - - + inkscape:current-layer="svg861" /> + + + + + + + + + + + + + + + fill="#1f1a17" + d="m 28.408,14.775556 h 4.216 v -3.395 h 6.796 v 9.295 l -5.5,4.243 0,6.301444 4.22,4.221 v 5.08 h 3.789 V 46.45 H 8.07 v -5.929 h 3.794 v -5.08 l 4.246,-4.221 0,-6.301444 -5.508,-4.243 v -9.295 h 6.774 v 3.395 h 4.242 v -3.395 h 6.79 z" + id="path857" + sodipodi:nodetypes="ccccccccccccccccccccccccc" + style="fill:#000000" /> + fill="url(#0)" + d="m 33.07,23.233556 3.15,-2.557 H 13.8 l 3.175,2.557 h 16.1 M 40.272,42.206 H 9.758 v 2.557 h 30.514 v -2.557 m -3.844,-5.05 H 13.602 v 3.37 h 22.826 v -3.37 M 32.212,24.923556 H 17.819 l 0,6.306444 h 14.393 l 0,-6.306444 m 5.503,-5.927 v -5.927 H 34.32 v 3.395 h -7.645 v -3.395 h -3.344 v 3.395 h -7.62 v -3.395 h -3.395 v 5.927 h 25.4 M 35.803,35.441 33.255,32.909 H 16.804 l -2.599,2.532 h 21.598" + id="path859" + style="fill:#ffff80;fill-opacity:1" + sodipodi:nodetypes="cccccccccccccccccccccccccccccccccccccc" /> + fill="url(#0)" + d="m -11.977106,34.338324 h -10.27 l -1.143,1.067 v 1.438999 h 22.82599999 v -1.438999 l -1.14299999,-1.067 h -10.27 m -11.413,5.079999 v 2.532 h 22.82599999 v -2.532 H -23.390106 m 11.413,-23.310159 h -12.7 v 1.143 l 1.812,1.363 h 21.802 l 1.76099999,-1.363 v -1.143 H -11.977106 m 0,4.191 h -8.678 l 1.482,1.168 v 1.414 h 14.393 v -1.414 l 1.482,-1.168 h -8.678 m 0,9.777159 h -7.197 v 1.143 l -1.482,1.439001 h 17.357 l -1.482,-1.439001 v -1.143 h -7.197" + id="path893" + sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccc" + style="fill:url(#0-7);stroke-width:1" /> diff --git a/client/public/images/pieces/Cwda/wu.svg b/client/public/images/pieces/Cwda/wu.svg new file mode 100644 index 00000000..43ce32f2 --- /dev/null +++ b/client/public/images/pieces/Cwda/wu.svg @@ -0,0 +1,83 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/client/public/images/pieces/Cwda/wy.svg b/client/public/images/pieces/Cwda/wy.svg index 75bdb6d8..99731737 100644 --- a/client/public/images/pieces/Cwda/wy.svg +++ b/client/public/images/pieces/Cwda/wy.svg @@ -7,26 +7,32 @@ xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - height="100%" - width="100%" + width="177.17" + height="177.17" + shape-rendering="geometricPrecision" + image-rendering="optimizeQuality" + fill-rule="evenodd" + clip-rule="evenodd" + viewBox="0 0 50 50" version="1.1" - viewBox="0 0 2048 2048" - id="svg6" - sodipodi:docname="wy.svg" - inkscape:version="1.0.2 (e86c870879, 2021-01-15)"> + id="svg10137" + sodipodi:docname="WhiteWoodyRook.svg" + inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)" + inkscape:export-filename="D:\Pictures\Chess Variants\Chess\pieces\Shogun\WhiteMortar.png" + inkscape:export-xdpi="198.53" + inkscape:export-ydpi="198.53"> + id="metadata10141"> image/svg+xml + - + + + + + + + + + + + style="fill:#ffff80;fill-opacity:1;stroke:#000000;stroke-width:1.69329;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="m 16.938415,33.741618 2.202811,-8.650492 c 0.995427,-3.909066 11.466536,-3.745608 12.470169,0 l 2.339932,8.732741 v 3.958562 H 16.880875 Z" + id="path10686" + inkscape:connector-curvature="0" + sodipodi:nodetypes="csscccc" /> + d="m 28.849283,36.335748 h 4.216 v -3.395 h 6.796 v 9.295 l -5.5,4.243 h -17.81 l -5.508,-4.243 v -9.295 h 6.774 v 3.395 h 4.242 v -3.395 h 6.79 z" + id="path10133" + inkscape:connector-curvature="0" + style="fill:#000000" + sodipodi:nodetypes="ccccccccccccccc" /> + d="m 33.511283,44.793748 3.15,-2.557 h -22.42 l 3.175,2.557 h 16.1 m 4.64,-4.237 v -5.927 h -3.395 v 3.395 h -7.645 v -3.395 h -3.344 v 3.395 h -7.62 v -3.395 h -3.395 v 5.927 h 25.4" + id="path10135" + inkscape:connector-curvature="0" + style="fill:#ffff80;fill-opacity:1" + sodipodi:nodetypes="cccccccccccccccccc" /> diff --git a/client/public/images/pieces/SOURCE b/client/public/images/pieces/SOURCE index 40f5f5b0..cda60aeb 100644 --- a/client/public/images/pieces/SOURCE +++ b/client/public/images/pieces/SOURCE @@ -7,7 +7,8 @@ Images of the Hawk and Elephant were designed by "Couch Tomato #2218" on Discord for the pychess-variants website (http://pychess-variants.herokuapp.com/) He also designed all the Horde pieces in Orda, the Shako Cannon and Elephant, the Synochess and Empire pieces, the black Colorbound + Sittuyin pieces set, -and he sent me the wizard and champion SVG files as well (modified from Wikipedia) +and he sent me the wizard and champion SVG files as well (modified from Wikipedia). +He also designed pieces for the CWDA armies. Letter D: https://svgsilh.com/image/2051714.html Mammoth: https://www.flaticon.com/free-icon/mammoth_925138 Castle icon: https://www.flaticon.com/free-icon/castle_89009 diff --git a/client/src/base_rules.js b/client/src/base_rules.js index 0876473d..5919bc34 100644 --- a/client/src/base_rules.js +++ b/client/src/base_rules.js @@ -47,8 +47,7 @@ export const ChessRules = class ChessRules { { label: "Asymmetric random", value: 2 } ] } - ], - check: [] + ] }; } diff --git a/client/src/variants/Chakart.js b/client/src/variants/Chakart.js index 86a867a9..9fcf4123 100644 --- a/client/src/variants/Chakart.js +++ b/client/src/variants/Chakart.js @@ -5,6 +5,23 @@ import { randInt } from "@/utils/alea"; export class ChakartRules extends ChessRules { + static get Options() { + return { + select: [ + { + label: "Randomness", + variable: "randomness", + defaut: 2, + options: [ + { label: "Deterministic", value: 0 }, + { label: "Symmetric random", value: 1 }, + { label: "Asymmetric random", value: 2 } + ] + } + ] + }; + } + static get PawnSpecs() { return SuicideRules.PawnSpecs; } diff --git a/client/src/variants/Cwda.js b/client/src/variants/Cwda.js index 2865d1fd..c5ecf092 100644 --- a/client/src/variants/Cwda.js +++ b/client/src/variants/Cwda.js @@ -55,7 +55,8 @@ export class CwdaRules extends ChessRules { 'n': 'w', 'b': 'f', 'q': 'c', - 'k': 'k' + 'k': 'k', + 'p': 'p' }, // Nutty Knights 'N': { @@ -63,7 +64,8 @@ export class CwdaRules extends ChessRules { 'n': 'i', 'b': 't', 'q': 'l', - 'k': 'k' + 'k': 'k', //TODO: e + 'p': 'p' //TODO: v }, // Remarkable Rookies 'R': { @@ -71,26 +73,31 @@ export class CwdaRules extends ChessRules { 'n': 'y', 'b': 'h', 'q': 'o', - 'k': 'k' + 'k': 'a', + 'p': 'u' } }; } static GenRandInitFen(options) { const baseFen = ChessRules.GenRandInitFen(options.randomness); - let blackLine = baseFen.substr(0, 8); + let blackLine = baseFen.substr(0, 8), blackPawns = "pppppppp"; if (options.army2 != 'F') { blackLine = blackLine.split('') .map(p => V.PiecesMap[options.army2][p]).join(''); + blackPawns = V.PiecesMap[options.army2]['p'].repeat(8); } - let whiteLine = baseFen.substr(35, 8); + let whiteLine = baseFen.substr(35, 8), whitePawns = "PPPPPPPP"; if (options.army1 != 'F') { whiteLine = whiteLine.split('') .map(p => V.PiecesMap[options.army1][p.toLowerCase()]) .join('').toUpperCase(); + whitePawns = V.PiecesMap[options.army1]['p'].toUpperCase().repeat(8); } return ( - blackLine + baseFen.substring(8, 35) + whiteLine + + blackLine + "/" + blackPawns + + baseFen.substring(17, 26) + + whitePawns + "/" + whiteLine + baseFen.substr(43) + " " + options.army1 + options.army2 ); } @@ -143,6 +150,12 @@ export class CwdaRules extends ChessRules { static get N_QUEEN() { return 'l'; } + static get N_KING() { + return 'e'; + } + static get N_PAWN() { + return 'v'; + } static get R_ROOK() { return 's'; } @@ -155,12 +168,28 @@ export class CwdaRules extends ChessRules { static get R_QUEEN() { return 'o'; } + static get R_KING() { + return 'a'; + } + static get R_PAWN() { + return 'u'; + } + + getPiece(x, y) { + const p = this.board[x][y][1]; + if (['u', 'v'].includes(p)) return 'p'; + if (['a', 'e'].includes(p)) return 'k'; + return p; + } static get PIECES() { return ChessRules.PIECES.concat( - [V.C_ROOK, V.C_KNIGHT, V.C_BISHOP, V.C_QUEEN]).concat( - [V.N_ROOK, V.N_KNIGHT, V.N_BISHOP, V.N_QUEEN]).concat( - [V.R_ROOK, V.R_KNIGHT, V.R_BISHOP, V.R_QUEEN]); + [ + V.C_ROOK, V.C_KNIGHT, V.C_BISHOP, V.C_QUEEN, + V.N_ROOK, V.N_KNIGHT, V.N_BISHOP, V.N_QUEEN, V.N_KING, V.N_PAWN, + V.R_ROOK, V.R_KNIGHT, V.R_BISHOP, V.R_QUEEN, V.R_KING, V.R_PAWN + ] + ); } getPotentialMovesFrom(sq) { diff --git a/client/src/variants/Dice.js b/client/src/variants/Dice.js index 2e987764..9c352040 100644 --- a/client/src/variants/Dice.js +++ b/client/src/variants/Dice.js @@ -3,6 +3,23 @@ import { randInt } from "@/utils/alea"; export class DiceRules extends ChessRules { + static get Options() { + return { + select: [ + { + label: "Randomness", + variable: "randomness", + defaut: 2, + options: [ + { label: "Deterministic", value: 0 }, + { label: "Symmetric random", value: 1 }, + { label: "Asymmetric random", value: 2 } + ] + } + ] + }; + } + static get CanAnalyze() { return false; }