Add Discoduel, draft Dobutsu, some code cleaning
authorBenjamin Auder <benjamin.auder@somewhere>
Wed, 3 Jan 2024 14:38:58 +0000 (15:38 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Wed, 3 Jan 2024 14:38:58 +0000 (15:38 +0100)
26 files changed:
base_rules.js
pieces/Dobutsu/LICENSE.txt [new file with mode: 0644]
pieces/Dobutsu/README.md [new file with mode: 0644]
pieces/Dobutsu/chick.svg [new file with mode: 0644]
pieces/Dobutsu/elephant.svg [new file with mode: 0644]
pieces/Dobutsu/giraffe.svg [new file with mode: 0644]
pieces/Dobutsu/hen.svg [new file with mode: 0644]
pieces/Dobutsu/lion.svg [new file with mode: 0644]
pieces/Dobutsu/rev_chick.svg [new file with mode: 0644]
pieces/Dobutsu/rev_elephant.svg [new file with mode: 0644]
pieces/Dobutsu/rev_giraffe.svg [new file with mode: 0644]
pieces/Dobutsu/rev_hen.svg [new file with mode: 0644]
pieces/Dobutsu/rev_lion.svg [new file with mode: 0644]
utils/array.js
variants.js
variants/Avalanche/class.js
variants/Chaining/class.js
variants/Clorange/class.js
variants/Convert/class.js
variants/Coregal/class.js
variants/Discoduel/class.js [new file with mode: 0644]
variants/Discoduel/rules.html [new file with mode: 0644]
variants/Discoduel/style.css [new file with mode: 0644]
variants/Dobutsu/class.js [new file with mode: 0644]
variants/Dobutsu/rules.html [new file with mode: 0644]
variants/Dobutsu/style.css [new file with mode: 0644]

index 0f89cc4..217d055 100644 (file)
@@ -338,7 +338,7 @@ export default class ChessRules {
 
   getReserveFen(o) {
     if (o.init)
-      return "000000000000";
+      return Array(2 * V.ReserveArray.length).fill('0').join("");
     return (
       ['w', 'b'].map(c => Object.values(this.reserve[c]).join("")).join("")
     );
@@ -416,14 +416,14 @@ export default class ChessRules {
   }
 
   // Some additional variables from FEN (variant dependant)
-  setOtherVariables(fenParsed, pieceArray) {
+  setOtherVariables(fenParsed) {
     // Set flags and enpassant:
     if (this.hasFlags)
       this.setFlags(fenParsed.flags);
     if (this.hasEnpassant)
       this.epSquare = this.getEpSquare(fenParsed.enpassant);
     if (this.hasReserve && !this.isDiagram)
-      this.initReserves(fenParsed.reserve, pieceArray);
+      this.initReserves(fenParsed.reserve);
     if (this.options["crazyhouse"])
       this.initIspawn(fenParsed.ispawn);
     if (this.options["teleport"]) {
@@ -441,14 +441,16 @@ export default class ChessRules {
   }
 
   // ordering as in pieces() p,r,n,b,q,k
-  initReserves(reserveStr, pieceArray) {
-    if (!pieceArray)
-      pieceArray = ['p', 'r', 'n', 'b', 'q', 'k'];
+  static get ReserveArray() {
+    return ['p', 'r', 'n', 'b', 'q', 'k'];
+  }
+
+  initReserves(reserveStr) {
     const counts = reserveStr.split("").map(c => parseInt(c, 36));
-    const L = pieceArray.length;
+    const L = V.ReserveArray.length;
     this.reserve = {
-      w: ArrayFun.toObject(pieceArray, counts.slice(0, L)),
-      b: ArrayFun.toObject(pieceArray, counts.slice(L, 2 * L))
+      w: ArrayFun.toObject(V.ReserveArray, counts.slice(0, L)),
+      b: ArrayFun.toObject(V.ReserveArray, counts.slice(L, 2 * L))
     };
   }
 
diff --git a/pieces/Dobutsu/LICENSE.txt b/pieces/Dobutsu/LICENSE.txt
new file mode 100644 (file)
index 0000000..2f244ac
--- /dev/null
@@ -0,0 +1,395 @@
+Attribution 4.0 International
+
+=======================================================================
+
+Creative Commons Corporation ("Creative Commons") is not a law firm and
+does not provide legal services or legal advice. Distribution of
+Creative Commons public licenses does not create a lawyer-client or
+other relationship. Creative Commons makes its licenses and related
+information available on an "as-is" basis. Creative Commons gives no
+warranties regarding its licenses, any material licensed under their
+terms and conditions, or any related information. Creative Commons
+disclaims all liability for damages resulting from their use to the
+fullest extent possible.
+
+Using Creative Commons Public Licenses
+
+Creative Commons public licenses provide a standard set of terms and
+conditions that creators and other rights holders may use to share
+original works of authorship and other material subject to copyright
+and certain other rights specified in the public license below. The
+following considerations are for informational purposes only, are not
+exhaustive, and do not form part of our licenses.
+
+     Considerations for licensors: Our public licenses are
+     intended for use by those authorized to give the public
+     permission to use material in ways otherwise restricted by
+     copyright and certain other rights. Our licenses are
+     irrevocable. Licensors should read and understand the terms
+     and conditions of the license they choose before applying it.
+     Licensors should also secure all rights necessary before
+     applying our licenses so that the public can reuse the
+     material as expected. Licensors should clearly mark any
+     material not subject to the license. This includes other CC-
+     licensed material, or material used under an exception or
+     limitation to copyright. More considerations for licensors:
+       wiki.creativecommons.org/Considerations_for_licensors
+
+     Considerations for the public: By using one of our public
+     licenses, a licensor grants the public permission to use the
+     licensed material under specified terms and conditions. If
+     the licensor's permission is not necessary for any reason--for
+     example, because of any applicable exception or limitation to
+     copyright--then that use is not regulated by the license. Our
+     licenses grant only permissions under copyright and certain
+     other rights that a licensor has authority to grant. Use of
+     the licensed material may still be restricted for other
+     reasons, including because others have copyright or other
+     rights in the material. A licensor may make special requests,
+     such as asking that all changes be marked or described.
+     Although not required by our licenses, you are encouraged to
+     respect those requests where reasonable. More_considerations
+     for the public:
+       wiki.creativecommons.org/Considerations_for_licensees
+
+=======================================================================
+
+Creative Commons Attribution 4.0 International Public License
+
+By exercising the Licensed Rights (defined below), You accept and agree
+to be bound by the terms and conditions of this Creative Commons
+Attribution 4.0 International Public License ("Public License"). To the
+extent this Public License may be interpreted as a contract, You are
+granted the Licensed Rights in consideration of Your acceptance of
+these terms and conditions, and the Licensor grants You such rights in
+consideration of benefits the Licensor receives from making the
+Licensed Material available under these terms and conditions.
+
+
+Section 1 -- Definitions.
+
+  a. Adapted Material means material subject to Copyright and Similar
+     Rights that is derived from or based upon the Licensed Material
+     and in which the Licensed Material is translated, altered,
+     arranged, transformed, or otherwise modified in a manner requiring
+     permission under the Copyright and Similar Rights held by the
+     Licensor. For purposes of this Public License, where the Licensed
+     Material is a musical work, performance, or sound recording,
+     Adapted Material is always produced where the Licensed Material is
+     synched in timed relation with a moving image.
+
+  b. Adapter's License means the license You apply to Your Copyright
+     and Similar Rights in Your contributions to Adapted Material in
+     accordance with the terms and conditions of this Public License.
+
+  c. Copyright and Similar Rights means copyright and/or similar rights
+     closely related to copyright including, without limitation,
+     performance, broadcast, sound recording, and Sui Generis Database
+     Rights, without regard to how the rights are labeled or
+     categorized. For purposes of this Public License, the rights
+     specified in Section 2(b)(1)-(2) are not Copyright and Similar
+     Rights.
+
+  d. Effective Technological Measures means those measures that, in the
+     absence of proper authority, may not be circumvented under laws
+     fulfilling obligations under Article 11 of the WIPO Copyright
+     Treaty adopted on December 20, 1996, and/or similar international
+     agreements.
+
+  e. Exceptions and Limitations means fair use, fair dealing, and/or
+     any other exception or limitation to Copyright and Similar Rights
+     that applies to Your use of the Licensed Material.
+
+  f. Licensed Material means the artistic or literary work, database,
+     or other material to which the Licensor applied this Public
+     License.
+
+  g. Licensed Rights means the rights granted to You subject to the
+     terms and conditions of this Public License, which are limited to
+     all Copyright and Similar Rights that apply to Your use of the
+     Licensed Material and that the Licensor has authority to license.
+
+  h. Licensor means the individual(s) or entity(ies) granting rights
+     under this Public License.
+
+  i. Share means to provide material to the public by any means or
+     process that requires permission under the Licensed Rights, such
+     as reproduction, public display, public performance, distribution,
+     dissemination, communication, or importation, and to make material
+     available to the public including in ways that members of the
+     public may access the material from a place and at a time
+     individually chosen by them.
+
+  j. Sui Generis Database Rights means rights other than copyright
+     resulting from Directive 96/9/EC of the European Parliament and of
+     the Council of 11 March 1996 on the legal protection of databases,
+     as amended and/or succeeded, as well as other essentially
+     equivalent rights anywhere in the world.
+
+  k. You means the individual or entity exercising the Licensed Rights
+     under this Public License. Your has a corresponding meaning.
+
+
+Section 2 -- Scope.
+
+  a. License grant.
+
+       1. Subject to the terms and conditions of this Public License,
+          the Licensor hereby grants You a worldwide, royalty-free,
+          non-sublicensable, non-exclusive, irrevocable license to
+          exercise the Licensed Rights in the Licensed Material to:
+
+            a. reproduce and Share the Licensed Material, in whole or
+               in part; and
+
+            b. produce, reproduce, and Share Adapted Material.
+
+       2. Exceptions and Limitations. For the avoidance of doubt, where
+          Exceptions and Limitations apply to Your use, this Public
+          License does not apply, and You do not need to comply with
+          its terms and conditions.
+
+       3. Term. The term of this Public License is specified in Section
+          6(a).
+
+       4. Media and formats; technical modifications allowed. The
+          Licensor authorizes You to exercise the Licensed Rights in
+          all media and formats whether now known or hereafter created,
+          and to make technical modifications necessary to do so. The
+          Licensor waives and/or agrees not to assert any right or
+          authority to forbid You from making technical modifications
+          necessary to exercise the Licensed Rights, including
+          technical modifications necessary to circumvent Effective
+          Technological Measures. For purposes of this Public License,
+          simply making modifications authorized by this Section 2(a)
+          (4) never produces Adapted Material.
+
+       5. Downstream recipients.
+
+            a. Offer from the Licensor -- Licensed Material. Every
+               recipient of the Licensed Material automatically
+               receives an offer from the Licensor to exercise the
+               Licensed Rights under the terms and conditions of this
+               Public License.
+
+            b. No downstream restrictions. You may not offer or impose
+               any additional or different terms or conditions on, or
+               apply any Effective Technological Measures to, the
+               Licensed Material if doing so restricts exercise of the
+               Licensed Rights by any recipient of the Licensed
+               Material.
+
+       6. No endorsement. Nothing in this Public License constitutes or
+          may be construed as permission to assert or imply that You
+          are, or that Your use of the Licensed Material is, connected
+          with, or sponsored, endorsed, or granted official status by,
+          the Licensor or others designated to receive attribution as
+          provided in Section 3(a)(1)(A)(i).
+
+  b. Other rights.
+
+       1. Moral rights, such as the right of integrity, are not
+          licensed under this Public License, nor are publicity,
+          privacy, and/or other similar personality rights; however, to
+          the extent possible, the Licensor waives and/or agrees not to
+          assert any such rights held by the Licensor to the limited
+          extent necessary to allow You to exercise the Licensed
+          Rights, but not otherwise.
+
+       2. Patent and trademark rights are not licensed under this
+          Public License.
+
+       3. To the extent possible, the Licensor waives any right to
+          collect royalties from You for the exercise of the Licensed
+          Rights, whether directly or through a collecting society
+          under any voluntary or waivable statutory or compulsory
+          licensing scheme. In all other cases the Licensor expressly
+          reserves any right to collect such royalties.
+
+
+Section 3 -- License Conditions.
+
+Your exercise of the Licensed Rights is expressly made subject to the
+following conditions.
+
+  a. Attribution.
+
+       1. If You Share the Licensed Material (including in modified
+          form), You must:
+
+            a. retain the following if it is supplied by the Licensor
+               with the Licensed Material:
+
+                 i. identification of the creator(s) of the Licensed
+                    Material and any others designated to receive
+                    attribution, in any reasonable manner requested by
+                    the Licensor (including by pseudonym if
+                    designated);
+
+                ii. a copyright notice;
+
+               iii. a notice that refers to this Public License;
+
+                iv. a notice that refers to the disclaimer of
+                    warranties;
+
+                 v. a URI or hyperlink to the Licensed Material to the
+                    extent reasonably practicable;
+
+            b. indicate if You modified the Licensed Material and
+               retain an indication of any previous modifications; and
+
+            c. indicate the Licensed Material is licensed under this
+               Public License, and include the text of, or the URI or
+               hyperlink to, this Public License.
+
+       2. You may satisfy the conditions in Section 3(a)(1) in any
+          reasonable manner based on the medium, means, and context in
+          which You Share the Licensed Material. For example, it may be
+          reasonable to satisfy the conditions by providing a URI or
+          hyperlink to a resource that includes the required
+          information.
+
+       3. If requested by the Licensor, You must remove any of the
+          information required by Section 3(a)(1)(A) to the extent
+          reasonably practicable.
+
+       4. If You Share Adapted Material You produce, the Adapter's
+          License You apply must not prevent recipients of the Adapted
+          Material from complying with this Public License.
+
+
+Section 4 -- Sui Generis Database Rights.
+
+Where the Licensed Rights include Sui Generis Database Rights that
+apply to Your use of the Licensed Material:
+
+  a. for the avoidance of doubt, Section 2(a)(1) grants You the right
+     to extract, reuse, reproduce, and Share all or a substantial
+     portion of the contents of the database;
+
+  b. if You include all or a substantial portion of the database
+     contents in a database in which You have Sui Generis Database
+     Rights, then the database in which You have Sui Generis Database
+     Rights (but not its individual contents) is Adapted Material; and
+
+  c. You must comply with the conditions in Section 3(a) if You Share
+     all or a substantial portion of the contents of the database.
+
+For the avoidance of doubt, this Section 4 supplements and does not
+replace Your obligations under this Public License where the Licensed
+Rights include other Copyright and Similar Rights.
+
+
+Section 5 -- Disclaimer of Warranties and Limitation of Liability.
+
+  a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
+     EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
+     AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
+     ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
+     IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
+     WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
+     PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
+     ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
+     KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
+     ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
+
+  b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
+     TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
+     NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
+     INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
+     COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
+     USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
+     ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
+     DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
+     IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
+
+  c. The disclaimer of warranties and limitation of liability provided
+     above shall be interpreted in a manner that, to the extent
+     possible, most closely approximates an absolute disclaimer and
+     waiver of all liability.
+
+
+Section 6 -- Term and Termination.
+
+  a. This Public License applies for the term of the Copyright and
+     Similar Rights licensed here. However, if You fail to comply with
+     this Public License, then Your rights under this Public License
+     terminate automatically.
+
+  b. Where Your right to use the Licensed Material has terminated under
+     Section 6(a), it reinstates:
+
+       1. automatically as of the date the violation is cured, provided
+          it is cured within 30 days of Your discovery of the
+          violation; or
+
+       2. upon express reinstatement by the Licensor.
+
+     For the avoidance of doubt, this Section 6(b) does not affect any
+     right the Licensor may have to seek remedies for Your violations
+     of this Public License.
+
+  c. For the avoidance of doubt, the Licensor may also offer the
+     Licensed Material under separate terms or conditions or stop
+     distributing the Licensed Material at any time; however, doing so
+     will not terminate this Public License.
+
+  d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
+     License.
+
+
+Section 7 -- Other Terms and Conditions.
+
+  a. The Licensor shall not be bound by any additional or different
+     terms or conditions communicated by You unless expressly agreed.
+
+  b. Any arrangements, understandings, or agreements regarding the
+     Licensed Material not stated herein are separate from and
+     independent of the terms and conditions of this Public License.
+
+
+Section 8 -- Interpretation.
+
+  a. For the avoidance of doubt, this Public License does not, and
+     shall not be interpreted to, reduce, limit, restrict, or impose
+     conditions on any use of the Licensed Material that could lawfully
+     be made without permission under this Public License.
+
+  b. To the extent possible, if any provision of this Public License is
+     deemed unenforceable, it shall be automatically reformed to the
+     minimum extent necessary to make it enforceable. If the provision
+     cannot be reformed, it shall be severed from this Public License
+     without affecting the enforceability of the remaining terms and
+     conditions.
+
+  c. No term or condition of this Public License will be waived and no
+     failure to comply consented to unless expressly agreed to by the
+     Licensor.
+
+  d. Nothing in this Public License constitutes or may be interpreted
+     as a limitation upon, or waiver of, any privileges and immunities
+     that apply to the Licensor or You, including from the legal
+     processes of any jurisdiction or authority.
+
+
+=======================================================================
+
+Creative Commons is not a party to its public
+licenses. Notwithstanding, Creative Commons may elect to apply one of
+its public licenses to material it publishes and in those instances
+will be considered the “Licensor.” The text of the Creative Commons
+public licenses is dedicated to the public domain under the CC0 Public
+Domain Dedication. Except for the limited purpose of indicating that
+material is shared under a Creative Commons public license or as
+otherwise permitted by the Creative Commons policies published at
+creativecommons.org/policies, Creative Commons does not authorize the
+use of the trademark "Creative Commons" or any other trademark or logo
+of Creative Commons without its prior written consent including,
+without limitation, in connection with any unauthorized modifications
+to any of its public licenses or any other arrangements,
+understandings, or agreements concerning use of licensed material. For
+the avoidance of doubt, this paragraph does not form part of the
+public licenses.
+
+Creative Commons may be contacted at creativecommons.org.
diff --git a/pieces/Dobutsu/README.md b/pieces/Dobutsu/README.md
new file mode 100644 (file)
index 0000000..73ed708
--- /dev/null
@@ -0,0 +1,13 @@
+[Couch Tomato - I presume]
+
+I recreated all of the original [Doubutsu](https://en.wikipedia.org/wiki/D%C5%8Dbutsu_sh%C5%8Dgi) pieces in Inkscape SVG format.
+
+Credits: the original Doubutsu pieces were created by [Madoka Kitato](https://en.wikipedia.org/wiki/Madoka_Kitao).
+
+(also: [screenshot of the gshogi version](https://raw.githubusercontent.com/Ka-hu/shogi-pieces/master/_screenshots/scrot_doubutsu_gshogi.png))
+
+![doubutsu screenshot](https://raw.githubusercontent.com/Ka-hu/shogi-pieces/master/_screenshots/scrot_doubutsu_xboard.png)
+
+## License
+
+Where it's not stated otherwise, my work is lincensed under [CC-BY-4.0](https://choosealicense.com/licenses/cc-by-4.0)
diff --git a/pieces/Dobutsu/chick.svg b/pieces/Dobutsu/chick.svg
new file mode 100644 (file)
index 0000000..69358c7
--- /dev/null
@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   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"
+   inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
+   sodipodi:docname="wp.svg"
+   id="svg4905"
+   version="1.1"
+   height="60"
+   width="60">
+  <metadata
+     id="metadata4911">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs4909" />
+  <sodipodi:namedview
+     inkscape:document-rotation="0"
+     inkscape:current-layer="svg4905"
+     inkscape:window-maximized="1"
+     inkscape:window-y="20"
+     inkscape:window-x="0"
+     inkscape:cy="36.115918"
+     inkscape:cx="41.902375"
+     inkscape:zoom="6.9423186"
+     showgrid="false"
+     id="namedview4907"
+     inkscape:window-height="1060"
+     inkscape:window-width="960"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0"
+     guidetolerance="10"
+     gridtolerance="10"
+     objecttolerance="10"
+     borderopacity="1"
+     bordercolor="#666666"
+     pagecolor="#ffffff" />
+  <!--
+Created by Hari Seldon and modified by orangain, licensed under Creative Commons Attribution-Share Alike 3.0 Unported.
+See: https://creativecommons.org/licenses/by-sa/3.0/deed.en
+
+Original file is available at: https://commons.wikimedia.org/wiki/File:Shogi_osho(svg).svg
+-->
+  <filter
+     id="drop-shadow">
+    <feGaussianBlur
+       id="feGaussianBlur4880"
+       stdDeviation="2"
+       result="blur"
+       in="SourceAlpha" />
+    <feOffset
+       id="feOffset4882"
+       dy="2"
+       dx="2"
+       result="offsetBlur" />
+    <feBlend
+       id="feBlend4884"
+       mode="normal"
+       in2="offsetBlur"
+       in="SourceGraphic" />
+  </filter>
+  <g
+     transform="matrix(0.34437547,0,0,0.34437547,-1.9107969,29.84957)"
+     id="g5891">
+    <g
+       transform="matrix(3.7795276,0,0,3.7795276,208.50911,-1088.428)"
+       id="layer1"
+       inkscape:label="Layer 1">
+      <g
+         transform="translate(0.39418863,0.66145971)"
+         id="g6119">
+        <g
+           id="g5971"
+           transform="matrix(0.85211113,0,0,0.85211113,-9.1404396,-13.169231)">
+          <rect
+             ry="2.487885"
+             y="332.36246"
+             x="-46.119144"
+             height="40.824493"
+             width="40.824493"
+             id="rect5497-3"
+             style="opacity:1;fill:#edf0a1;fill-opacity:1;stroke:#000000;stroke-width:0.651029;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+          <g
+             transform="translate(-0.2672693,0.13363444)"
+             id="g5958">
+            <g
+               id="g5904"
+               transform="translate(-0.73499179,1.5368003)"
+               style="stroke:#000000">
+              <g
+                 id="g5898"
+                 style="stroke:#000000" />
+            </g>
+          </g>
+        </g>
+        <circle
+           style="opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+           id="path5973-1"
+           cx="-31.264896"
+           cy="273.07776"
+           r="1.2745767" />
+      </g>
+      <g
+         transform="matrix(0.35009033,-0.05050649,0.05050649,0.35009033,-19.229149,187.55284)"
+         id="g6286">
+        <path
+           inkscape:connector-curvature="0"
+           id="path6261"
+           d="m -75.660215,305.19885 c 0,-2.48371 -0.0798,-2.56409 -1.87012,-1.88342 -2.41462,0.91804 -2.50427,0.90603 -2.50427,-0.33539 0,-0.57552 1.12506,-1.45323 2.50012,-1.95046 2.25596,-0.81576 3.29198,-2.28919 3.32245,-4.72518 0.005,-0.43776 -1.32276,-1.19522 -2.95163,-1.68324 -5.68459,-1.70315 -11.56197,-8.85642 -11.60371,-14.12269 -0.0165,-2.08889 -1.13247,-2.88354 -5.30173,-3.7754 -2.70122,-0.57782 -2.52265,-1.19262 0.91695,-3.15686 2.03265,-1.16077 2.91064,-2.15435 2.91064,-3.29382 0,-4.0488 5.92224,-9.26078 10.52278,-9.26078 5.63193,0 9.16198,3.90372 9.16198,10.1318 v 2.88799 l 3.82759,0.77982 c 4.43634,0.90384 15.964605,2.9357 16.76851,2.95545 2.09006,0.0514 -1.121794,6.10417 -5.931245,11.17759 -3.706562,3.90999 -6.560135,5.50339 -11.486195,6.41376 -2.34974,0.43425 -4.51329,1.16796 -4.80789,1.63046 -1.1685,1.83447 -0.49993,4.06374 1.6854,5.61984 1.60256,1.14112 2.01907,1.82171 1.45813,2.38265 -0.56094,0.56094 -1.03514,0.53533 -1.66011,-0.0896 -1.35319,-1.35319 -2.64506,-1.03783 -2.90201,0.70841 -0.40945,2.78264 -2.05564,2.45359 -2.05564,-0.41089 z m 12.81142,-13.42174 c 3.779908,-1.94721 10.518678,-9.37439 10.518678,-11.59322 0,-0.60586 -16.293918,-3.90531 -19.137968,-3.87535 -1.06346,0.0112 -1.27586,-0.66016 -1.27586,-4.03263 0,-4.30418 -1.37381,-7.87991 -3.31346,-8.62423 -3.26899,-1.25443 -6.32779,-0.46103 -9.16642,2.37761 -1.55677,1.55677 -2.83049,3.481 -2.83049,4.27607 0,0.79507 -0.65268,2.27533 -1.4504,3.28947 l -1.45041,1.84389 1.783,0.4475 c 1.3768,0.34555 1.88174,1.06902 2.21638,3.17562 1.02892,6.4771 5.05524,11.66104 10.74063,13.82872 3.2351,1.23345 9.88605,0.67941 13.36632,-1.11345 z m -21.49557,-20.11619 c -1.06128,-1.27877 0.10307,-4.08773 1.69442,-4.08773 1.69444,0 2.9949,2.15128 2.13039,3.52417 -1.02722,1.63128 -2.73041,1.88224 -3.82481,0.56356 z"
+           style="opacity:1;fill:#000000;stroke-width:0.729065" />
+        <path
+           style="opacity:1;fill:#fede00;fill-opacity:1;stroke:none;stroke-width:0.0992535;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+           d="m -72.758456,293.6586 c -1.882216,-0.11998 -2.936236,-0.3775 -4.486955,-1.09624 -1.915997,-0.88803 -3.377483,-1.92599 -4.910434,-3.4874 -1.364201,-1.38958 -2.197702,-2.54467 -3.080824,-4.26959 -0.885609,-1.72981 -1.346113,-3.08689 -1.81202,-5.33995 -0.588442,-2.84554 -0.880885,-3.20656 -3.001908,-3.70565 -0.506169,-0.11911 -1.43245,-0.2452 -1.472363,-0.28019 -0.03995,-0.0349 0.800051,-0.55434 1.280511,-1.1541 1.096659,-1.36903 1.782525,-2.67779 1.979012,-3.77641 0.07611,-0.42501 0.245588,-0.98016 0.376832,-1.23368 0.44715,-0.86372 1.46694,-2.16712 2.485991,-3.17737 2.489186,-2.46767 5.059796,-3.41614 7.849016,-2.89602 1.608531,0.29995 2.318878,0.69675 3.049811,1.70367 0.571542,0.78732 1.060961,1.91892 1.361115,3.14695 0.352172,1.44093 0.433935,2.16945 0.529032,4.71386 0.04794,1.2832 0.138116,2.51597 0.200362,2.73947 0.166333,0.59726 0.552874,0.87923 1.20528,0.87923 2.473345,0 16.297805,2.64486 19.009187,3.63679 0.587231,0.21484 0.602082,0.27123 0.276396,1.04969 -1.083116,2.58884 -5.958295,7.83649 -9.434093,10.15484 -2.530966,1.68816 -7.172599,2.66179 -11.403948,2.3921 z m -9.351663,-21.1933 c 0.585216,-0.17084 1.391569,-0.88338 1.677789,-1.48258 0.349336,-0.73133 0.138006,-1.84008 -0.487701,-2.55865 -0.635926,-0.73033 -1.83698,-1.0713 -2.530947,-0.71852 -0.390337,0.19841 -0.964046,0.85791 -1.192525,1.37082 -0.248964,0.5589 -0.33732,1.58266 -0.177639,2.05828 0.210201,0.62608 0.820486,1.1739 1.551159,1.39239 0.377572,0.1129 0.602665,0.10091 1.159864,-0.0618 z"
+           id="path6272"
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="sscsssscccssccccsccsssscccscs" />
+        <path
+           style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.107755;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+           d="m -80.257078,270.14973 c 1.63e-4,1.36347 -0.943221,2.16412 -2.362351,2.44503 -0.924307,0.18296 -2.337613,-0.68871 -2.315104,-2.27966 9.35e-4,-1.36481 1.186961,-2.92759 2.244233,-2.75215 1.338711,0.22215 2.563523,1.22335 2.433222,2.58678 z"
+           id="path6280"
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="cscsc" />
+      </g>
+    </g>
+  </g>
+</svg>
diff --git a/pieces/Dobutsu/elephant.svg b/pieces/Dobutsu/elephant.svg
new file mode 100644 (file)
index 0000000..c7eb6dc
--- /dev/null
@@ -0,0 +1,176 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   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"
+   inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
+   sodipodi:docname="we.svg"
+   id="svg4905"
+   version="1.1"
+   height="60"
+   width="60">
+  <metadata
+     id="metadata4911">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs4909" />
+  <sodipodi:namedview
+     inkscape:document-rotation="0"
+     inkscape:current-layer="svg4905"
+     inkscape:window-maximized="0"
+     inkscape:window-y="20"
+     inkscape:window-x="0"
+     inkscape:cy="29.422532"
+     inkscape:cx="43.514924"
+     inkscape:zoom="2.3306093"
+     showgrid="false"
+     id="namedview4907"
+     inkscape:window-height="1060"
+     inkscape:window-width="1920"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0"
+     guidetolerance="10"
+     gridtolerance="10"
+     objecttolerance="10"
+     borderopacity="1"
+     bordercolor="#666666"
+     pagecolor="#ffffff" />
+  <!--
+Created by Hari Seldon and modified by orangain, licensed under Creative Commons Attribution-Share Alike 3.0 Unported.
+See: https://creativecommons.org/licenses/by-sa/3.0/deed.en
+
+Original file is available at: https://commons.wikimedia.org/wiki/File:Shogi_osho(svg).svg
+-->
+  <filter
+     id="drop-shadow">
+    <feGaussianBlur
+       id="feGaussianBlur4880"
+       stdDeviation="2"
+       result="blur"
+       in="SourceAlpha" />
+    <feOffset
+       id="feOffset4882"
+       dy="2"
+       dx="2"
+       result="offsetBlur" />
+    <feBlend
+       id="feBlend4884"
+       mode="normal"
+       in2="offsetBlur"
+       in="SourceGraphic" />
+  </filter>
+  <g
+     inkscape:label="Layer 1"
+     id="layer1"
+     transform="matrix(1.3015765,0,0,1.3015765,69.894622,-344.97829)"
+     style="display:inline">
+    <rect
+       style="opacity:1;fill:#d7b5d6;fill-opacity:1;stroke:#000000;stroke-width:0.554749;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="rect5497-7"
+       width="34.787006"
+       height="34.787006"
+       x="-48.044888"
+       y="270.70197"
+       ry="2.1199546" />
+    <path
+       sodipodi:type="star"
+       style="display:inline;opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.25;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="path10754-6"
+       sodipodi:sides="3"
+       sodipodi:cx="-28.324093"
+       sodipodi:cy="268.94327"
+       sodipodi:r1="1.5686662"
+       sodipodi:r2="0.78433317"
+       sodipodi:arg1="2.0943951"
+       sodipodi:arg2="3.1415927"
+       inkscape:flatsided="true"
+       inkscape:rounded="0"
+       inkscape:randomized="0"
+       d="m -29.108426,270.30177 0,-2.71701 2.352999,1.35851 z"
+       inkscape:transform-center-x="0.17839615"
+       inkscape:transform-center-y="0.22740032"
+       transform="rotate(-43.147535,-16.240471,257.24518)" />
+    <g
+       id="g11547"
+       transform="matrix(0.78674347,0,0,0.78674347,32.599138,66.939052)">
+      <path
+         inkscape:connector-curvature="0"
+         id="path11355"
+         d="m -94.896099,289.4836 c -0.832835,-2.74859 -1.581643,-5.86315 -1.664014,-6.92125 -0.467012,-5.99924 4.023942,-12.41806 9.893478,-14.14054 7.15559,-2.09988 15.648661,0.46744 20.120448,6.08209 2.889226,3.62763 3.109811,8.68772 0.680167,15.60262 l -1.188679,3.38305 -1.845166,-0.31004 c -1.221219,-0.20521 -1.926269,-0.49853 -2.085001,-0.86749 -0.179337,-0.41686 -0.280337,-0.31153 -0.400409,0.41755 -0.19722,1.19774 -1.560314,1.61598 -4.791295,1.47017 -2.10144,-0.0949 -2.185115,-0.13072 -2.221905,-0.95248 -0.128739,-2.87575 -0.112166,-2.83031 -1.089881,-2.98827 -0.523142,-0.0842 -2.377098,-0.10864 -4.12,-0.0536 l -3.168914,0.10008 0.02709,1.27786 c 0.0149,0.70281 0.05363,1.62118 0.08607,2.0408 0.05432,0.70267 -0.19501,0.76884 -3.15584,0.83752 -1.768141,0.041 -3.292906,0.0622 -3.388356,0.047 -0.0954,-0.0152 -0.854944,-2.27645 -1.68779,-5.02505 z m 6.999492,1.84208 c 0.188116,-1.89539 0.240411,-1.98878 1.158991,-2.06995 2.213783,-0.19565 8.285389,-0.13053 8.80068,0.0944 0.382707,0.16704 0.545927,0.79617 0.520421,2.00592 l -0.03716,1.76255 1.657803,0.0199 c 3.33991,0.0401 3.125836,0.31765 3.760825,-4.87578 0.480579,-3.93053 0.635801,-4.57323 1.087192,-4.50142 0.753394,0.11985 0.989944,1.72234 0.69791,4.72798 -0.271477,2.79408 0.07535,3.61094 1.638749,3.85965 0.5682,0.0904 0.86954,-0.1254 1.122462,-0.80378 2.909844,-7.80472 2.958863,-13.06686 0.15323,-16.44895 -4.716874,-5.68602 -14.351731,-8.01527 -20.692941,-5.00258 -2.493104,1.18447 -4.712951,3.36971 -6.035189,5.94111 -1.960575,3.8128 -1.917938,6.53884 0.205994,13.17068 l 1.347994,4.20902 2.208014,-0.0519 2.20802,-0.0519 z m 4.058543,-9.04758 c -0.534212,-0.34694 -1.2957,-1.11772 -1.692197,-1.71284 -0.632674,-0.94961 -0.671074,-1.39528 -0.31376,-3.6414 0.435869,-2.73994 1.052415,-3.6787 3.133991,-4.77185 2.097335,-1.10142 6.211459,-0.0959 7.525233,1.83922 0.827018,1.21816 0.257296,1.9713 -0.62848,0.83082 -0.844153,-1.08689 -2.192374,-1.82945 -3.763758,-2.07298 -1.699947,-0.26334 -2.930766,0.16919 -4.126097,1.45036 -1.205636,1.29221 -1.780878,4.15358 -1.111364,5.52815 0.984525,2.02129 4.340136,3.04014 7.703987,2.33911 2.31126,-0.48166 2.135829,-0.49043 2.041585,0.102 -0.04197,0.26384 -0.903023,0.68947 -1.913452,0.94586 -2.119116,0.53771 -5.346033,0.14401 -6.855688,-0.83645 z m 11.554976,-4.06154 c -0.320041,-0.92338 0.121111,-1.70146 1.043501,-1.84046 1.367284,-0.20606 2.055279,1.59204 0.923372,2.41324 -0.726824,0.52732 -1.681992,0.24916 -1.966873,-0.57278 z"
+         style="fill:#000000;stroke-width:0.352778" />
+    </g>
+    <path
+       sodipodi:type="star"
+       style="display:inline;opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.25;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="path10754-6-0"
+       sodipodi:sides="3"
+       sodipodi:cx="-28.324093"
+       sodipodi:cy="268.94327"
+       sodipodi:r1="1.5686662"
+       sodipodi:r2="0.78433317"
+       sodipodi:arg1="2.0943951"
+       sodipodi:arg2="3.1415927"
+       inkscape:flatsided="true"
+       inkscape:rounded="0"
+       inkscape:randomized="0"
+       d="m -29.108426,270.30177 0,-2.71701 2.352999,1.35851 z"
+       inkscape:transform-center-x="-0.17839695"
+       inkscape:transform-center-y="0.22739943"
+       transform="matrix(-0.72959515,-0.68387931,-0.68387931,0.72959515,118.7706,58.453823)" />
+    <path
+       sodipodi:type="star"
+       style="display:inline;opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.25;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="path10754-6-0-6"
+       sodipodi:sides="3"
+       sodipodi:cx="-28.324093"
+       sodipodi:cy="268.94327"
+       sodipodi:r1="1.5686662"
+       sodipodi:r2="0.78433317"
+       sodipodi:arg1="2.0943951"
+       sodipodi:arg2="3.1415927"
+       inkscape:flatsided="true"
+       inkscape:rounded="0"
+       inkscape:randomized="0"
+       d="m -29.108426,270.30177 0,-2.71701 2.352999,1.35851 z"
+       inkscape:transform-center-x="-0.17839359"
+       inkscape:transform-center-y="-0.22740736"
+       transform="rotate(136.85247,-43.022022,282.2147)" />
+    <path
+       sodipodi:type="star"
+       style="display:inline;opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.25;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="path10754-6-3"
+       sodipodi:sides="3"
+       sodipodi:cx="-28.324093"
+       sodipodi:cy="268.94327"
+       sodipodi:r1="1.5686662"
+       sodipodi:r2="0.78433317"
+       sodipodi:arg1="2.0943951"
+       sodipodi:arg2="3.1415927"
+       inkscape:flatsided="true"
+       inkscape:rounded="0"
+       inkscape:randomized="0"
+       d="m -29.108426,270.30177 0,-2.71701 2.352999,1.35851 z"
+       inkscape:transform-center-x="0.17839801"
+       inkscape:transform-center-y="-0.22739811"
+       transform="matrix(0.72959515,0.68387931,0.68387931,-0.72959515,-180.21624,517.53904)" />
+    <path
+       style="opacity:1;fill:#ececec;fill-opacity:1;stroke:none;stroke-width:0.119309;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       d="m 74.139644,41.577099 c -7.87925,0.0344 -15.910281,1.840605 -22.559814,6.199482 -6.309211,4.167165 -11.500302,10.062477 -14.697207,16.9265 -2.213273,4.568929 -3.674258,9.602623 -3.477825,14.717746 -0.07625,5.230598 1.176924,10.349521 2.482485,15.376736 1.790146,6.470337 3.99909,12.815717 5.997555,19.223117 0.164345,0.47836 0.222918,1.27816 0.931692,1.0867 4.214874,-0.0791 8.437214,-0.13905 12.645897,-0.34626 0.379412,-0.52598 0.19193,-1.32307 0.356599,-1.94493 0.373122,-2.83963 0.437493,-5.74822 1.090315,-8.53244 0.175564,-0.89763 1.04368,-1.34847 1.888439,-1.39378 4.151815,-0.47235 8.389359,-0.34111 12.584414,-0.42264 4.561604,0.033 9.14162,-0.0526 13.675284,0.47728 1.274717,0.10982 1.760504,1.62543 1.86344,2.7231 0.174097,2.83818 -0.02633,5.73095 0.127167,8.55924 1.157999,0.20468 2.467207,0.0243 3.681637,0.0845 2.660029,-0.0672 5.346743,0.15349 7.988739,-0.22064 1.564689,-0.27059 2.585689,-1.67616 2.947099,-3.13749 0.94131,-3.49225 1.14155,-7.13177 1.6611,-10.70037 0.57517,-4.113742 0.90181,-8.276925 1.89945,-12.311257 0.19403,-0.568009 0.45502,-1.535725 1.2066,-1.489997 1.3768,0.342131 1.69685,1.93116 1.98035,3.10543 0.51257,3.057311 0.2501,6.192576 0.10488,9.273317 -0.17813,3.215647 -0.79431,6.554127 0.13903,9.711677 0.46431,1.72784 2.05791,2.86873 3.74837,3.22011 1.26528,0.37979 2.95038,0.4484 3.7454,-0.82543 1.06382,-1.83482 1.58733,-3.93086 2.33274,-5.90606 2.97462,-8.920196 5.37535,-18.255223 4.94735,-27.732617 -0.26758,-6.116481 -2.20529,-12.28491 -6.21025,-16.998922 C 110.48227,52.280052 101.01466,46.886586 91.034372,43.980465 85.555277,42.383517 79.852082,41.511598 74.139644,41.577099 Z m 3.95084,9.000124 c 4.704084,0.128216 9.515821,1.45646 13.302645,4.33754 1.629986,1.331346 3.221186,3.08382 3.490155,5.251757 0.119765,0.634319 -0.532616,1.383296 -1.155657,0.88561 -1.587129,-1.11051 -2.576883,-2.876888 -4.173842,-3.991079 -3.464629,-2.712391 -7.965229,-4.04112 -12.345211,-3.83563 -5.020062,0.273894 -9.368527,3.986053 -11.243999,8.524559 -1.447065,3.507684 -2.18364,7.46856 -1.36663,11.221506 0.825487,3.156378 3.58606,5.377708 6.380729,6.795161 4.668377,2.271569 10.057335,2.587368 15.140881,1.957959 2.582029,-0.345524 5.111886,-1.067583 7.686496,-1.366872 0.457329,0.0249 0.440173,0.409267 0.328497,0.724073 -0.0909,0.92294 -1.169542,1.300315 -1.849152,1.731022 -2.933947,1.441111 -6.220674,2.085822 -9.506865,1.993296 -2.265629,0.06433 -4.539422,0.04373 -6.766801,-0.428497 -3.633383,-0.624177 -7.402018,-1.761493 -10.016357,-4.511249 -1.666534,-1.717506 -3.356136,-3.580704 -4.079167,-5.911375 -0.56297,-2.800071 0.125487,-5.662817 0.516667,-8.462987 0.628315,-3.647725 1.444049,-7.593098 4.247771,-10.215463 2.092951,-1.902154 4.583972,-3.449702 7.304545,-4.260639 1.342727,-0.32288 2.722961,-0.437975 4.105295,-0.438692 z m 28.106706,13.924125 c 2.09728,-0.198003 3.79837,1.910793 3.63936,3.912861 0.005,2.012253 -1.92467,3.776325 -3.91755,3.668215 -2.0441,0.09828 -3.62553,-1.911925 -3.49163,-3.86699 -0.23314,-1.524587 0.85037,-3.002766 2.28789,-3.497801 0.46352,-0.214569 0.98179,-0.216482 1.48193,-0.216285 z"
+       id="path12210"
+       inkscape:connector-curvature="0"
+       transform="matrix(0.26458333,0,0,0.26458333,-51.389145,267.35772)" />
+  </g>
+</svg>
diff --git a/pieces/Dobutsu/giraffe.svg b/pieces/Dobutsu/giraffe.svg
new file mode 100644 (file)
index 0000000..14a55a9
--- /dev/null
@@ -0,0 +1,186 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   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"
+   width="60"
+   height="60"
+   version="1.1"
+   id="svg4905"
+   sodipodi:docname="wg.svg"
+   inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)">
+  <metadata
+     id="metadata4911">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs4909" />
+  <sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="960"
+     inkscape:window-height="1060"
+     id="namedview4907"
+     showgrid="false"
+     inkscape:zoom="6.1989695"
+     inkscape:cx="10.721179"
+     inkscape:cy="23.933131"
+     inkscape:window-x="0"
+     inkscape:window-y="20"
+     inkscape:window-maximized="0"
+     inkscape:current-layer="svg4905"
+     inkscape:document-rotation="0" />
+  <!--
+Created by Hari Seldon and modified by orangain, licensed under Creative Commons Attribution-Share Alike 3.0 Unported.
+See: https://creativecommons.org/licenses/by-sa/3.0/deed.en
+
+Original file is available at: https://commons.wikimedia.org/wiki/File:Shogi_osho(svg).svg
+-->
+  <filter
+     id="drop-shadow">
+    <feGaussianBlur
+       in="SourceAlpha"
+       result="blur"
+       stdDeviation="2"
+       id="feGaussianBlur4880" />
+    <feOffset
+       result="offsetBlur"
+       dx="2"
+       dy="2"
+       id="feOffset4882" />
+    <feBlend
+       in="SourceGraphic"
+       in2="offsetBlur"
+       mode="normal"
+       id="feBlend4884" />
+  </filter>
+  <g
+     id="g6562"
+     transform="matrix(0.95833332,0,0,0.95833332,5.0076046,1.2500008)">
+    <g
+       transform="matrix(1.0779714,0,0,1.0779714,-2.6340321,-1.1975641)"
+       id="g5697">
+      <rect
+         style="display:inline;opacity:1;fill:#d7b5d6;fill-opacity:1;stroke:#000000;stroke-width:0.698944;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+         id="rect5497"
+         width="43.82914"
+         height="43.82914"
+         x="4.7211394"
+         y="7.0264244"
+         ry="2.6709912" />
+      <path
+         sodipodi:type="star"
+         style="display:inline;opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.314982;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+         id="path10754"
+         sodipodi:sides="3"
+         sodipodi:cx="43.863743"
+         sodipodi:cy="28.832012"
+         sodipodi:r1="1.9764072"
+         sodipodi:r2="0.9882037"
+         sodipodi:arg1="2.0943951"
+         sodipodi:arg2="3.1415927"
+         inkscape:flatsided="true"
+         inkscape:rounded="0"
+         inkscape:randomized="0"
+         d="m 42.875539,30.543631 0,-3.423238 2.964611,1.711619 z"
+         inkscape:transform-center-x="-0.13073194"
+         inkscape:transform-center-y="6.3154318e-06" />
+      <path
+         sodipodi:type="star"
+         style="display:inline;opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.314982;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+         id="path10754-3"
+         sodipodi:sides="3"
+         sodipodi:cx="-8.4619169"
+         sodipodi:cy="28.832012"
+         sodipodi:r1="1.9764072"
+         sodipodi:r2="0.9882037"
+         sodipodi:arg1="2.0943951"
+         sodipodi:arg2="3.1415927"
+         inkscape:flatsided="true"
+         inkscape:rounded="0"
+         inkscape:randomized="0"
+         d="m -9.4501205,30.543631 0,-3.423238 2.9646107,1.711619 z"
+         inkscape:transform-center-x="0.13073078"
+         inkscape:transform-center-y="6.3154318e-06"
+         transform="scale(-1,1)" />
+      <path
+         sodipodi:type="star"
+         style="display:inline;opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.25;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+         id="path10754-6"
+         sodipodi:sides="3"
+         sodipodi:cx="-28.324093"
+         sodipodi:cy="268.94327"
+         sodipodi:r1="1.5686662"
+         sodipodi:r2="0.78433317"
+         sodipodi:arg1="2.0943951"
+         sodipodi:arg2="3.1415927"
+         inkscape:flatsided="true"
+         inkscape:rounded="0"
+         inkscape:randomized="0"
+         d="m -29.108426,270.30177 0,-2.71701 2.352999,1.35851 z"
+         inkscape:transform-center-x="-2.0711132e-05"
+         inkscape:transform-center-y="-0.13072954"
+         transform="matrix(0,-1.2599285,1.2599285,0,-312.62562,-24.814417)" />
+      <path
+         sodipodi:type="star"
+         style="display:inline;opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.25;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+         id="path10754-1"
+         sodipodi:sides="3"
+         sodipodi:cx="-31.130423"
+         sodipodi:cy="307.49689"
+         sodipodi:r1="1.5686662"
+         sodipodi:r2="0.78433317"
+         sodipodi:arg1="2.0943951"
+         sodipodi:arg2="3.1415927"
+         inkscape:flatsided="true"
+         inkscape:rounded="0"
+         inkscape:randomized="0"
+         d="m -31.914756,308.85539 0,-2.71701 2.353,1.35851 z"
+         inkscape:transform-center-x="1.5695237e-05"
+         inkscape:transform-center-y="0.13072936"
+         transform="matrix(0,1.2599285,-1.2599285,0,413.64771,86.363342)" />
+      <g
+         style="display:inline"
+         id="g2811"
+         transform="matrix(0.18596187,0,0,0.18596187,76.914042,-20.843006)">
+        <path
+           inkscape:connector-curvature="0"
+           id="path2787"
+           d="m -312.65013,373.40136 c -1.85093,-0.1579 -2.91447,-0.42442 -3.32156,-0.83239 -0.50864,-0.50975 -0.66598,-2.02398 -1.04469,-10.05417 -1.58267,-33.55938 -3.31088,-95.28498 -3.31521,-118.40819 -0.002,-12.81813 0.0951,-15.58274 0.74052,-20.99028 0.81944,-6.86597 0.82798,-15.76085 0.0166,-17.2521 -0.63664,-1.17003 -1.87618,-0.99627 -4.57154,0.64086 -3.90181,2.36992 -8.00372,4.22203 -9.82126,4.43454 -2.15904,0.25243 -3.50338,-0.65506 -3.87067,-2.61286 -0.9049,-4.82351 3.38328,-21.29494 7.14443,-27.44269 0.70513,-1.15255 1.80887,-2.96867 2.45276,-4.03582 1.63352,-2.70733 2.74987,-7.77018 2.47391,-11.21963 -0.19215,-2.40177 -0.14758,-2.63512 0.65688,-3.43958 1.09977,-1.09977 1.97452,-1.08757 4.07727,0.0569 1.59784,0.86965 1.74981,1.08361 2.78177,3.91643 0.60038,1.64809 1.0916,3.31836 1.0916,3.71171 0,0.68408 0.14191,0.70479 3.26319,0.47609 4.50202,-0.32987 5.55625,-0.54682 5.55625,-1.14341 0,-1.43638 4.16187,-7.05525 5.46873,-7.38325 2.08607,-0.52357 3.72085,2.1852 3.98227,6.59846 l 0.15912,2.68622 4.91114,0.17662 c 4.51602,0.16241 4.9809,0.24216 5.77827,0.99125 0.49302,0.46317 0.8638,1.20665 0.85939,1.72328 -0.02,2.33989 -3.02181,6.55139 -6.05387,8.49336 l -1.92782,1.23472 -0.0213,4.05695 c -0.0154,2.92974 -0.34062,5.87027 -1.17049,10.58333 -1.13393,6.43989 -1.14843,6.66199 -1.09446,16.75695 0.0668,12.49427 0.86399,33.04778 2.03752,52.53156 l 0.23178,3.84822 12.91084,-0.32044 c 16.92717,-0.42014 27.99848,-0.35267 32.13723,0.19583 10.71002,1.41938 17.71182,5.09252 21.86824,11.47205 0.82389,1.26454 1.57955,2.29917 1.67925,2.29917 0.0997,0 1.46272,-0.67469 3.02891,-1.49931 3.76743,-1.98359 7.13819,-5.21592 7.46828,-7.16156 0.50888,-2.99948 1.02895,-3.68635 2.79113,-3.68635 1.52437,0 2.32253,0.92752 2.32253,2.69896 0,4.67767 -3.81137,9.15295 -10.85336,12.74395 -3.23267,1.64847 -3.26567,1.67845 -2.99861,2.72514 0.36046,1.41281 0.17194,16.72296 -0.26064,21.16667 -0.18888,1.94028 -0.51211,6.22653 -0.71828,9.525 -0.94344,15.09368 -2.75484,36.44507 -3.73908,44.07347 -0.92172,7.14377 -1.37218,7.42945 -12.36259,7.84003 -6.80759,0.25431 -7.88037,0.0429 -8.60018,-1.69487 -0.5464,-1.31914 -0.24558,-15.84814 0.51981,-25.1057 0.28577,-3.45636 0.63065,-8.95472 0.76641,-12.21857 l 0.24684,-5.93427 -2.07864,-0.2311 c -5.6162,-0.6244 -13.66945,-0.95825 -27.68744,-1.1478 l -15.37826,-0.20794 -0.23619,2.78143 c -0.12991,1.52979 -0.13736,6.43268 -0.0165,10.89532 0.25003,9.23665 -0.36761,30.19407 -0.92029,31.22675 -0.20118,0.37591 -0.66492,0.84357 -1.03054,1.03924 -0.81597,0.43669 -12.58976,0.74084 -16.32929,0.42183 z m 74.48702,-4.98909 c 1.63495,-0.18796 3.08352,-0.52117 3.21906,-0.74047 0.57509,-0.93053 2.70657,-24.25893 3.84912,-42.12771 0.21091,-3.29847 0.4466,-6.49853 0.52374,-7.11125 0.13832,-1.09859 0.1248,-1.10959 -0.97648,-0.79375 -2.14933,0.61642 -5.57393,0.37673 -7.4714,-0.52294 -2.08205,-0.98718 -4.15786,-3.04462 -4.92166,-4.87809 -0.74078,-1.7782 -0.68618,-5.04937 0.11368,-6.81013 1.50854,-3.32083 5.22075,-5.56732 9.18634,-5.55925 1.2793,0.002 2.89697,0.24646 3.59781,0.54235 l 1.27339,0.53762 0.19928,-3.34015 c 0.1096,-1.83709 0.10836,-3.90038 -0.003,-4.5851 -0.22793,-1.40454 0.0427,-1.38716 -4.85998,-0.31218 -5.13257,1.12538 -7.70231,0.50609 -7.70231,-1.85621 0,-1.75748 0.87077,-2.40774 3.582,-2.67489 2.46925,-0.24332 6.30242,-1.03665 6.64002,-1.37426 0.34074,-0.34074 -1.92227,-3.3053 -3.66154,-4.79665 -3.35344,-2.87545 -8.62518,-4.8202 -15.26234,-5.63028 -4.66409,-0.56926 -14.81667,-0.90787 -14.81667,-0.49415 0,0.19418 0.61545,0.76034 1.36767,1.25813 1.62689,1.07663 2.66143,2.64494 3.22589,4.89027 1.26309,5.02435 -3.50701,9.89903 -9.68667,9.89903 -5.5211,0 -9.70806,-3.6093 -9.70806,-8.36867 0,-2.33696 0.94374,-4.3049 2.88257,-6.01088 l 1.58819,-1.39746 -10.9581,0.1074 -10.95811,0.1074 -1.25099,1.34381 c -1.60924,1.72863 -3.16654,2.51035 -5.47578,2.74869 -2.50441,0.25848 -5.17435,-0.65365 -6.8665,-2.34579 -5.40418,-5.40426 1.21785,-13.63501 8.88704,-11.04591 l 2.02792,0.68462 v -1.53043 c 0,-0.84173 -0.31928,-7.68303 -0.70951,-15.20288 -0.39024,-7.51985 -0.83405,-18.38929 -0.98626,-24.15432 -0.1522,-5.76502 -0.36378,-10.5689 -0.47017,-10.67529 -0.10639,-0.10639 -0.87316,0.0464 -1.70394,0.33949 -0.83077,0.29312 -1.94682,0.53294 -2.48012,0.53294 -1.65051,0 -3.99757,-1.03063 -5.3475,-2.34818 l -1.29055,-1.25959 -0.23147,2.42124 c -0.12731,1.33169 -0.53875,5.13792 -0.91431,8.45828 -0.37556,3.32037 -0.68283,7.48363 -0.68283,9.25169 v 3.21465 l 0.95421,-0.36279 c 0.52482,-0.19954 1.88592,-0.36725 3.02467,-0.3727 5.10003,-0.0244 8.71073,3.81592 7.85857,8.35832 -0.34758,1.8528 -3.0343,4.45718 -5.23321,5.07283 -1.64004,0.45919 -4.63074,0.37047 -6.02734,-0.1788 -0.63663,-0.25038 -0.65011,0.10935 -0.41859,11.17164 0.13157,6.28669 0.38594,16.58973 0.56526,22.89563 0.17932,6.3059 0.328,12.80264 0.3304,14.43719 l 0.004,2.97191 0.79814,-0.74982 c 2.28294,-2.1447 7.14035,-2.9437 10.43442,-1.71637 6.28856,2.34305 8.14263,10.01828 3.54031,14.65571 -3.34439,3.36989 -9.47925,3.85764 -13.40059,1.0654 l -1.05055,-0.74806 0.17135,0.82882 c 0.0942,0.45586 0.26803,4.71821 0.38617,9.47189 0.19469,7.83315 0.84736,25.44802 1.46071,39.42291 l 0.23612,5.37987 h 5.9439 c 3.26915,0 5.97148,-0.0397 6.00518,-0.0882 0.0337,-0.0485 0.15276,-10.04552 0.26458,-22.21558 l 0.20332,-22.1274 0.7933,-0.79292 c 0.71479,-0.71444 1.27342,-0.8184 5.64444,-1.05048 2.66813,-0.14166 6.97,-0.16207 9.5597,-0.0453 l 4.70856,0.21221 -0.79977,-1.55239 c -1.80318,-3.50009 -0.54368,-8.34406 2.783,-10.70321 2.10677,-1.49403 3.39564,-1.90369 6.08751,-1.93485 3.22516,-0.0373 5.41203,0.79084 7.43798,2.81679 2.78918,2.78918 3.43986,6.63757 1.69944,10.05128 -0.37699,0.73946 -0.62213,1.40777 -0.54476,1.48514 0.0774,0.0774 2.33716,0.28129 5.02175,0.45315 10.079,0.64523 11.01501,0.85269 12.15278,2.69365 0.75551,1.22243 0.76929,1.44293 0.54436,8.70881 -0.12692,4.10004 -0.46859,10.23275 -0.75926,13.62823 -0.29068,3.39549 -0.63349,9.46768 -0.76182,13.49375 l -0.23333,7.32014 2.43723,-0.003 c 1.34047,-10e-4 3.77491,-0.15646 5.40985,-0.34442 z m -73.55005,-165.34849 c 2.34246,-1.93086 4.72369,-2.29617 7.66997,-1.17667 1.00916,0.38345 1.85967,0.66126 1.89001,0.61736 0.3683,-0.53286 1.93095,-12.09821 1.92933,-14.27913 l -0.002,-2.91041 h -1.23472 c -1.59788,0 -2.64583,-1.0263 -2.64583,-2.59116 0,-1.5785 0.8489,-2.26776 3.3661,-2.73309 2.43486,-0.45011 4.93076,-1.64312 6.13219,-2.93111 l 0.85525,-0.91687 h -1.92489 c -1.05869,0 -2.79293,0.24412 -3.85386,0.54248 -3.61979,1.018 -4.73548,1.04531 -5.58201,0.13668 -0.41617,-0.44671 -0.75667,-1.10805 -0.75667,-1.46964 0,-0.60884 -0.22816,-0.64042 -3.08681,-0.42728 -1.69774,0.12658 -4.7444,0.43687 -6.77036,0.68953 -3.82982,0.47762 -5.14983,0.30371 -5.54681,-0.7308 -0.14619,-0.38096 -0.64837,0.35484 -1.54706,2.26675 -0.73183,1.55695 -1.79988,3.51496 -2.37344,4.35113 -1.71104,2.49448 -3.13907,5.59931 -4.61479,10.03354 -1.4857,4.46423 -2.87185,10.56427 -2.87185,12.63817 v 1.26016 l 2.02848,-1.02918 c 1.11566,-0.56604 3.13972,-1.68277 4.49791,-2.48161 3.2437,-1.90784 4.57335,-2.25259 6.8252,-1.76966 2.15283,0.46171 4.0366,2.32358 4.64794,4.59393 l 0.39861,1.4803 0.63699,-1.04746 c 0.35035,-0.5761 1.22033,-1.52828 1.93329,-2.11596 z m -10.95718,-15.78632 c -1.46782,-0.63883 -2.25012,-1.83328 -2.25012,-3.43554 0,-2.63394 1.42463,-4.20124 3.8492,-4.23471 0.7349,-0.0101 1.68609,0.16883 2.11375,0.39771 1.00784,0.53938 2.1483,2.4219 2.1483,3.54612 0,1.88554 -2.32007,4.25878 -4.12499,4.21952 -0.34918,-0.008 -1.13045,-0.22949 -1.73614,-0.4931 z"
+           style="fill:#000000;stroke-width:0.352778" />
+        <path
+           sodipodi:nodetypes="cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
+           inkscape:connector-curvature="0"
+           id="path2801"
+           transform="matrix(0.26458333,0,0,0.26458333,-51.389145,267.35772)"
+           d="m -990.69336,-203.23047 c -0.72413,2.18092 -0.65023,4.67577 -1.01562,6.97266 -1.93273,20.6186 -4.88178,41.15125 -5.92383,61.8457 -0.23039,6.29307 -0.41988,12.64031 -0.35157,18.90625 3.13928,-1.05371 6.3769,-2.16228 9.73633,-2.35156 6.42628,-0.53113 13.06825,-0.36343 19.03321,2.30273 8.62723,3.61737 15.75805,11.84487 16.30078,21.447268 0.3795,4.041166 0.12234,8.324624 -2.05274,11.882813 -2.83441,5.11813 -7.5459,8.968176 -12.35156,12.1875 -6.47515,4.81064 -17.97607,2.176862 -30.11969,1.77566 -1.52317,14.107494 0.51261,28.73156 0.4068,42.894252 1.24784,49.625432 1.43349,102.141435 3.21004,151.749037 0.0823,2.54007 3.42531,-3.90455 4.33683,-4.26466 11.10869,-7.58519 26.23202,-9.56755 38.8711,-4.85157 14.06439,5.30782 24.03343,20.24572 22.08008,35.38477 -1.27083,18.30956 -19.78045,31.47459 -37.40235,30.65234 -9.40147,0.22321 -19.14303,-4.07717 -26.66967,-9.65085 1.6132,27.18186 2.6314,56.31648 3.71069,83.86765 1.4261,41.32999 3.16015,83.07612 4.80969,124.39751 14.87742,0.31066 30.37549,-0.0986 45.24304,-0.43676 0.30753,-55.80769 1.06035,-111.61358 1.57422,-167.41992 2.96487,-4.24355 7.69893,-6.36297 12.81641,-6.32227 21.48631,-1.73532 44.03095,-0.21664 65.55554,-0.0863 -3.13102,-6.67281 -7.13373,-14.93705 -6.02625,-22.72233 1.14529,-15.11029 13.63019,-27.78487 28.36915,-30.37305 11.81642,-1.62252 25.19896,-0.51829 34.23046,8.08398 11.2328,9.05062 15.1926,25.50905 8.93165,38.66323 -0.47321,2.07749 -2.86753,5.04567 -2.41156,7.02372 18.55812,2.99631 38.12219,1.6026 56.55023,5.46149 6.47343,2.06521 10.78238,9.16068 10.61718,15.59961 -0.23089,55.6971 -7.02662,104.15812 -6.84765,153.71875 13.89385,0.0363 28.85623,0.14546 42.31034,-3.43173 4.04169,-22.89354 5.14987,-46.56784 7.49874,-69.67764 3.31107,-39.86433 6.94783,-80.6375 8.90097,-120.58896 -17.12596,1.72351 -29.91805,2.01087 -41.95615,-7.8505 -5.98029,-5.48025 -11.50667,-12.71191 -10.46289,-21.34765 -0.15026,-6.82521 -0.61902,-14.18573 3.75586,-19.96485 7.71659,-12.26984 22.7261,-18.9267 37.00586,-17.10156 4.51627,0.0293 10.00104,2.70204 14.23618,3.81356 1.26505,-8.06843 1.83637,-26.69624 0.30084,-33.282695 -7.56999,-4.370724 -29.88311,6.098215 -42.08194,2.922261 -6.93337,-2.594022 -6.85169,-14.730865 0.73242,-16.353515 10.6579,-3.024928 23.08991,-2.424899 33.41972,-6.694728 -21.69443,-45.280364 -87.37221,-42.327471 -125.90711,-41.919039 -5.65433,-0.395057 0.25067,3.521325 1.46913,4.269818 9.77376,6.649335 16.22057,17.796964 14.36397,29.759964 -3.12905,16.780114 -20.7238,27.921319 -37.22071,27.011719 -16.06949,1.028843 -33.30735,-9.558106 -36.23828,-26.035156 -2.09789,-10.508207 2.20539,-20.742063 10.3874,-27.513871 6.66855,-3.867358 12.07068,-7.043155 -0.86201,-5.78691 -25.25652,0.373292 -50.63308,0.249638 -75.86703,0.726423 -7.67181,10.045393 -20.11056,17.620113 -33.03922,15.470842 -12.71644,-1.463772 -25.60169,-11.404223 -25.8164,-24.996094 -0.36023,-12.988892 10.38533,-24.01921554 22.6875,-26.6367184 8.67936,-2.9020934 17.65989,1.69540393 26.04537,3.6029275 0.66328,-7.6371427 -0.87874,-16.5424901 -0.96139,-24.3587871 -0.33743,-17.637058 -0.70948,-33.185841 -2.15815,-49.177722 -1.71463,-34.360239 -2.83058,-68.745339 -3.94532,-103.128909 -0.34129,-6.02647 -0.28657,-12.11309 -1.15429,-18.08984 -0.78671,-0.7879 -2.17859,0.066 -3.13282,0.13281 -5.47609,1.54506 -11.16025,3.94805 -16.91601,2.42578 -7.34487,-1.44008 -13.72498,-5.87138 -18.8457,-11.1875 -0.58384,-0.38256 -1.04918,-1.24314 -1.75977,-1.34961 z"
+           style="opacity:1;fill:#fee51f;fill-opacity:1;stroke:#000000;stroke-width:0.377953;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+        <path
+           sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccccccc"
+           transform="matrix(0.26458333,0,0,0.26458333,-51.389145,267.35772)"
+           inkscape:connector-curvature="0"
+           id="path2805"
+           d="m -1021.1418,-349.43123 c -2.5149,3.24383 -3.9482,7.19131 -5.9322,10.76386 -3.3983,7.07103 -7.5582,13.71971 -11.6846,20.37954 -8.1977,14.58673 -13.5773,30.5648 -18.0463,46.63045 -2.5018,9.65052 -4.9876,19.36588 -6.1255,29.28794 -0.2304,2.70972 -0.3048,5.48435 -0.1283,8.17057 6.0148,-2.69029 11.8854,-5.97973 17.6982,-9.18021 6.8025,-3.64409 13.289,-8.09696 20.6905,-10.46795 5.5501,-1.45039 11.6856,-0.78169 16.857,1.68323 6.3343,3.1904 11.05127,9.28721 12.78816,16.15228 0.52888,1.41832 0.57416,3.71002 1.40924,4.96703 1.03114,-0.56986 1.49065,-2.64523 2.24122,-3.56327 4.35521,-6.33437 10.49651,-11.82188 17.92133,-14.14904 4.41827,-1.17657 9.19378,-1.20618 13.65728,-0.14107 4.00817,0.9669 7.76655,2.84108 11.78544,3.70767 0.93543,-0.22946 0.64198,-1.68326 0.99141,-2.37198 2.62066,-14.41005 4.4583,-28.95783 6.02347,-43.51699 0.63543,-6.24472 0.45511,-12.52834 0.48185,-18.79433 -1.64946,-0.47193 -3.67212,-0.0292 -5.4397,-0.33399 -4.13679,-0.13045 -8.34258,-3.10335 -8.87834,-7.40069 -0.83536,-3.67416 0.27128,-8.18867 3.94326,-9.89514 5.36335,-2.6521 11.54823,-2.84317 17.08929,-5.06083 6.66822,-2.33168 12.93973,-6.2173 17.35243,-11.79921 0.54795,-1.36058 -2.5541,-0.24437 -3.47228,-0.53811 -7.17681,-0.0293 -14.30014,1.08908 -21.20627,3.00401 -4.8507,1.13232 -9.94445,2.8009 -14.94267,1.60298 -2.84036,-1.23548 -4.87524,-4.07723 -5.6313,-7.02421 0.239,-1.60086 -1.35257,-2.66529 -2.81491,-2.54906 -9.94599,0.20448 -19.83546,1.51103 -29.72257,2.5295 -6.81544,0.64103 -13.66764,1.81197 -20.52414,1.17078 -2.2897,-0.15271 -4.4487,-1.45957 -5.4596,-3.58199 -0.2964,-0.56815 -0.677,0.13363 -0.9214,0.31823 z m 1.7899,17.87398 c 3.8288,0.0605 8.1973,0.60002 10.7877,3.77229 2.6857,2.91607 4.8339,6.61345 5.2534,10.58391 0.099,5.93406 -4.2282,10.95026 -8.8669,14.11402 -2.848,2.06997 -6.5807,2.66444 -9.9062,1.50536 -4.7884,-1.22144 -9.4371,-4.3749 -10.9208,-9.30001 -1.0236,-3.4725 -0.7643,-7.27869 0.038,-10.78121 1.2645,-4.93689 5.5433,-8.88754 10.6133,-9.62292 0.9985,-0.17858 1.9882,-0.26085 3.0015,-0.27144 z"
+           style="opacity:1;fill:#fee51f;fill-opacity:1;stroke:#000000;stroke-width:0.477237;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+      </g>
+    </g>
+  </g>
+</svg>
diff --git a/pieces/Dobutsu/hen.svg b/pieces/Dobutsu/hen.svg
new file mode 100644 (file)
index 0000000..7256bc8
--- /dev/null
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   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"
+   inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
+   sodipodi:docname="wh.svg"
+   id="svg4905"
+   version="1.1"
+   height="60"
+   width="60">
+  <metadata
+     id="metadata4911">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs4909" />
+  <sodipodi:namedview
+     inkscape:document-rotation="0"
+     inkscape:current-layer="svg4905"
+     inkscape:window-maximized="0"
+     inkscape:window-y="20"
+     inkscape:window-x="0"
+     inkscape:cy="61.263113"
+     inkscape:cx="76.812636"
+     inkscape:zoom="3.2959793"
+     showgrid="false"
+     id="namedview4907"
+     inkscape:window-height="1060"
+     inkscape:window-width="960"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0"
+     guidetolerance="10"
+     gridtolerance="10"
+     objecttolerance="10"
+     borderopacity="1"
+     bordercolor="#666666"
+     pagecolor="#ffffff" />
+  <!--
+Created by Hari Seldon and modified by orangain, licensed under Creative Commons Attribution-Share Alike 3.0 Unported.
+See: https://creativecommons.org/licenses/by-sa/3.0/deed.en
+
+Original file is available at: https://commons.wikimedia.org/wiki/File:Shogi_osho(svg).svg
+-->
+  <filter
+     id="drop-shadow">
+    <feGaussianBlur
+       id="feGaussianBlur4880"
+       stdDeviation="2"
+       result="blur"
+       in="SourceAlpha" />
+    <feOffset
+       id="feOffset4882"
+       dy="2"
+       dx="2"
+       result="offsetBlur" />
+    <feBlend
+       id="feBlend4884"
+       mode="normal"
+       in2="offsetBlur"
+       in="SourceGraphic" />
+  </filter>
+  <g
+     inkscape:label="Layer 1"
+     id="layer1"
+     transform="matrix(1.3015765,0,0,1.3015765,69.894622,-344.97829)">
+    <rect
+       style="opacity:1;fill:#edf0a1;fill-opacity:1;stroke:#000000;stroke-width:0.554749;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="rect5497-2"
+       width="34.787006"
+       height="34.787006"
+       x="-48.044888"
+       y="270.70197"
+       ry="2.1199546" />
+    <circle
+       style="opacity:1;fill:#0b58ad;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="path5973-0"
+       cx="-45.230762"
+       cy="273.83298"
+       r="1.2745767" />
+    <circle
+       style="opacity:1;fill:#0f57ab;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="path5973-1-6"
+       cx="-30.870708"
+       cy="273.73923"
+       r="1.2745767" />
+    <circle
+       style="opacity:1;fill:#0d5aac;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="path5973-1-8-8"
+       cx="-16.774204"
+       cy="273.77951"
+       r="1.2745767" />
+    <circle
+       style="opacity:1;fill:#0d5aac;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="path5973-1-7"
+       cx="-45.185184"
+       cy="288.05371"
+       r="1.2745767" />
+    <circle
+       style="opacity:1;fill:#0d5aac;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="path5973-1-9"
+       cx="-16.831141"
+       cy="287.99677"
+       r="1.2745767" />
+    <circle
+       style="opacity:1;fill:#0d5aac;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="path5973-1-0"
+       cx="-30.934549"
+       cy="302.49182"
+       r="1.2745767" />
+    <path
+       inkscape:connector-curvature="0"
+       id="path16248"
+       d="m -31.09696,299.47227 c 0.0095,-0.52127 0.05802,-0.92293 -0.610947,-0.59557 -0.85443,0.12097 -0.889136,-0.21522 -0.04394,-0.68328 0.93344,-0.51693 0.52879,-0.85019 -1.466111,-1.20745 -2.172542,-0.38907 -4.192654,-1.58878 -5.050403,-2.9994 -0.790183,-1.29947 -1.765666,-4.85974 -1.812239,-6.61418 -0.03751,-1.41302 -0.05424,-1.44006 -0.949045,-1.5346 -0.500963,-0.0529 -0.90076,-0.18737 -0.888426,-0.29876 0.06064,-0.54649 1.342995,-1.84264 1.901485,-1.92171 0.482403,-0.0683 1.065208,-0.79567 2.448718,-3.05617 1.954396,-3.19322 2.867922,-4.06623 3.678698,-3.51552 0.265415,0.18029 0.46239,0.5189 0.437711,0.75248 -0.03154,0.29849 0.101737,0.38169 0.448527,0.28 1.273294,-0.37343 1.425603,-0.32365 1.432469,0.46816 0.006,0.69712 0.09848,0.77933 0.884518,0.78669 0.74543,0.007 0.892853,0.11479 0.977824,0.71489 0.06623,0.46781 -0.113395,0.99447 -0.531534,1.55797 -0.629719,0.84878 -0.630543,0.85657 -0.2787,2.63746 0.869604,4.40167 0.790743,4.35218 7.614537,4.77933 0.859128,0.0538 0.944998,0.13794 1.048722,1.02673 0.405679,3.47681 -2.476426,6.46366 -6.863114,7.11257 -1.040053,0.15384 -1.901664,0.38069 -1.914705,0.50411 -0.01304,0.12343 0.327472,0.39004 0.756694,0.59247 0.878196,0.21503 0.605417,1.04634 -0.07841,0.65159 -0.538509,-0.31086 -0.556179,0.21386 -0.534405,0.51221 0.01781,0.24926 -0.125219,0.49028 -0.317816,0.53561 -0.322434,-0.10319 -0.300026,-0.43899 -0.290175,-0.48563 z m 3.855138,-3.3002 c 1.789437,-0.5862 3.607835,-1.93987 4.21373,-3.13686 0.481217,-1.07046 0.593381,-1.72965 0.548888,-3.21437 l -2.331599,-0.2393 c -4.2878,-0.11664 -5.813264,-1.13043 -6.17034,-4.10067 -0.398195,-3.3123 -1.414362,-4.74162 -3.529954,-4.96514 -1.907317,-0.20152 -4.161011,2.02701 -4.806714,4.75304 -0.538639,2.27398 0.656754,7.22981 2.172678,9.00746 1.846031,2.16474 6.413132,3.03892 9.903338,1.89558 z m -10.328753,-11.9987 c -0.194949,-0.72947 0.243336,-1.26905 0.89727,-1.10464 0.439844,0.11057 0.580945,0.33114 0.528624,0.82634 -0.05232,0.49518 -0.236396,0.68137 -0.689638,0.6976 -0.370854,0.0133 -0.665494,-0.15447 -0.736256,-0.4193 z m -2.26204,0.79557 c 0.119527,-0.23429 0.162966,-0.49309 0.09663,-0.57514 -0.154261,-0.1907 -1.00841,0.3706 -1.04157,0.68445 -0.04434,0.41963 0.720291,0.33116 0.944968,-0.10931 z m 9.376027,-4.4866 c 0.05251,-0.49702 -0.332386,-0.47964 -0.914509,0.0413 -0.390364,0.34933 -0.432657,0.52056 -0.199728,0.80852 0.23294,0.28799 0.378264,0.27412 0.6862,-0.0654 0.21487,-0.23691 0.407487,-0.5899 0.428037,-0.7844 z m -3.665022,-1.55259 c 0.118213,-1.1819 -0.209237,-1.48617 -0.928772,-0.86422 -0.350194,0.30269 -0.789171,0.85243 -0.975474,1.22162 l -0.338739,0.67128 1.087255,-0.17052 c 0.905397,-0.14199 1.09871,-0.28554 1.15573,-0.85816 z m 1.85388,0.59382 c 0.07792,-0.73751 -0.162538,-0.88163 -0.71942,-0.43118 -0.549736,0.44468 -0.494206,0.98599 0.10767,1.04958 0.396278,0.0419 0.559412,-0.12304 0.61175,-0.6184 z"
+       style="fill:#242424;stroke-width:0.271694"
+       sodipodi:nodetypes="scccccsccccsccscccccsscscccsccccscssccscccssccscccscsccccsssss" />
+    <path
+       style="opacity:1;fill:#d82a17;fill-opacity:1;stroke:#000000;stroke-width:0.0487106;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       d="m -39.830057,284.33445 c -0.276783,0.0304 -0.52047,0.20358 -0.728611,0.37929 -0.134606,0.13365 -0.335461,0.34709 -0.197293,0.542 0.175344,0.20382 0.487878,0.10429 0.686156,-0.009 0.269695,-0.16936 0.410184,-0.5177 0.368867,-0.82721 -0.01834,-0.0544 -0.07488,-0.0821 -0.129118,-0.085 z"
+       id="path16437"
+       inkscape:connector-curvature="0" />
+    <path
+       style="opacity:1;fill:#d82a17;fill-opacity:1;stroke:#000000;stroke-width:0.0688872;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       d="m -34.447197,277.72847 c -0.419763,0.0618 -0.71458,0.42649 -0.993164,0.71605 -0.369959,0.43048 -0.687414,0.92159 -0.891201,1.44922 0.07046,0.12741 0.26613,0.0135 0.37938,0.0226 0.51652,-0.105 1.074208,-0.11594 1.547292,-0.36848 0.340453,-0.20386 0.275841,-0.64853 0.318688,-0.98481 0.01323,-0.29611 -0.0075,-0.7473 -0.360993,-0.83461 z"
+       id="path16439"
+       inkscape:connector-curvature="0" />
+    <path
+       style="opacity:1;fill:#d82a17;fill-opacity:1;stroke:#000000;stroke-width:0.0688872;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       d="m -32.481251,278.81671 c -0.329586,0.0528 -0.580074,0.32865 -0.79179,0.56755 -0.18367,0.23394 -0.125644,0.63657 0.183044,0.72862 0.251854,0.0839 0.620882,0.089 0.73923,-0.20154 0.112891,-0.29634 0.166194,-0.65188 0.05015,-0.95441 -0.03733,-0.0659 -0.10301,-0.12984 -0.180634,-0.14022 z"
+       id="path16441"
+       inkscape:connector-curvature="0" />
+    <path
+       style="opacity:1;fill:#d82a17;fill-opacity:1;stroke:#000000;stroke-width:0.0688872;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       d="m -30.632906,280.10995 c -0.390383,0.0441 -0.706502,0.33919 -0.956638,0.6228 -0.137489,0.13193 -0.200958,0.3555 -0.0539,0.5062 0.10895,0.16841 0.327234,0.4162 0.539306,0.24398 0.308294,-0.25144 0.565873,-0.60239 0.661609,-0.99218 0.02413,-0.14399 -0.0098,-0.36433 -0.190367,-0.3808 z"
+       id="path16443"
+       inkscape:connector-curvature="0" />
+    <path
+       style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.944882;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       d="m 62.210574,49.835998 c -7.602046,1.113589 -12.839704,8.152794 -15.526367,14.861328 -2.782026,8.63198 -0.699623,18.001013 1.951172,26.40625 2.141547,6.547016 5.991927,13.082154 12.644531,15.822264 10.003611,4.74327 22.121465,5.06319 32.338587,0.82686 6.810733,-3.16294 14.033553,-8.233637 15.188753,-16.237991 0.10685,-1.965379 1.38602,-4.718681 -0.18554,-6.318359 C 100.73961,83.249937 92.072342,84.616587 84.523074,81.166076 78.029951,78.154331 77.466206,70.171571 76.255496,64.033264 75.140123,58.455107 72.598968,52.001309 66.478152,50.464904 65.103259,50.027013 63.656885,49.770857 62.210574,49.835998 Z m -6.719726,9.563477 c 2.643469,-0.0866 2.498373,3.829211 1.166015,5.207031 -1.860948,0.956683 -5.182134,0.440375 -4.657226,-2.348633 -0.09317,-1.894851 1.727671,-3.085295 3.491211,-2.858398 z"
+       id="path16538"
+       inkscape:connector-curvature="0"
+       transform="matrix(0.26458333,0,0,0.26458333,-51.389145,267.35772)" />
+  </g>
+</svg>
diff --git a/pieces/Dobutsu/lion.svg b/pieces/Dobutsu/lion.svg
new file mode 100644 (file)
index 0000000..8324454
--- /dev/null
@@ -0,0 +1,201 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   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"
+   inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
+   sodipodi:docname="wk.svg"
+   id="svg4905"
+   version="1.1"
+   height="60"
+   width="60">
+  <metadata
+     id="metadata4911">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs4909" />
+  <sodipodi:namedview
+     inkscape:document-rotation="0"
+     inkscape:current-layer="svg4905"
+     inkscape:window-maximized="0"
+     inkscape:window-y="20"
+     inkscape:window-x="0"
+     inkscape:cy="59.217968"
+     inkscape:cx="48.32528"
+     inkscape:zoom="3.2959793"
+     showgrid="false"
+     id="namedview4907"
+     inkscape:window-height="1060"
+     inkscape:window-width="960"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0"
+     guidetolerance="10"
+     gridtolerance="10"
+     objecttolerance="10"
+     borderopacity="1"
+     bordercolor="#666666"
+     pagecolor="#ffffff" />
+  <!--
+Created by Hari Seldon and modified by orangain, licensed under Creative Commons Attribution-Share Alike 3.0 Unported.
+See: https://creativecommons.org/licenses/by-sa/3.0/deed.en
+
+Original file is available at: https://commons.wikimedia.org/wiki/File:Shogi_osho(svg).svg
+-->
+  <filter
+     id="drop-shadow">
+    <feGaussianBlur
+       id="feGaussianBlur4880"
+       stdDeviation="2"
+       result="blur"
+       in="SourceAlpha" />
+    <feOffset
+       id="feOffset4882"
+       dy="2"
+       dx="2"
+       result="offsetBlur" />
+    <feBlend
+       id="feBlend4884"
+       mode="normal"
+       in2="offsetBlur"
+       in="SourceGraphic" />
+  </filter>
+  <g
+     inkscape:label="Layer 1"
+     id="layer1"
+     transform="matrix(1.3015766,0,0,1.3015766,69.894626,-344.97834)">
+    <g
+       id="g6119"
+       transform="translate(0.39418863,0.66145971)">
+      <g
+         transform="matrix(0.85211113,0,0,0.85211113,-9.1404396,-13.169231)"
+         id="g5971">
+        <rect
+           style="opacity:1;fill:#f7c1c1;fill-opacity:1;stroke:#000000;stroke-width:0.651029;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+           id="rect5497-2"
+           width="40.824493"
+           height="40.824493"
+           x="-46.119144"
+           y="332.36246"
+           ry="2.487885" />
+        <g
+           id="g5958"
+           transform="translate(-0.2672693,0.13363444)">
+          <path
+             sodipodi:nodetypes="ccsccccccssscsscsscsccccsccscccccc"
+             style="opacity:1;fill:#e4ac19;stroke:#000000;stroke-width:0.819396"
+             d="m -37.301682,366.13828 c 0.002,-0.11924 0.522273,-1.64077 1.156259,-3.3812 0.633988,-1.74043 1.152704,-3.2662 1.152704,-3.39063 0,-0.32365 -2.195217,-1.40951 -3.974473,-1.96596 l -1.517424,-0.47457 1.566993,-1.35283 c 1.954106,-1.68705 3.211789,-4.05509 2.964154,-5.58109 -0.183744,-1.13229 -1.423763,-3.2143 -3.267038,-5.48538 -0.88153,-1.08614 -1.070029,-1.47555 -0.722662,-1.49293 1.098081,-0.055 4.031467,0.58601 5.173172,1.13032 1.995908,0.95155 2.170218,0.71969 1.992058,-2.64997 -0.08402,-1.58904 -0.0512,-2.88917 0.0729,-2.88917 0.273899,0 4.946292,2.91618 5.998452,3.74381 0.414055,0.32569 0.941179,0.59217 1.171389,0.59217 0.23021,0 1.846068,-1.11994 3.590793,-2.48876 1.744725,-1.36882 3.25661,-2.40439 3.359742,-2.30126 0.103132,0.10314 0.258321,1.34246 0.344862,2.75405 0.08655,1.41159 0.254071,2.6631 0.372286,2.78116 0.118214,0.11804 0.718661,0.0636 1.334328,-0.12074 0.615665,-0.18447 2.200527,-0.33539 3.521914,-0.33539 h 2.402519 l -2.363791,2.42173 c -1.300086,1.33196 -2.36252,2.66527 -2.360967,2.96292 0.0045,0.86651 1.300484,3.41307 2.639495,5.18657 1.235324,1.63617 1.591495,2.4367 1.084151,2.4367 -0.42153,0 -5.13769,2.31254 -5.320982,2.6091 -0.09015,0.14587 0.02946,0.56156 0.265771,0.92377 0.398788,0.61121 2.195934,5.41847 2.195934,5.87398 0,0.11169 -0.162598,0.0745 -0.36133,-0.083 -0.682067,-0.53989 -3.542695,-1.44967 -5.682151,-1.80711 -2.96605,-0.49556 -8.442689,-0.42722 -10.530672,0.13138 -0.928028,0.24827 -2.669895,0.90539 -3.870816,1.46024 -2.390315,1.1044 -2.392717,1.1052 -2.387583,0.79204 z"
+             id="path5748"
+             inkscape:connector-curvature="0" />
+          <ellipse
+             ry="7.7261157"
+             rx="7.3980627"
+             transform="scale(1,-1)"
+             cy="-353.74197"
+             cx="-25.470678"
+             id="path5766"
+             style="opacity:1;fill:#fce377;fill-opacity:1;stroke:#000000;stroke-width:0.575783;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+          <circle
+             r="0.90203464"
+             cy="352.09091"
+             cx="-27.963072"
+             id="path5835"
+             style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.58824;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+          <g
+             style="stroke:#000000"
+             transform="translate(-0.73499179,1.5368003)"
+             id="g5904">
+            <path
+               style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+               d="m -24.989701,353.86158 c 0.639558,1.14696 1.410085,1.83553 2.405426,1.73725"
+               id="path5881"
+               inkscape:connector-curvature="0"
+               sodipodi:nodetypes="cc" />
+            <g
+               style="stroke:#000000"
+               id="g5898">
+              <path
+                 sodipodi:nodetypes="cc"
+                 inkscape:connector-curvature="0"
+                 id="path5879"
+                 d="m -27.127856,355.19792 c 2.20977,-0.3229 2.294654,-1.1816 2.228597,-2.43715"
+                 style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+              <path
+                 sodipodi:nodetypes="cc"
+                 inkscape:connector-curvature="0"
+                 id="path5883"
+                 d="m -26.552828,355.01933 c 0.905568,0.93577 2.165489,1.15095 3.071057,0.44884"
+                 style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+            </g>
+          </g>
+          <circle
+             r="0.90203464"
+             cy="352.12433"
+             cx="-23.252451"
+             id="path5835-6"
+             style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.58824;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+        </g>
+      </g>
+      <circle
+         r="1.2745767"
+         cy="273.17151"
+         cx="-45.62495"
+         id="path5973-0"
+         style="opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+      <circle
+         r="1.2745767"
+         cy="273.07776"
+         cx="-31.264896"
+         id="path5973-1-6"
+         style="opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+      <circle
+         r="1.2745767"
+         cy="273.11804"
+         cx="-17.168392"
+         id="path5973-1-8-1"
+         style="opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+      <circle
+         r="1.2745767"
+         cy="287.39224"
+         cx="-45.579372"
+         id="path5973-1-7"
+         style="opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+      <circle
+         r="1.2745767"
+         cy="287.3353"
+         cx="-17.225328"
+         id="path5973-1-9"
+         style="opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+      <circle
+         r="1.2745767"
+         cy="301.85394"
+         cx="-45.636307"
+         id="path5973-1-2-5"
+         style="opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+      <circle
+         r="1.2745767"
+         cy="301.83035"
+         cx="-31.328737"
+         id="path5973-1-0"
+         style="opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+      <circle
+         r="1.2745767"
+         cy="301.80676"
+         cx="-17.248911"
+         id="path5973-1-23-5"
+         style="opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+    </g>
+  </g>
+</svg>
diff --git a/pieces/Dobutsu/rev_chick.svg b/pieces/Dobutsu/rev_chick.svg
new file mode 100644 (file)
index 0000000..bbefcfc
--- /dev/null
@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   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"
+   inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
+   sodipodi:docname="wpi.svg"
+   id="svg4905"
+   version="1.1"
+   height="60"
+   width="60">
+  <metadata
+     id="metadata4911">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs4909" />
+  <sodipodi:namedview
+     inkscape:document-rotation="0"
+     inkscape:current-layer="svg4905"
+     inkscape:window-maximized="0"
+     inkscape:window-y="20"
+     inkscape:window-x="0"
+     inkscape:cy="36.115918"
+     inkscape:cx="41.902375"
+     inkscape:zoom="6.5919586"
+     showgrid="false"
+     id="namedview4907"
+     inkscape:window-height="1060"
+     inkscape:window-width="960"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0"
+     guidetolerance="10"
+     gridtolerance="10"
+     objecttolerance="10"
+     borderopacity="1"
+     bordercolor="#666666"
+     pagecolor="#ffffff" />
+  <!--
+Created by Hari Seldon and modified by orangain, licensed under Creative Commons Attribution-Share Alike 3.0 Unported.
+See: https://creativecommons.org/licenses/by-sa/3.0/deed.en
+
+Original file is available at: https://commons.wikimedia.org/wiki/File:Shogi_osho(svg).svg
+-->
+  <filter
+     id="drop-shadow">
+    <feGaussianBlur
+       id="feGaussianBlur4880"
+       stdDeviation="2"
+       result="blur"
+       in="SourceAlpha" />
+    <feOffset
+       id="feOffset4882"
+       dy="2"
+       dx="2"
+       result="offsetBlur" />
+    <feBlend
+       id="feBlend4884"
+       mode="normal"
+       in2="offsetBlur"
+       in="SourceGraphic" />
+  </filter>
+  <g
+     transform="matrix(-0.34437547,0,0,-0.34437547,61.909799,30.15043)"
+     id="g5891">
+    <g
+       transform="matrix(3.7795276,0,0,3.7795276,208.50911,-1088.428)"
+       id="layer1"
+       inkscape:label="Layer 1">
+      <g
+         transform="translate(0.39418863,0.66145971)"
+         id="g6119">
+        <g
+           id="g5971"
+           transform="matrix(0.85211113,0,0,0.85211113,-9.1404396,-13.169231)">
+          <rect
+             ry="2.487885"
+             y="332.36246"
+             x="-46.119144"
+             height="40.824493"
+             width="40.824493"
+             id="rect5497-3"
+             style="opacity:1;fill:#edf0a1;fill-opacity:1;stroke:#000000;stroke-width:0.651029;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+          <g
+             transform="translate(-0.2672693,0.13363444)"
+             id="g5958">
+            <g
+               id="g5904"
+               transform="translate(-0.73499179,1.5368003)"
+               style="stroke:#000000">
+              <g
+                 id="g5898"
+                 style="stroke:#000000" />
+            </g>
+          </g>
+        </g>
+        <circle
+           style="opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+           id="path5973-1"
+           cx="-31.264896"
+           cy="273.07776"
+           r="1.2745767" />
+      </g>
+      <g
+         transform="matrix(0.35009033,-0.05050649,0.05050649,0.35009033,-19.229149,187.55284)"
+         id="g6286">
+        <path
+           inkscape:connector-curvature="0"
+           id="path6261"
+           d="m -75.660215,305.19885 c 0,-2.48371 -0.0798,-2.56409 -1.87012,-1.88342 -2.41462,0.91804 -2.50427,0.90603 -2.50427,-0.33539 0,-0.57552 1.12506,-1.45323 2.50012,-1.95046 2.25596,-0.81576 3.29198,-2.28919 3.32245,-4.72518 0.005,-0.43776 -1.32276,-1.19522 -2.95163,-1.68324 -5.68459,-1.70315 -11.56197,-8.85642 -11.60371,-14.12269 -0.0165,-2.08889 -1.13247,-2.88354 -5.30173,-3.7754 -2.70122,-0.57782 -2.52265,-1.19262 0.91695,-3.15686 2.03265,-1.16077 2.91064,-2.15435 2.91064,-3.29382 0,-4.0488 5.92224,-9.26078 10.52278,-9.26078 5.63193,0 9.16198,3.90372 9.16198,10.1318 v 2.88799 l 3.82759,0.77982 c 4.43634,0.90384 15.964605,2.9357 16.76851,2.95545 2.09006,0.0514 -1.121794,6.10417 -5.931245,11.17759 -3.706562,3.90999 -6.560135,5.50339 -11.486195,6.41376 -2.34974,0.43425 -4.51329,1.16796 -4.80789,1.63046 -1.1685,1.83447 -0.49993,4.06374 1.6854,5.61984 1.60256,1.14112 2.01907,1.82171 1.45813,2.38265 -0.56094,0.56094 -1.03514,0.53533 -1.66011,-0.0896 -1.35319,-1.35319 -2.64506,-1.03783 -2.90201,0.70841 -0.40945,2.78264 -2.05564,2.45359 -2.05564,-0.41089 z m 12.81142,-13.42174 c 3.779908,-1.94721 10.518678,-9.37439 10.518678,-11.59322 0,-0.60586 -16.293918,-3.90531 -19.137968,-3.87535 -1.06346,0.0112 -1.27586,-0.66016 -1.27586,-4.03263 0,-4.30418 -1.37381,-7.87991 -3.31346,-8.62423 -3.26899,-1.25443 -6.32779,-0.46103 -9.16642,2.37761 -1.55677,1.55677 -2.83049,3.481 -2.83049,4.27607 0,0.79507 -0.65268,2.27533 -1.4504,3.28947 l -1.45041,1.84389 1.783,0.4475 c 1.3768,0.34555 1.88174,1.06902 2.21638,3.17562 1.02892,6.4771 5.05524,11.66104 10.74063,13.82872 3.2351,1.23345 9.88605,0.67941 13.36632,-1.11345 z m -21.49557,-20.11619 c -1.06128,-1.27877 0.10307,-4.08773 1.69442,-4.08773 1.69444,0 2.9949,2.15128 2.13039,3.52417 -1.02722,1.63128 -2.73041,1.88224 -3.82481,0.56356 z"
+           style="opacity:1;fill:#000000;stroke-width:0.729065" />
+        <path
+           style="opacity:1;fill:#fede00;fill-opacity:1;stroke:none;stroke-width:0.0992535;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+           d="m -72.758456,293.6586 c -1.882216,-0.11998 -2.936236,-0.3775 -4.486955,-1.09624 -1.915997,-0.88803 -3.377483,-1.92599 -4.910434,-3.4874 -1.364201,-1.38958 -2.197702,-2.54467 -3.080824,-4.26959 -0.885609,-1.72981 -1.346113,-3.08689 -1.81202,-5.33995 -0.588442,-2.84554 -0.880885,-3.20656 -3.001908,-3.70565 -0.506169,-0.11911 -1.43245,-0.2452 -1.472363,-0.28019 -0.03995,-0.0349 0.800051,-0.55434 1.280511,-1.1541 1.096659,-1.36903 1.782525,-2.67779 1.979012,-3.77641 0.07611,-0.42501 0.245588,-0.98016 0.376832,-1.23368 0.44715,-0.86372 1.46694,-2.16712 2.485991,-3.17737 2.489186,-2.46767 5.059796,-3.41614 7.849016,-2.89602 1.608531,0.29995 2.318878,0.69675 3.049811,1.70367 0.571542,0.78732 1.060961,1.91892 1.361115,3.14695 0.352172,1.44093 0.433935,2.16945 0.529032,4.71386 0.04794,1.2832 0.138116,2.51597 0.200362,2.73947 0.166333,0.59726 0.552874,0.87923 1.20528,0.87923 2.473345,0 16.297805,2.64486 19.009187,3.63679 0.587231,0.21484 0.602082,0.27123 0.276396,1.04969 -1.083116,2.58884 -5.958295,7.83649 -9.434093,10.15484 -2.530966,1.68816 -7.172599,2.66179 -11.403948,2.3921 z m -9.351663,-21.1933 c 0.585216,-0.17084 1.391569,-0.88338 1.677789,-1.48258 0.349336,-0.73133 0.138006,-1.84008 -0.487701,-2.55865 -0.635926,-0.73033 -1.83698,-1.0713 -2.530947,-0.71852 -0.390337,0.19841 -0.964046,0.85791 -1.192525,1.37082 -0.248964,0.5589 -0.33732,1.58266 -0.177639,2.05828 0.210201,0.62608 0.820486,1.1739 1.551159,1.39239 0.377572,0.1129 0.602665,0.10091 1.159864,-0.0618 z"
+           id="path6272"
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="sscsssscccssccccsccsssscccscs" />
+        <path
+           style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.107755;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+           d="m -80.257078,270.14973 c 1.63e-4,1.36347 -0.943221,2.16412 -2.362351,2.44503 -0.924307,0.18296 -2.337613,-0.68871 -2.315104,-2.27966 9.35e-4,-1.36481 1.186961,-2.92759 2.244233,-2.75215 1.338711,0.22215 2.563523,1.22335 2.433222,2.58678 z"
+           id="path6280"
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="cscsc" />
+      </g>
+    </g>
+  </g>
+</svg>
diff --git a/pieces/Dobutsu/rev_elephant.svg b/pieces/Dobutsu/rev_elephant.svg
new file mode 100644 (file)
index 0000000..c8b0b3c
--- /dev/null
@@ -0,0 +1,176 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   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"
+   inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
+   sodipodi:docname="wei.svg"
+   id="svg4905"
+   version="1.1"
+   height="60"
+   width="60">
+  <metadata
+     id="metadata4911">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs4909" />
+  <sodipodi:namedview
+     inkscape:document-rotation="0"
+     inkscape:current-layer="svg4905"
+     inkscape:window-maximized="0"
+     inkscape:window-y="20"
+     inkscape:window-x="0"
+     inkscape:cy="29.422532"
+     inkscape:cx="43.514924"
+     inkscape:zoom="2.3306093"
+     showgrid="false"
+     id="namedview4907"
+     inkscape:window-height="1060"
+     inkscape:window-width="960"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0"
+     guidetolerance="10"
+     gridtolerance="10"
+     objecttolerance="10"
+     borderopacity="1"
+     bordercolor="#666666"
+     pagecolor="#ffffff" />
+  <!--
+Created by Hari Seldon and modified by orangain, licensed under Creative Commons Attribution-Share Alike 3.0 Unported.
+See: https://creativecommons.org/licenses/by-sa/3.0/deed.en
+
+Original file is available at: https://commons.wikimedia.org/wiki/File:Shogi_osho(svg).svg
+-->
+  <filter
+     id="drop-shadow">
+    <feGaussianBlur
+       id="feGaussianBlur4880"
+       stdDeviation="2"
+       result="blur"
+       in="SourceAlpha" />
+    <feOffset
+       id="feOffset4882"
+       dy="2"
+       dx="2"
+       result="offsetBlur" />
+    <feBlend
+       id="feBlend4884"
+       mode="normal"
+       in2="offsetBlur"
+       in="SourceGraphic" />
+  </filter>
+  <g
+     inkscape:label="Layer 1"
+     id="layer1"
+     transform="matrix(-1.3015765,0,0,-1.3015765,-9.895621,404.97829)"
+     style="display:inline">
+    <rect
+       style="opacity:1;fill:#d7b5d6;fill-opacity:1;stroke:#000000;stroke-width:0.554749;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="rect5497-7"
+       width="34.787006"
+       height="34.787006"
+       x="-48.044888"
+       y="270.70197"
+       ry="2.1199546" />
+    <path
+       sodipodi:type="star"
+       style="display:inline;opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.25;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="path10754-6"
+       sodipodi:sides="3"
+       sodipodi:cx="-28.324093"
+       sodipodi:cy="268.94327"
+       sodipodi:r1="1.5686662"
+       sodipodi:r2="0.78433317"
+       sodipodi:arg1="2.0943951"
+       sodipodi:arg2="3.1415927"
+       inkscape:flatsided="true"
+       inkscape:rounded="0"
+       inkscape:randomized="0"
+       d="m -29.108426,270.30177 0,-2.71701 2.352999,1.35851 z"
+       inkscape:transform-center-x="0.17839615"
+       inkscape:transform-center-y="0.22740032"
+       transform="rotate(-43.147535,-16.240471,257.24518)" />
+    <g
+       id="g11547"
+       transform="matrix(0.78674347,0,0,0.78674347,32.599138,66.939052)">
+      <path
+         inkscape:connector-curvature="0"
+         id="path11355"
+         d="m -94.896099,289.4836 c -0.832835,-2.74859 -1.581643,-5.86315 -1.664014,-6.92125 -0.467012,-5.99924 4.023942,-12.41806 9.893478,-14.14054 7.15559,-2.09988 15.648661,0.46744 20.120448,6.08209 2.889226,3.62763 3.109811,8.68772 0.680167,15.60262 l -1.188679,3.38305 -1.845166,-0.31004 c -1.221219,-0.20521 -1.926269,-0.49853 -2.085001,-0.86749 -0.179337,-0.41686 -0.280337,-0.31153 -0.400409,0.41755 -0.19722,1.19774 -1.560314,1.61598 -4.791295,1.47017 -2.10144,-0.0949 -2.185115,-0.13072 -2.221905,-0.95248 -0.128739,-2.87575 -0.112166,-2.83031 -1.089881,-2.98827 -0.523142,-0.0842 -2.377098,-0.10864 -4.12,-0.0536 l -3.168914,0.10008 0.02709,1.27786 c 0.0149,0.70281 0.05363,1.62118 0.08607,2.0408 0.05432,0.70267 -0.19501,0.76884 -3.15584,0.83752 -1.768141,0.041 -3.292906,0.0622 -3.388356,0.047 -0.0954,-0.0152 -0.854944,-2.27645 -1.68779,-5.02505 z m 6.999492,1.84208 c 0.188116,-1.89539 0.240411,-1.98878 1.158991,-2.06995 2.213783,-0.19565 8.285389,-0.13053 8.80068,0.0944 0.382707,0.16704 0.545927,0.79617 0.520421,2.00592 l -0.03716,1.76255 1.657803,0.0199 c 3.33991,0.0401 3.125836,0.31765 3.760825,-4.87578 0.480579,-3.93053 0.635801,-4.57323 1.087192,-4.50142 0.753394,0.11985 0.989944,1.72234 0.69791,4.72798 -0.271477,2.79408 0.07535,3.61094 1.638749,3.85965 0.5682,0.0904 0.86954,-0.1254 1.122462,-0.80378 2.909844,-7.80472 2.958863,-13.06686 0.15323,-16.44895 -4.716874,-5.68602 -14.351731,-8.01527 -20.692941,-5.00258 -2.493104,1.18447 -4.712951,3.36971 -6.035189,5.94111 -1.960575,3.8128 -1.917938,6.53884 0.205994,13.17068 l 1.347994,4.20902 2.208014,-0.0519 2.20802,-0.0519 z m 4.058543,-9.04758 c -0.534212,-0.34694 -1.2957,-1.11772 -1.692197,-1.71284 -0.632674,-0.94961 -0.671074,-1.39528 -0.31376,-3.6414 0.435869,-2.73994 1.052415,-3.6787 3.133991,-4.77185 2.097335,-1.10142 6.211459,-0.0959 7.525233,1.83922 0.827018,1.21816 0.257296,1.9713 -0.62848,0.83082 -0.844153,-1.08689 -2.192374,-1.82945 -3.763758,-2.07298 -1.699947,-0.26334 -2.930766,0.16919 -4.126097,1.45036 -1.205636,1.29221 -1.780878,4.15358 -1.111364,5.52815 0.984525,2.02129 4.340136,3.04014 7.703987,2.33911 2.31126,-0.48166 2.135829,-0.49043 2.041585,0.102 -0.04197,0.26384 -0.903023,0.68947 -1.913452,0.94586 -2.119116,0.53771 -5.346033,0.14401 -6.855688,-0.83645 z m 11.554976,-4.06154 c -0.320041,-0.92338 0.121111,-1.70146 1.043501,-1.84046 1.367284,-0.20606 2.055279,1.59204 0.923372,2.41324 -0.726824,0.52732 -1.681992,0.24916 -1.966873,-0.57278 z"
+         style="fill:#000000;stroke-width:0.352778" />
+    </g>
+    <path
+       sodipodi:type="star"
+       style="display:inline;opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.25;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="path10754-6-0"
+       sodipodi:sides="3"
+       sodipodi:cx="-28.324093"
+       sodipodi:cy="268.94327"
+       sodipodi:r1="1.5686662"
+       sodipodi:r2="0.78433317"
+       sodipodi:arg1="2.0943951"
+       sodipodi:arg2="3.1415927"
+       inkscape:flatsided="true"
+       inkscape:rounded="0"
+       inkscape:randomized="0"
+       d="m -29.108426,270.30177 0,-2.71701 2.352999,1.35851 z"
+       inkscape:transform-center-x="-0.17839695"
+       inkscape:transform-center-y="0.22739943"
+       transform="matrix(-0.72959515,-0.68387931,-0.68387931,0.72959515,118.7706,58.453823)" />
+    <path
+       sodipodi:type="star"
+       style="display:inline;opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.25;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="path10754-6-0-6"
+       sodipodi:sides="3"
+       sodipodi:cx="-28.324093"
+       sodipodi:cy="268.94327"
+       sodipodi:r1="1.5686662"
+       sodipodi:r2="0.78433317"
+       sodipodi:arg1="2.0943951"
+       sodipodi:arg2="3.1415927"
+       inkscape:flatsided="true"
+       inkscape:rounded="0"
+       inkscape:randomized="0"
+       d="m -29.108426,270.30177 0,-2.71701 2.352999,1.35851 z"
+       inkscape:transform-center-x="-0.17839359"
+       inkscape:transform-center-y="-0.22740736"
+       transform="rotate(136.85247,-43.022022,282.2147)" />
+    <path
+       sodipodi:type="star"
+       style="display:inline;opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.25;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="path10754-6-3"
+       sodipodi:sides="3"
+       sodipodi:cx="-28.324093"
+       sodipodi:cy="268.94327"
+       sodipodi:r1="1.5686662"
+       sodipodi:r2="0.78433317"
+       sodipodi:arg1="2.0943951"
+       sodipodi:arg2="3.1415927"
+       inkscape:flatsided="true"
+       inkscape:rounded="0"
+       inkscape:randomized="0"
+       d="m -29.108426,270.30177 0,-2.71701 2.352999,1.35851 z"
+       inkscape:transform-center-x="0.17839801"
+       inkscape:transform-center-y="-0.22739811"
+       transform="matrix(0.72959515,0.68387931,0.68387931,-0.72959515,-180.21624,517.53904)" />
+    <path
+       style="opacity:1;fill:#ececec;fill-opacity:1;stroke:none;stroke-width:0.119309;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       d="m 74.139644,41.577099 c -7.87925,0.0344 -15.910281,1.840605 -22.559814,6.199482 -6.309211,4.167165 -11.500302,10.062477 -14.697207,16.9265 -2.213273,4.568929 -3.674258,9.602623 -3.477825,14.717746 -0.07625,5.230598 1.176924,10.349521 2.482485,15.376736 1.790146,6.470337 3.99909,12.815717 5.997555,19.223117 0.164345,0.47836 0.222918,1.27816 0.931692,1.0867 4.214874,-0.0791 8.437214,-0.13905 12.645897,-0.34626 0.379412,-0.52598 0.19193,-1.32307 0.356599,-1.94493 0.373122,-2.83963 0.437493,-5.74822 1.090315,-8.53244 0.175564,-0.89763 1.04368,-1.34847 1.888439,-1.39378 4.151815,-0.47235 8.389359,-0.34111 12.584414,-0.42264 4.561604,0.033 9.14162,-0.0526 13.675284,0.47728 1.274717,0.10982 1.760504,1.62543 1.86344,2.7231 0.174097,2.83818 -0.02633,5.73095 0.127167,8.55924 1.157999,0.20468 2.467207,0.0243 3.681637,0.0845 2.660029,-0.0672 5.346743,0.15349 7.988739,-0.22064 1.564689,-0.27059 2.585689,-1.67616 2.947099,-3.13749 0.94131,-3.49225 1.14155,-7.13177 1.6611,-10.70037 0.57517,-4.113742 0.90181,-8.276925 1.89945,-12.311257 0.19403,-0.568009 0.45502,-1.535725 1.2066,-1.489997 1.3768,0.342131 1.69685,1.93116 1.98035,3.10543 0.51257,3.057311 0.2501,6.192576 0.10488,9.273317 -0.17813,3.215647 -0.79431,6.554127 0.13903,9.711677 0.46431,1.72784 2.05791,2.86873 3.74837,3.22011 1.26528,0.37979 2.95038,0.4484 3.7454,-0.82543 1.06382,-1.83482 1.58733,-3.93086 2.33274,-5.90606 2.97462,-8.920196 5.37535,-18.255223 4.94735,-27.732617 -0.26758,-6.116481 -2.20529,-12.28491 -6.21025,-16.998922 C 110.48227,52.280052 101.01466,46.886586 91.034372,43.980465 85.555277,42.383517 79.852082,41.511598 74.139644,41.577099 Z m 3.95084,9.000124 c 4.704084,0.128216 9.515821,1.45646 13.302645,4.33754 1.629986,1.331346 3.221186,3.08382 3.490155,5.251757 0.119765,0.634319 -0.532616,1.383296 -1.155657,0.88561 -1.587129,-1.11051 -2.576883,-2.876888 -4.173842,-3.991079 -3.464629,-2.712391 -7.965229,-4.04112 -12.345211,-3.83563 -5.020062,0.273894 -9.368527,3.986053 -11.243999,8.524559 -1.447065,3.507684 -2.18364,7.46856 -1.36663,11.221506 0.825487,3.156378 3.58606,5.377708 6.380729,6.795161 4.668377,2.271569 10.057335,2.587368 15.140881,1.957959 2.582029,-0.345524 5.111886,-1.067583 7.686496,-1.366872 0.457329,0.0249 0.440173,0.409267 0.328497,0.724073 -0.0909,0.92294 -1.169542,1.300315 -1.849152,1.731022 -2.933947,1.441111 -6.220674,2.085822 -9.506865,1.993296 -2.265629,0.06433 -4.539422,0.04373 -6.766801,-0.428497 -3.633383,-0.624177 -7.402018,-1.761493 -10.016357,-4.511249 -1.666534,-1.717506 -3.356136,-3.580704 -4.079167,-5.911375 -0.56297,-2.800071 0.125487,-5.662817 0.516667,-8.462987 0.628315,-3.647725 1.444049,-7.593098 4.247771,-10.215463 2.092951,-1.902154 4.583972,-3.449702 7.304545,-4.260639 1.342727,-0.32288 2.722961,-0.437975 4.105295,-0.438692 z m 28.106706,13.924125 c 2.09728,-0.198003 3.79837,1.910793 3.63936,3.912861 0.005,2.012253 -1.92467,3.776325 -3.91755,3.668215 -2.0441,0.09828 -3.62553,-1.911925 -3.49163,-3.86699 -0.23314,-1.524587 0.85037,-3.002766 2.28789,-3.497801 0.46352,-0.214569 0.98179,-0.216482 1.48193,-0.216285 z"
+       id="path12210"
+       inkscape:connector-curvature="0"
+       transform="matrix(0.26458333,0,0,0.26458333,-51.389145,267.35772)" />
+  </g>
+</svg>
diff --git a/pieces/Dobutsu/rev_giraffe.svg b/pieces/Dobutsu/rev_giraffe.svg
new file mode 100644 (file)
index 0000000..f6eb024
--- /dev/null
@@ -0,0 +1,186 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   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"
+   width="60"
+   height="60"
+   version="1.1"
+   id="svg4905"
+   sodipodi:docname="wgi.svg"
+   inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)">
+  <metadata
+     id="metadata4911">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs4909" />
+  <sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="960"
+     inkscape:window-height="1060"
+     id="namedview4907"
+     showgrid="false"
+     inkscape:zoom="6.1989695"
+     inkscape:cx="10.721179"
+     inkscape:cy="23.933131"
+     inkscape:window-x="0"
+     inkscape:window-y="20"
+     inkscape:window-maximized="0"
+     inkscape:current-layer="svg4905"
+     inkscape:document-rotation="0" />
+  <!--
+Created by Hari Seldon and modified by orangain, licensed under Creative Commons Attribution-Share Alike 3.0 Unported.
+See: https://creativecommons.org/licenses/by-sa/3.0/deed.en
+
+Original file is available at: https://commons.wikimedia.org/wiki/File:Shogi_osho(svg).svg
+-->
+  <filter
+     id="drop-shadow">
+    <feGaussianBlur
+       in="SourceAlpha"
+       result="blur"
+       stdDeviation="2"
+       id="feGaussianBlur4880" />
+    <feOffset
+       result="offsetBlur"
+       dx="2"
+       dy="2"
+       id="feOffset4882" />
+    <feBlend
+       in="SourceGraphic"
+       in2="offsetBlur"
+       mode="normal"
+       id="feBlend4884" />
+  </filter>
+  <g
+     id="g6562"
+     transform="matrix(-0.95833332,0,0,-0.95833332,54.991397,58.75)">
+    <g
+       transform="matrix(1.0779714,0,0,1.0779714,-2.6340321,-1.1975641)"
+       id="g5697">
+      <rect
+         style="display:inline;opacity:1;fill:#d7b5d6;fill-opacity:1;stroke:#000000;stroke-width:0.698944;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+         id="rect5497"
+         width="43.82914"
+         height="43.82914"
+         x="4.7211394"
+         y="7.0264244"
+         ry="2.6709912" />
+      <path
+         sodipodi:type="star"
+         style="display:inline;opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.314982;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+         id="path10754"
+         sodipodi:sides="3"
+         sodipodi:cx="43.863743"
+         sodipodi:cy="28.832012"
+         sodipodi:r1="1.9764072"
+         sodipodi:r2="0.9882037"
+         sodipodi:arg1="2.0943951"
+         sodipodi:arg2="3.1415927"
+         inkscape:flatsided="true"
+         inkscape:rounded="0"
+         inkscape:randomized="0"
+         d="m 42.875539,30.543631 0,-3.423238 2.964611,1.711619 z"
+         inkscape:transform-center-x="-0.13073194"
+         inkscape:transform-center-y="6.3154318e-06" />
+      <path
+         sodipodi:type="star"
+         style="display:inline;opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.314982;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+         id="path10754-3"
+         sodipodi:sides="3"
+         sodipodi:cx="-8.4619169"
+         sodipodi:cy="28.832012"
+         sodipodi:r1="1.9764072"
+         sodipodi:r2="0.9882037"
+         sodipodi:arg1="2.0943951"
+         sodipodi:arg2="3.1415927"
+         inkscape:flatsided="true"
+         inkscape:rounded="0"
+         inkscape:randomized="0"
+         d="m -9.4501205,30.543631 0,-3.423238 2.9646107,1.711619 z"
+         inkscape:transform-center-x="0.13073078"
+         inkscape:transform-center-y="6.3154318e-06"
+         transform="scale(-1,1)" />
+      <path
+         sodipodi:type="star"
+         style="display:inline;opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.25;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+         id="path10754-6"
+         sodipodi:sides="3"
+         sodipodi:cx="-28.324093"
+         sodipodi:cy="268.94327"
+         sodipodi:r1="1.5686662"
+         sodipodi:r2="0.78433317"
+         sodipodi:arg1="2.0943951"
+         sodipodi:arg2="3.1415927"
+         inkscape:flatsided="true"
+         inkscape:rounded="0"
+         inkscape:randomized="0"
+         d="m -29.108426,270.30177 0,-2.71701 2.352999,1.35851 z"
+         inkscape:transform-center-x="-2.0711132e-05"
+         inkscape:transform-center-y="-0.13072954"
+         transform="matrix(0,-1.2599285,1.2599285,0,-312.62562,-24.814417)" />
+      <path
+         sodipodi:type="star"
+         style="display:inline;opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.25;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+         id="path10754-1"
+         sodipodi:sides="3"
+         sodipodi:cx="-31.130423"
+         sodipodi:cy="307.49689"
+         sodipodi:r1="1.5686662"
+         sodipodi:r2="0.78433317"
+         sodipodi:arg1="2.0943951"
+         sodipodi:arg2="3.1415927"
+         inkscape:flatsided="true"
+         inkscape:rounded="0"
+         inkscape:randomized="0"
+         d="m -31.914756,308.85539 0,-2.71701 2.353,1.35851 z"
+         inkscape:transform-center-x="1.5695237e-05"
+         inkscape:transform-center-y="0.13072936"
+         transform="matrix(0,1.2599285,-1.2599285,0,413.64771,86.363342)" />
+      <g
+         style="display:inline"
+         id="g2811"
+         transform="matrix(0.18596187,0,0,0.18596187,76.914042,-20.843006)">
+        <path
+           inkscape:connector-curvature="0"
+           id="path2787"
+           d="m -312.65013,373.40136 c -1.85093,-0.1579 -2.91447,-0.42442 -3.32156,-0.83239 -0.50864,-0.50975 -0.66598,-2.02398 -1.04469,-10.05417 -1.58267,-33.55938 -3.31088,-95.28498 -3.31521,-118.40819 -0.002,-12.81813 0.0951,-15.58274 0.74052,-20.99028 0.81944,-6.86597 0.82798,-15.76085 0.0166,-17.2521 -0.63664,-1.17003 -1.87618,-0.99627 -4.57154,0.64086 -3.90181,2.36992 -8.00372,4.22203 -9.82126,4.43454 -2.15904,0.25243 -3.50338,-0.65506 -3.87067,-2.61286 -0.9049,-4.82351 3.38328,-21.29494 7.14443,-27.44269 0.70513,-1.15255 1.80887,-2.96867 2.45276,-4.03582 1.63352,-2.70733 2.74987,-7.77018 2.47391,-11.21963 -0.19215,-2.40177 -0.14758,-2.63512 0.65688,-3.43958 1.09977,-1.09977 1.97452,-1.08757 4.07727,0.0569 1.59784,0.86965 1.74981,1.08361 2.78177,3.91643 0.60038,1.64809 1.0916,3.31836 1.0916,3.71171 0,0.68408 0.14191,0.70479 3.26319,0.47609 4.50202,-0.32987 5.55625,-0.54682 5.55625,-1.14341 0,-1.43638 4.16187,-7.05525 5.46873,-7.38325 2.08607,-0.52357 3.72085,2.1852 3.98227,6.59846 l 0.15912,2.68622 4.91114,0.17662 c 4.51602,0.16241 4.9809,0.24216 5.77827,0.99125 0.49302,0.46317 0.8638,1.20665 0.85939,1.72328 -0.02,2.33989 -3.02181,6.55139 -6.05387,8.49336 l -1.92782,1.23472 -0.0213,4.05695 c -0.0154,2.92974 -0.34062,5.87027 -1.17049,10.58333 -1.13393,6.43989 -1.14843,6.66199 -1.09446,16.75695 0.0668,12.49427 0.86399,33.04778 2.03752,52.53156 l 0.23178,3.84822 12.91084,-0.32044 c 16.92717,-0.42014 27.99848,-0.35267 32.13723,0.19583 10.71002,1.41938 17.71182,5.09252 21.86824,11.47205 0.82389,1.26454 1.57955,2.29917 1.67925,2.29917 0.0997,0 1.46272,-0.67469 3.02891,-1.49931 3.76743,-1.98359 7.13819,-5.21592 7.46828,-7.16156 0.50888,-2.99948 1.02895,-3.68635 2.79113,-3.68635 1.52437,0 2.32253,0.92752 2.32253,2.69896 0,4.67767 -3.81137,9.15295 -10.85336,12.74395 -3.23267,1.64847 -3.26567,1.67845 -2.99861,2.72514 0.36046,1.41281 0.17194,16.72296 -0.26064,21.16667 -0.18888,1.94028 -0.51211,6.22653 -0.71828,9.525 -0.94344,15.09368 -2.75484,36.44507 -3.73908,44.07347 -0.92172,7.14377 -1.37218,7.42945 -12.36259,7.84003 -6.80759,0.25431 -7.88037,0.0429 -8.60018,-1.69487 -0.5464,-1.31914 -0.24558,-15.84814 0.51981,-25.1057 0.28577,-3.45636 0.63065,-8.95472 0.76641,-12.21857 l 0.24684,-5.93427 -2.07864,-0.2311 c -5.6162,-0.6244 -13.66945,-0.95825 -27.68744,-1.1478 l -15.37826,-0.20794 -0.23619,2.78143 c -0.12991,1.52979 -0.13736,6.43268 -0.0165,10.89532 0.25003,9.23665 -0.36761,30.19407 -0.92029,31.22675 -0.20118,0.37591 -0.66492,0.84357 -1.03054,1.03924 -0.81597,0.43669 -12.58976,0.74084 -16.32929,0.42183 z m 74.48702,-4.98909 c 1.63495,-0.18796 3.08352,-0.52117 3.21906,-0.74047 0.57509,-0.93053 2.70657,-24.25893 3.84912,-42.12771 0.21091,-3.29847 0.4466,-6.49853 0.52374,-7.11125 0.13832,-1.09859 0.1248,-1.10959 -0.97648,-0.79375 -2.14933,0.61642 -5.57393,0.37673 -7.4714,-0.52294 -2.08205,-0.98718 -4.15786,-3.04462 -4.92166,-4.87809 -0.74078,-1.7782 -0.68618,-5.04937 0.11368,-6.81013 1.50854,-3.32083 5.22075,-5.56732 9.18634,-5.55925 1.2793,0.002 2.89697,0.24646 3.59781,0.54235 l 1.27339,0.53762 0.19928,-3.34015 c 0.1096,-1.83709 0.10836,-3.90038 -0.003,-4.5851 -0.22793,-1.40454 0.0427,-1.38716 -4.85998,-0.31218 -5.13257,1.12538 -7.70231,0.50609 -7.70231,-1.85621 0,-1.75748 0.87077,-2.40774 3.582,-2.67489 2.46925,-0.24332 6.30242,-1.03665 6.64002,-1.37426 0.34074,-0.34074 -1.92227,-3.3053 -3.66154,-4.79665 -3.35344,-2.87545 -8.62518,-4.8202 -15.26234,-5.63028 -4.66409,-0.56926 -14.81667,-0.90787 -14.81667,-0.49415 0,0.19418 0.61545,0.76034 1.36767,1.25813 1.62689,1.07663 2.66143,2.64494 3.22589,4.89027 1.26309,5.02435 -3.50701,9.89903 -9.68667,9.89903 -5.5211,0 -9.70806,-3.6093 -9.70806,-8.36867 0,-2.33696 0.94374,-4.3049 2.88257,-6.01088 l 1.58819,-1.39746 -10.9581,0.1074 -10.95811,0.1074 -1.25099,1.34381 c -1.60924,1.72863 -3.16654,2.51035 -5.47578,2.74869 -2.50441,0.25848 -5.17435,-0.65365 -6.8665,-2.34579 -5.40418,-5.40426 1.21785,-13.63501 8.88704,-11.04591 l 2.02792,0.68462 v -1.53043 c 0,-0.84173 -0.31928,-7.68303 -0.70951,-15.20288 -0.39024,-7.51985 -0.83405,-18.38929 -0.98626,-24.15432 -0.1522,-5.76502 -0.36378,-10.5689 -0.47017,-10.67529 -0.10639,-0.10639 -0.87316,0.0464 -1.70394,0.33949 -0.83077,0.29312 -1.94682,0.53294 -2.48012,0.53294 -1.65051,0 -3.99757,-1.03063 -5.3475,-2.34818 l -1.29055,-1.25959 -0.23147,2.42124 c -0.12731,1.33169 -0.53875,5.13792 -0.91431,8.45828 -0.37556,3.32037 -0.68283,7.48363 -0.68283,9.25169 v 3.21465 l 0.95421,-0.36279 c 0.52482,-0.19954 1.88592,-0.36725 3.02467,-0.3727 5.10003,-0.0244 8.71073,3.81592 7.85857,8.35832 -0.34758,1.8528 -3.0343,4.45718 -5.23321,5.07283 -1.64004,0.45919 -4.63074,0.37047 -6.02734,-0.1788 -0.63663,-0.25038 -0.65011,0.10935 -0.41859,11.17164 0.13157,6.28669 0.38594,16.58973 0.56526,22.89563 0.17932,6.3059 0.328,12.80264 0.3304,14.43719 l 0.004,2.97191 0.79814,-0.74982 c 2.28294,-2.1447 7.14035,-2.9437 10.43442,-1.71637 6.28856,2.34305 8.14263,10.01828 3.54031,14.65571 -3.34439,3.36989 -9.47925,3.85764 -13.40059,1.0654 l -1.05055,-0.74806 0.17135,0.82882 c 0.0942,0.45586 0.26803,4.71821 0.38617,9.47189 0.19469,7.83315 0.84736,25.44802 1.46071,39.42291 l 0.23612,5.37987 h 5.9439 c 3.26915,0 5.97148,-0.0397 6.00518,-0.0882 0.0337,-0.0485 0.15276,-10.04552 0.26458,-22.21558 l 0.20332,-22.1274 0.7933,-0.79292 c 0.71479,-0.71444 1.27342,-0.8184 5.64444,-1.05048 2.66813,-0.14166 6.97,-0.16207 9.5597,-0.0453 l 4.70856,0.21221 -0.79977,-1.55239 c -1.80318,-3.50009 -0.54368,-8.34406 2.783,-10.70321 2.10677,-1.49403 3.39564,-1.90369 6.08751,-1.93485 3.22516,-0.0373 5.41203,0.79084 7.43798,2.81679 2.78918,2.78918 3.43986,6.63757 1.69944,10.05128 -0.37699,0.73946 -0.62213,1.40777 -0.54476,1.48514 0.0774,0.0774 2.33716,0.28129 5.02175,0.45315 10.079,0.64523 11.01501,0.85269 12.15278,2.69365 0.75551,1.22243 0.76929,1.44293 0.54436,8.70881 -0.12692,4.10004 -0.46859,10.23275 -0.75926,13.62823 -0.29068,3.39549 -0.63349,9.46768 -0.76182,13.49375 l -0.23333,7.32014 2.43723,-0.003 c 1.34047,-10e-4 3.77491,-0.15646 5.40985,-0.34442 z m -73.55005,-165.34849 c 2.34246,-1.93086 4.72369,-2.29617 7.66997,-1.17667 1.00916,0.38345 1.85967,0.66126 1.89001,0.61736 0.3683,-0.53286 1.93095,-12.09821 1.92933,-14.27913 l -0.002,-2.91041 h -1.23472 c -1.59788,0 -2.64583,-1.0263 -2.64583,-2.59116 0,-1.5785 0.8489,-2.26776 3.3661,-2.73309 2.43486,-0.45011 4.93076,-1.64312 6.13219,-2.93111 l 0.85525,-0.91687 h -1.92489 c -1.05869,0 -2.79293,0.24412 -3.85386,0.54248 -3.61979,1.018 -4.73548,1.04531 -5.58201,0.13668 -0.41617,-0.44671 -0.75667,-1.10805 -0.75667,-1.46964 0,-0.60884 -0.22816,-0.64042 -3.08681,-0.42728 -1.69774,0.12658 -4.7444,0.43687 -6.77036,0.68953 -3.82982,0.47762 -5.14983,0.30371 -5.54681,-0.7308 -0.14619,-0.38096 -0.64837,0.35484 -1.54706,2.26675 -0.73183,1.55695 -1.79988,3.51496 -2.37344,4.35113 -1.71104,2.49448 -3.13907,5.59931 -4.61479,10.03354 -1.4857,4.46423 -2.87185,10.56427 -2.87185,12.63817 v 1.26016 l 2.02848,-1.02918 c 1.11566,-0.56604 3.13972,-1.68277 4.49791,-2.48161 3.2437,-1.90784 4.57335,-2.25259 6.8252,-1.76966 2.15283,0.46171 4.0366,2.32358 4.64794,4.59393 l 0.39861,1.4803 0.63699,-1.04746 c 0.35035,-0.5761 1.22033,-1.52828 1.93329,-2.11596 z m -10.95718,-15.78632 c -1.46782,-0.63883 -2.25012,-1.83328 -2.25012,-3.43554 0,-2.63394 1.42463,-4.20124 3.8492,-4.23471 0.7349,-0.0101 1.68609,0.16883 2.11375,0.39771 1.00784,0.53938 2.1483,2.4219 2.1483,3.54612 0,1.88554 -2.32007,4.25878 -4.12499,4.21952 -0.34918,-0.008 -1.13045,-0.22949 -1.73614,-0.4931 z"
+           style="fill:#000000;stroke-width:0.352778" />
+        <path
+           sodipodi:nodetypes="cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
+           inkscape:connector-curvature="0"
+           id="path2801"
+           transform="matrix(0.26458333,0,0,0.26458333,-51.389145,267.35772)"
+           d="m -990.69336,-203.23047 c -0.72413,2.18092 -0.65023,4.67577 -1.01562,6.97266 -1.93273,20.6186 -4.88178,41.15125 -5.92383,61.8457 -0.23039,6.29307 -0.41988,12.64031 -0.35157,18.90625 3.13928,-1.05371 6.3769,-2.16228 9.73633,-2.35156 6.42628,-0.53113 13.06825,-0.36343 19.03321,2.30273 8.62723,3.61737 15.75805,11.84487 16.30078,21.447268 0.3795,4.041166 0.12234,8.324624 -2.05274,11.882813 -2.83441,5.11813 -7.5459,8.968176 -12.35156,12.1875 -6.47515,4.81064 -17.97607,2.176862 -30.11969,1.77566 -1.52317,14.107494 0.51261,28.73156 0.4068,42.894252 1.24784,49.625432 1.43349,102.141435 3.21004,151.749037 0.0823,2.54007 3.42531,-3.90455 4.33683,-4.26466 11.10869,-7.58519 26.23202,-9.56755 38.8711,-4.85157 14.06439,5.30782 24.03343,20.24572 22.08008,35.38477 -1.27083,18.30956 -19.78045,31.47459 -37.40235,30.65234 -9.40147,0.22321 -19.14303,-4.07717 -26.66967,-9.65085 1.6132,27.18186 2.6314,56.31648 3.71069,83.86765 1.4261,41.32999 3.16015,83.07612 4.80969,124.39751 14.87742,0.31066 30.37549,-0.0986 45.24304,-0.43676 0.30753,-55.80769 1.06035,-111.61358 1.57422,-167.41992 2.96487,-4.24355 7.69893,-6.36297 12.81641,-6.32227 21.48631,-1.73532 44.03095,-0.21664 65.55554,-0.0863 -3.13102,-6.67281 -7.13373,-14.93705 -6.02625,-22.72233 1.14529,-15.11029 13.63019,-27.78487 28.36915,-30.37305 11.81642,-1.62252 25.19896,-0.51829 34.23046,8.08398 11.2328,9.05062 15.1926,25.50905 8.93165,38.66323 -0.47321,2.07749 -2.86753,5.04567 -2.41156,7.02372 18.55812,2.99631 38.12219,1.6026 56.55023,5.46149 6.47343,2.06521 10.78238,9.16068 10.61718,15.59961 -0.23089,55.6971 -7.02662,104.15812 -6.84765,153.71875 13.89385,0.0363 28.85623,0.14546 42.31034,-3.43173 4.04169,-22.89354 5.14987,-46.56784 7.49874,-69.67764 3.31107,-39.86433 6.94783,-80.6375 8.90097,-120.58896 -17.12596,1.72351 -29.91805,2.01087 -41.95615,-7.8505 -5.98029,-5.48025 -11.50667,-12.71191 -10.46289,-21.34765 -0.15026,-6.82521 -0.61902,-14.18573 3.75586,-19.96485 7.71659,-12.26984 22.7261,-18.9267 37.00586,-17.10156 4.51627,0.0293 10.00104,2.70204 14.23618,3.81356 1.26505,-8.06843 1.83637,-26.69624 0.30084,-33.282695 -7.56999,-4.370724 -29.88311,6.098215 -42.08194,2.922261 -6.93337,-2.594022 -6.85169,-14.730865 0.73242,-16.353515 10.6579,-3.024928 23.08991,-2.424899 33.41972,-6.694728 -21.69443,-45.280364 -87.37221,-42.327471 -125.90711,-41.919039 -5.65433,-0.395057 0.25067,3.521325 1.46913,4.269818 9.77376,6.649335 16.22057,17.796964 14.36397,29.759964 -3.12905,16.780114 -20.7238,27.921319 -37.22071,27.011719 -16.06949,1.028843 -33.30735,-9.558106 -36.23828,-26.035156 -2.09789,-10.508207 2.20539,-20.742063 10.3874,-27.513871 6.66855,-3.867358 12.07068,-7.043155 -0.86201,-5.78691 -25.25652,0.373292 -50.63308,0.249638 -75.86703,0.726423 -7.67181,10.045393 -20.11056,17.620113 -33.03922,15.470842 -12.71644,-1.463772 -25.60169,-11.404223 -25.8164,-24.996094 -0.36023,-12.988892 10.38533,-24.01921554 22.6875,-26.6367184 8.67936,-2.9020934 17.65989,1.69540393 26.04537,3.6029275 0.66328,-7.6371427 -0.87874,-16.5424901 -0.96139,-24.3587871 -0.33743,-17.637058 -0.70948,-33.185841 -2.15815,-49.177722 -1.71463,-34.360239 -2.83058,-68.745339 -3.94532,-103.128909 -0.34129,-6.02647 -0.28657,-12.11309 -1.15429,-18.08984 -0.78671,-0.7879 -2.17859,0.066 -3.13282,0.13281 -5.47609,1.54506 -11.16025,3.94805 -16.91601,2.42578 -7.34487,-1.44008 -13.72498,-5.87138 -18.8457,-11.1875 -0.58384,-0.38256 -1.04918,-1.24314 -1.75977,-1.34961 z"
+           style="opacity:1;fill:#fee51f;fill-opacity:1;stroke:#000000;stroke-width:0.377953;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+        <path
+           sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccccccc"
+           transform="matrix(0.26458333,0,0,0.26458333,-51.389145,267.35772)"
+           inkscape:connector-curvature="0"
+           id="path2805"
+           d="m -1021.1418,-349.43123 c -2.5149,3.24383 -3.9482,7.19131 -5.9322,10.76386 -3.3983,7.07103 -7.5582,13.71971 -11.6846,20.37954 -8.1977,14.58673 -13.5773,30.5648 -18.0463,46.63045 -2.5018,9.65052 -4.9876,19.36588 -6.1255,29.28794 -0.2304,2.70972 -0.3048,5.48435 -0.1283,8.17057 6.0148,-2.69029 11.8854,-5.97973 17.6982,-9.18021 6.8025,-3.64409 13.289,-8.09696 20.6905,-10.46795 5.5501,-1.45039 11.6856,-0.78169 16.857,1.68323 6.3343,3.1904 11.05127,9.28721 12.78816,16.15228 0.52888,1.41832 0.57416,3.71002 1.40924,4.96703 1.03114,-0.56986 1.49065,-2.64523 2.24122,-3.56327 4.35521,-6.33437 10.49651,-11.82188 17.92133,-14.14904 4.41827,-1.17657 9.19378,-1.20618 13.65728,-0.14107 4.00817,0.9669 7.76655,2.84108 11.78544,3.70767 0.93543,-0.22946 0.64198,-1.68326 0.99141,-2.37198 2.62066,-14.41005 4.4583,-28.95783 6.02347,-43.51699 0.63543,-6.24472 0.45511,-12.52834 0.48185,-18.79433 -1.64946,-0.47193 -3.67212,-0.0292 -5.4397,-0.33399 -4.13679,-0.13045 -8.34258,-3.10335 -8.87834,-7.40069 -0.83536,-3.67416 0.27128,-8.18867 3.94326,-9.89514 5.36335,-2.6521 11.54823,-2.84317 17.08929,-5.06083 6.66822,-2.33168 12.93973,-6.2173 17.35243,-11.79921 0.54795,-1.36058 -2.5541,-0.24437 -3.47228,-0.53811 -7.17681,-0.0293 -14.30014,1.08908 -21.20627,3.00401 -4.8507,1.13232 -9.94445,2.8009 -14.94267,1.60298 -2.84036,-1.23548 -4.87524,-4.07723 -5.6313,-7.02421 0.239,-1.60086 -1.35257,-2.66529 -2.81491,-2.54906 -9.94599,0.20448 -19.83546,1.51103 -29.72257,2.5295 -6.81544,0.64103 -13.66764,1.81197 -20.52414,1.17078 -2.2897,-0.15271 -4.4487,-1.45957 -5.4596,-3.58199 -0.2964,-0.56815 -0.677,0.13363 -0.9214,0.31823 z m 1.7899,17.87398 c 3.8288,0.0605 8.1973,0.60002 10.7877,3.77229 2.6857,2.91607 4.8339,6.61345 5.2534,10.58391 0.099,5.93406 -4.2282,10.95026 -8.8669,14.11402 -2.848,2.06997 -6.5807,2.66444 -9.9062,1.50536 -4.7884,-1.22144 -9.4371,-4.3749 -10.9208,-9.30001 -1.0236,-3.4725 -0.7643,-7.27869 0.038,-10.78121 1.2645,-4.93689 5.5433,-8.88754 10.6133,-9.62292 0.9985,-0.17858 1.9882,-0.26085 3.0015,-0.27144 z"
+           style="opacity:1;fill:#fee51f;fill-opacity:1;stroke:#000000;stroke-width:0.477237;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+      </g>
+    </g>
+  </g>
+</svg>
diff --git a/pieces/Dobutsu/rev_hen.svg b/pieces/Dobutsu/rev_hen.svg
new file mode 100644 (file)
index 0000000..e172f8b
--- /dev/null
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   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"
+   inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
+   sodipodi:docname="whi.svg"
+   id="svg4905"
+   version="1.1"
+   height="60"
+   width="60">
+  <metadata
+     id="metadata4911">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs4909" />
+  <sodipodi:namedview
+     inkscape:document-rotation="0"
+     inkscape:current-layer="svg4905"
+     inkscape:window-maximized="0"
+     inkscape:window-y="20"
+     inkscape:window-x="0"
+     inkscape:cy="61.263113"
+     inkscape:cx="76.812636"
+     inkscape:zoom="3.2959793"
+     showgrid="false"
+     id="namedview4907"
+     inkscape:window-height="1060"
+     inkscape:window-width="960"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0"
+     guidetolerance="10"
+     gridtolerance="10"
+     objecttolerance="10"
+     borderopacity="1"
+     bordercolor="#666666"
+     pagecolor="#ffffff" />
+  <!--
+Created by Hari Seldon and modified by orangain, licensed under Creative Commons Attribution-Share Alike 3.0 Unported.
+See: https://creativecommons.org/licenses/by-sa/3.0/deed.en
+
+Original file is available at: https://commons.wikimedia.org/wiki/File:Shogi_osho(svg).svg
+-->
+  <filter
+     id="drop-shadow">
+    <feGaussianBlur
+       id="feGaussianBlur4880"
+       stdDeviation="2"
+       result="blur"
+       in="SourceAlpha" />
+    <feOffset
+       id="feOffset4882"
+       dy="2"
+       dx="2"
+       result="offsetBlur" />
+    <feBlend
+       id="feBlend4884"
+       mode="normal"
+       in2="offsetBlur"
+       in="SourceGraphic" />
+  </filter>
+  <g
+     inkscape:label="Layer 1"
+     id="layer1"
+     transform="matrix(-1.3015765,0,0,-1.3015765,-9.895621,404.97829)">
+    <rect
+       style="opacity:1;fill:#edf0a1;fill-opacity:1;stroke:#000000;stroke-width:0.554749;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="rect5497-2"
+       width="34.787006"
+       height="34.787006"
+       x="-48.044888"
+       y="270.70197"
+       ry="2.1199546" />
+    <circle
+       style="opacity:1;fill:#0b58ad;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="path5973-0"
+       cx="-45.230762"
+       cy="273.83298"
+       r="1.2745767" />
+    <circle
+       style="opacity:1;fill:#0f57ab;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="path5973-1-6"
+       cx="-30.870708"
+       cy="273.73923"
+       r="1.2745767" />
+    <circle
+       style="opacity:1;fill:#0d5aac;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="path5973-1-8-8"
+       cx="-16.774204"
+       cy="273.77951"
+       r="1.2745767" />
+    <circle
+       style="opacity:1;fill:#0d5aac;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="path5973-1-7"
+       cx="-45.185184"
+       cy="288.05371"
+       r="1.2745767" />
+    <circle
+       style="opacity:1;fill:#0d5aac;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="path5973-1-9"
+       cx="-16.831141"
+       cy="287.99677"
+       r="1.2745767" />
+    <circle
+       style="opacity:1;fill:#0d5aac;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       id="path5973-1-0"
+       cx="-30.934549"
+       cy="302.49182"
+       r="1.2745767" />
+    <path
+       inkscape:connector-curvature="0"
+       id="path16248"
+       d="m -31.09696,299.47227 c 0.0095,-0.52127 0.05802,-0.92293 -0.610947,-0.59557 -0.85443,0.12097 -0.889136,-0.21522 -0.04394,-0.68328 0.93344,-0.51693 0.52879,-0.85019 -1.466111,-1.20745 -2.172542,-0.38907 -4.192654,-1.58878 -5.050403,-2.9994 -0.790183,-1.29947 -1.765666,-4.85974 -1.812239,-6.61418 -0.03751,-1.41302 -0.05424,-1.44006 -0.949045,-1.5346 -0.500963,-0.0529 -0.90076,-0.18737 -0.888426,-0.29876 0.06064,-0.54649 1.342995,-1.84264 1.901485,-1.92171 0.482403,-0.0683 1.065208,-0.79567 2.448718,-3.05617 1.954396,-3.19322 2.867922,-4.06623 3.678698,-3.51552 0.265415,0.18029 0.46239,0.5189 0.437711,0.75248 -0.03154,0.29849 0.101737,0.38169 0.448527,0.28 1.273294,-0.37343 1.425603,-0.32365 1.432469,0.46816 0.006,0.69712 0.09848,0.77933 0.884518,0.78669 0.74543,0.007 0.892853,0.11479 0.977824,0.71489 0.06623,0.46781 -0.113395,0.99447 -0.531534,1.55797 -0.629719,0.84878 -0.630543,0.85657 -0.2787,2.63746 0.869604,4.40167 0.790743,4.35218 7.614537,4.77933 0.859128,0.0538 0.944998,0.13794 1.048722,1.02673 0.405679,3.47681 -2.476426,6.46366 -6.863114,7.11257 -1.040053,0.15384 -1.901664,0.38069 -1.914705,0.50411 -0.01304,0.12343 0.327472,0.39004 0.756694,0.59247 0.878196,0.21503 0.605417,1.04634 -0.07841,0.65159 -0.538509,-0.31086 -0.556179,0.21386 -0.534405,0.51221 0.01781,0.24926 -0.125219,0.49028 -0.317816,0.53561 -0.322434,-0.10319 -0.300026,-0.43899 -0.290175,-0.48563 z m 3.855138,-3.3002 c 1.789437,-0.5862 3.607835,-1.93987 4.21373,-3.13686 0.481217,-1.07046 0.593381,-1.72965 0.548888,-3.21437 l -2.331599,-0.2393 c -4.2878,-0.11664 -5.813264,-1.13043 -6.17034,-4.10067 -0.398195,-3.3123 -1.414362,-4.74162 -3.529954,-4.96514 -1.907317,-0.20152 -4.161011,2.02701 -4.806714,4.75304 -0.538639,2.27398 0.656754,7.22981 2.172678,9.00746 1.846031,2.16474 6.413132,3.03892 9.903338,1.89558 z m -10.328753,-11.9987 c -0.194949,-0.72947 0.243336,-1.26905 0.89727,-1.10464 0.439844,0.11057 0.580945,0.33114 0.528624,0.82634 -0.05232,0.49518 -0.236396,0.68137 -0.689638,0.6976 -0.370854,0.0133 -0.665494,-0.15447 -0.736256,-0.4193 z m -2.26204,0.79557 c 0.119527,-0.23429 0.162966,-0.49309 0.09663,-0.57514 -0.154261,-0.1907 -1.00841,0.3706 -1.04157,0.68445 -0.04434,0.41963 0.720291,0.33116 0.944968,-0.10931 z m 9.376027,-4.4866 c 0.05251,-0.49702 -0.332386,-0.47964 -0.914509,0.0413 -0.390364,0.34933 -0.432657,0.52056 -0.199728,0.80852 0.23294,0.28799 0.378264,0.27412 0.6862,-0.0654 0.21487,-0.23691 0.407487,-0.5899 0.428037,-0.7844 z m -3.665022,-1.55259 c 0.118213,-1.1819 -0.209237,-1.48617 -0.928772,-0.86422 -0.350194,0.30269 -0.789171,0.85243 -0.975474,1.22162 l -0.338739,0.67128 1.087255,-0.17052 c 0.905397,-0.14199 1.09871,-0.28554 1.15573,-0.85816 z m 1.85388,0.59382 c 0.07792,-0.73751 -0.162538,-0.88163 -0.71942,-0.43118 -0.549736,0.44468 -0.494206,0.98599 0.10767,1.04958 0.396278,0.0419 0.559412,-0.12304 0.61175,-0.6184 z"
+       style="fill:#242424;stroke-width:0.271694"
+       sodipodi:nodetypes="scccccsccccsccscccccsscscccsccccscssccscccssccscccscsccccsssss" />
+    <path
+       style="opacity:1;fill:#d82a17;fill-opacity:1;stroke:#000000;stroke-width:0.0487106;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       d="m -39.830057,284.33445 c -0.276783,0.0304 -0.52047,0.20358 -0.728611,0.37929 -0.134606,0.13365 -0.335461,0.34709 -0.197293,0.542 0.175344,0.20382 0.487878,0.10429 0.686156,-0.009 0.269695,-0.16936 0.410184,-0.5177 0.368867,-0.82721 -0.01834,-0.0544 -0.07488,-0.0821 -0.129118,-0.085 z"
+       id="path16437"
+       inkscape:connector-curvature="0" />
+    <path
+       style="opacity:1;fill:#d82a17;fill-opacity:1;stroke:#000000;stroke-width:0.0688872;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       d="m -34.447197,277.72847 c -0.419763,0.0618 -0.71458,0.42649 -0.993164,0.71605 -0.369959,0.43048 -0.687414,0.92159 -0.891201,1.44922 0.07046,0.12741 0.26613,0.0135 0.37938,0.0226 0.51652,-0.105 1.074208,-0.11594 1.547292,-0.36848 0.340453,-0.20386 0.275841,-0.64853 0.318688,-0.98481 0.01323,-0.29611 -0.0075,-0.7473 -0.360993,-0.83461 z"
+       id="path16439"
+       inkscape:connector-curvature="0" />
+    <path
+       style="opacity:1;fill:#d82a17;fill-opacity:1;stroke:#000000;stroke-width:0.0688872;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       d="m -32.481251,278.81671 c -0.329586,0.0528 -0.580074,0.32865 -0.79179,0.56755 -0.18367,0.23394 -0.125644,0.63657 0.183044,0.72862 0.251854,0.0839 0.620882,0.089 0.73923,-0.20154 0.112891,-0.29634 0.166194,-0.65188 0.05015,-0.95441 -0.03733,-0.0659 -0.10301,-0.12984 -0.180634,-0.14022 z"
+       id="path16441"
+       inkscape:connector-curvature="0" />
+    <path
+       style="opacity:1;fill:#d82a17;fill-opacity:1;stroke:#000000;stroke-width:0.0688872;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       d="m -30.632906,280.10995 c -0.390383,0.0441 -0.706502,0.33919 -0.956638,0.6228 -0.137489,0.13193 -0.200958,0.3555 -0.0539,0.5062 0.10895,0.16841 0.327234,0.4162 0.539306,0.24398 0.308294,-0.25144 0.565873,-0.60239 0.661609,-0.99218 0.02413,-0.14399 -0.0098,-0.36433 -0.190367,-0.3808 z"
+       id="path16443"
+       inkscape:connector-curvature="0" />
+    <path
+       style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.944882;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+       d="m 62.210574,49.835998 c -7.602046,1.113589 -12.839704,8.152794 -15.526367,14.861328 -2.782026,8.63198 -0.699623,18.001013 1.951172,26.40625 2.141547,6.547016 5.991927,13.082154 12.644531,15.822264 10.003611,4.74327 22.121465,5.06319 32.338587,0.82686 6.810733,-3.16294 14.033553,-8.233637 15.188753,-16.237991 0.10685,-1.965379 1.38602,-4.718681 -0.18554,-6.318359 C 100.73961,83.249937 92.072342,84.616587 84.523074,81.166076 78.029951,78.154331 77.466206,70.171571 76.255496,64.033264 75.140123,58.455107 72.598968,52.001309 66.478152,50.464904 65.103259,50.027013 63.656885,49.770857 62.210574,49.835998 Z m -6.719726,9.563477 c 2.643469,-0.0866 2.498373,3.829211 1.166015,5.207031 -1.860948,0.956683 -5.182134,0.440375 -4.657226,-2.348633 -0.09317,-1.894851 1.727671,-3.085295 3.491211,-2.858398 z"
+       id="path16538"
+       inkscape:connector-curvature="0"
+       transform="matrix(0.26458333,0,0,0.26458333,-51.389145,267.35772)" />
+  </g>
+</svg>
diff --git a/pieces/Dobutsu/rev_lion.svg b/pieces/Dobutsu/rev_lion.svg
new file mode 100644 (file)
index 0000000..33c11d3
--- /dev/null
@@ -0,0 +1,201 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   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"
+   inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
+   sodipodi:docname="wki.svg"
+   id="svg4905"
+   version="1.1"
+   height="60"
+   width="60">
+  <metadata
+     id="metadata4911">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs4909" />
+  <sodipodi:namedview
+     inkscape:document-rotation="0"
+     inkscape:current-layer="svg4905"
+     inkscape:window-maximized="0"
+     inkscape:window-y="20"
+     inkscape:window-x="0"
+     inkscape:cy="59.217968"
+     inkscape:cx="48.32528"
+     inkscape:zoom="3.2959793"
+     showgrid="false"
+     id="namedview4907"
+     inkscape:window-height="1060"
+     inkscape:window-width="960"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0"
+     guidetolerance="10"
+     gridtolerance="10"
+     objecttolerance="10"
+     borderopacity="1"
+     bordercolor="#666666"
+     pagecolor="#ffffff" />
+  <!--
+Created by Hari Seldon and modified by orangain, licensed under Creative Commons Attribution-Share Alike 3.0 Unported.
+See: https://creativecommons.org/licenses/by-sa/3.0/deed.en
+
+Original file is available at: https://commons.wikimedia.org/wiki/File:Shogi_osho(svg).svg
+-->
+  <filter
+     id="drop-shadow">
+    <feGaussianBlur
+       id="feGaussianBlur4880"
+       stdDeviation="2"
+       result="blur"
+       in="SourceAlpha" />
+    <feOffset
+       id="feOffset4882"
+       dy="2"
+       dx="2"
+       result="offsetBlur" />
+    <feBlend
+       id="feBlend4884"
+       mode="normal"
+       in2="offsetBlur"
+       in="SourceGraphic" />
+  </filter>
+  <g
+     inkscape:label="Layer 1"
+     id="layer1"
+     transform="matrix(-1.3015766,0,0,-1.3015766,-9.895624,404.97833)">
+    <g
+       id="g6119"
+       transform="translate(0.39418863,0.66145971)">
+      <g
+         transform="matrix(0.85211113,0,0,0.85211113,-9.1404396,-13.169231)"
+         id="g5971">
+        <rect
+           style="opacity:1;fill:#f7c1c1;fill-opacity:1;stroke:#000000;stroke-width:0.651029;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke"
+           id="rect5497-2"
+           width="40.824493"
+           height="40.824493"
+           x="-46.119144"
+           y="332.36246"
+           ry="2.487885" />
+        <g
+           id="g5958"
+           transform="translate(-0.2672693,0.13363444)">
+          <path
+             sodipodi:nodetypes="ccsccccccssscsscsscsccccsccscccccc"
+             style="opacity:1;fill:#e4ac19;stroke:#000000;stroke-width:0.819396"
+             d="m -37.301682,366.13828 c 0.002,-0.11924 0.522273,-1.64077 1.156259,-3.3812 0.633988,-1.74043 1.152704,-3.2662 1.152704,-3.39063 0,-0.32365 -2.195217,-1.40951 -3.974473,-1.96596 l -1.517424,-0.47457 1.566993,-1.35283 c 1.954106,-1.68705 3.211789,-4.05509 2.964154,-5.58109 -0.183744,-1.13229 -1.423763,-3.2143 -3.267038,-5.48538 -0.88153,-1.08614 -1.070029,-1.47555 -0.722662,-1.49293 1.098081,-0.055 4.031467,0.58601 5.173172,1.13032 1.995908,0.95155 2.170218,0.71969 1.992058,-2.64997 -0.08402,-1.58904 -0.0512,-2.88917 0.0729,-2.88917 0.273899,0 4.946292,2.91618 5.998452,3.74381 0.414055,0.32569 0.941179,0.59217 1.171389,0.59217 0.23021,0 1.846068,-1.11994 3.590793,-2.48876 1.744725,-1.36882 3.25661,-2.40439 3.359742,-2.30126 0.103132,0.10314 0.258321,1.34246 0.344862,2.75405 0.08655,1.41159 0.254071,2.6631 0.372286,2.78116 0.118214,0.11804 0.718661,0.0636 1.334328,-0.12074 0.615665,-0.18447 2.200527,-0.33539 3.521914,-0.33539 h 2.402519 l -2.363791,2.42173 c -1.300086,1.33196 -2.36252,2.66527 -2.360967,2.96292 0.0045,0.86651 1.300484,3.41307 2.639495,5.18657 1.235324,1.63617 1.591495,2.4367 1.084151,2.4367 -0.42153,0 -5.13769,2.31254 -5.320982,2.6091 -0.09015,0.14587 0.02946,0.56156 0.265771,0.92377 0.398788,0.61121 2.195934,5.41847 2.195934,5.87398 0,0.11169 -0.162598,0.0745 -0.36133,-0.083 -0.682067,-0.53989 -3.542695,-1.44967 -5.682151,-1.80711 -2.96605,-0.49556 -8.442689,-0.42722 -10.530672,0.13138 -0.928028,0.24827 -2.669895,0.90539 -3.870816,1.46024 -2.390315,1.1044 -2.392717,1.1052 -2.387583,0.79204 z"
+             id="path5748"
+             inkscape:connector-curvature="0" />
+          <ellipse
+             ry="7.7261157"
+             rx="7.3980627"
+             transform="scale(1,-1)"
+             cy="-353.74197"
+             cx="-25.470678"
+             id="path5766"
+             style="opacity:1;fill:#fce377;fill-opacity:1;stroke:#000000;stroke-width:0.575783;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+          <circle
+             r="0.90203464"
+             cy="352.09091"
+             cx="-27.963072"
+             id="path5835"
+             style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.58824;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+          <g
+             style="stroke:#000000"
+             transform="translate(-0.73499179,1.5368003)"
+             id="g5904">
+            <path
+               style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+               d="m -24.989701,353.86158 c 0.639558,1.14696 1.410085,1.83553 2.405426,1.73725"
+               id="path5881"
+               inkscape:connector-curvature="0"
+               sodipodi:nodetypes="cc" />
+            <g
+               style="stroke:#000000"
+               id="g5898">
+              <path
+                 sodipodi:nodetypes="cc"
+                 inkscape:connector-curvature="0"
+                 id="path5879"
+                 d="m -27.127856,355.19792 c 2.20977,-0.3229 2.294654,-1.1816 2.228597,-2.43715"
+                 style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+              <path
+                 sodipodi:nodetypes="cc"
+                 inkscape:connector-curvature="0"
+                 id="path5883"
+                 d="m -26.552828,355.01933 c 0.905568,0.93577 2.165489,1.15095 3.071057,0.44884"
+                 style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+            </g>
+          </g>
+          <circle
+             r="0.90203464"
+             cy="352.12433"
+             cx="-23.252451"
+             id="path5835-6"
+             style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.58824;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+        </g>
+      </g>
+      <circle
+         r="1.2745767"
+         cy="273.17151"
+         cx="-45.62495"
+         id="path5973-0"
+         style="opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+      <circle
+         r="1.2745767"
+         cy="273.07776"
+         cx="-31.264896"
+         id="path5973-1-6"
+         style="opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+      <circle
+         r="1.2745767"
+         cy="273.11804"
+         cx="-17.168392"
+         id="path5973-1-8-1"
+         style="opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+      <circle
+         r="1.2745767"
+         cy="287.39224"
+         cx="-45.579372"
+         id="path5973-1-7"
+         style="opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+      <circle
+         r="1.2745767"
+         cy="287.3353"
+         cx="-17.225328"
+         id="path5973-1-9"
+         style="opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+      <circle
+         r="1.2745767"
+         cy="301.85394"
+         cx="-45.636307"
+         id="path5973-1-2-5"
+         style="opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+      <circle
+         r="1.2745767"
+         cy="301.83035"
+         cx="-31.328737"
+         id="path5973-1-0"
+         style="opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+      <circle
+         r="1.2745767"
+         cy="301.80676"
+         cx="-17.248911"
+         id="path5973-1-23-5"
+         style="opacity:1;fill:#e95c35;fill-opacity:1;stroke:#000000;stroke-width:0.340634;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke" />
+    </g>
+  </g>
+</svg>
index c2cb25f..af8462e 100644 (file)
@@ -5,8 +5,12 @@ export const ArrayFun = {
     return [...Array(size1)].map(() => Array(size2).fill(initElem));
   },
 
-  range: function(max) {
-    return [...Array(max).keys()];
+  range: function(min, max) {
+    if (!max) {
+      max = min;
+      min = 0;
+    }
+    return [...Array(max - min).keys()].map(k => k + min);
   },
 
   toObject: function(keys, values) {
index cad081a..f42033e 100644 (file)
@@ -43,8 +43,8 @@ const variants = [
   {name: 'Dark', desc: 'In the shadow'},
   {name: 'Diamond', desc: 'Rotating board'},
   {name: 'Dice', desc: 'Roll the dice'},
-//  {name: 'Discoduel', desc: 'Enter the disco', disp: 'Disco Duel'},
-//  {name: 'Dobutsu', desc: "Let's catch the Lion!"},
+  {name: 'Discoduel', desc: 'Enter the disco', disp: 'Disco Duel'},
+  {name: 'Dobutsu', desc: "Let's catch the Lion!"},
 //  {name: 'Doublearmy', desc: '64 pieces on the board', disp: 'Double Army'},
   {name: 'Doublemove', desc: 'Double moves'},
 //  {name: 'Dynamo', desc: 'Push and pull'},
index ee80550..8a4981f 100644 (file)
@@ -167,7 +167,7 @@ export default class AvalancheRules extends ChessRules {
     }
   }
 
-  atLeastOneMove(color, lastMove) {
+  atLeastOneMove(color) {
     if (this.subTurn == 0)
       return true;
     return super.atLeastOneMove(color);
index 9d771da..4ae7208 100644 (file)
@@ -20,8 +20,8 @@ export default class ChainingRules extends ChessRules {
     return true; //self captures induce chaining
   }
 
-  setOtherVariables(fenParsed, pieceArray) {
-    super.setOtherVariables(fenParsed, pieceArray);
+  setOtherVariables(fenParsed) {
+    super.setOtherVariables(fenParsed);
     // Stack of "last move" only for intermediate chaining
     this.lastMoveEnd = [];
   }
index 485bbd6..e8506db 100644 (file)
@@ -14,14 +14,6 @@ export default class ClorangeRules extends ChessRules {
     return true;
   }
 
-  getReserveFen(o) {
-    if (o.init)
-      return "00000000000000000000";
-    return (
-      ["w","b"].map(c => Object.values(this.reserve[c]).join("")).join("")
-    );
-  }
-
   pieces(color, x, y) {
     let res = super.pieces(color, x, y);
     res['s'] = {"class": "nv-pawn", moveas: "p"};
@@ -38,9 +30,8 @@ export default class ClorangeRules extends ChessRules {
   static get NV_PIECES() {
     return ['s', 'u', 'o', 'c', 't'];
   }
-
-  setOtherVariables(fen) {
-    super.setOtherVariables(fen, V.V_PIECES.concat(V.NV_PIECES));
+  static get ReserveArray() {
+    return V.V_PIECES.concat(V.NV_PIECES);
   }
 
   // Forbid non-violent pieces to capture
index bc99c63..cd2d1a9 100644 (file)
@@ -15,8 +15,8 @@ export default class ConvertRules extends ChessRules {
     return false;
   }
 
-  setOtherVariables(fenParsed, pieceArray) {
-    super.setOtherVariables(fenParsed, pieceArray);
+  setOtherVariables(fenParsed) {
+    super.setOtherVariables(fenParsed);
     // Stack of "last move" only for intermediate chaining
     this.lastMoveEnd = [];
   }
index 23f67c7..bbc35a4 100644 (file)
@@ -61,8 +61,8 @@ export default class CoregalRules extends ChessRules {
     );
   }
 
-  setOtherVariables(fenParsed, pieceArray) {
-    super.setOtherVariables(fenParsed, pieceArray);
+  setOtherVariables(fenParsed) {
+    super.setOtherVariables(fenParsed);
     this.relPos = {
       'w': {
         'k': fenParsed.relpos[0],
diff --git a/variants/Discoduel/class.js b/variants/Discoduel/class.js
new file mode 100644 (file)
index 0000000..c081b31
--- /dev/null
@@ -0,0 +1,51 @@
+import ChessRules from "/base_rules.js";
+import {ArrayFun} from "/utils/array.js"
+
+export default class DiscoduelRules extends ChessRules {
+
+  static get Options() {
+    return {}; //nothing would make sense
+  }
+
+  get pawnPromotions() {
+    return ['p'];
+  }
+
+  get hasFlags() {
+    return false;
+  }
+
+  genRandInitBaseFen() {
+    return {
+      fen: "1n4n1/8/8/8/8/8/PPPPPPPP/8",
+      o: {}
+    };
+  }
+
+  getPotentialMovesFrom([x, y]) {
+    const moves = super.getPotentialMovesFrom([x, y]);
+    if (this.turn == 'b')
+      // Prevent pawn captures on last rank:
+      return moves.filter(m => m.vanish.length == 1 || m.vanish[1].x != 0);
+    return moves;
+  }
+
+  filterValid(moves) {
+    return moves;
+  }
+
+  getCurrentScore() {
+    // No real winning condition (promotions count...)
+    if (
+      ArrayFun.range(1, this.size.x).every(row_idx => {
+        this.board[row_idx].every(square => square.charAt(0) != 'w')
+      })
+      ||
+      !this.atLeastOneMove(this.turn)
+    ) {
+      return "1/2";
+    }
+    return "*";
+  }
+
+};
diff --git a/variants/Discoduel/rules.html b/variants/Discoduel/rules.html
new file mode 100644 (file)
index 0000000..490d279
--- /dev/null
@@ -0,0 +1,5 @@
+<p>
+  Eight pawns try to promote, while the knights attempts to prevent them.
+  A pawn reaching last rank does not transform, but become immune to captures.
+</p>
+<p>Goal: "promoting" as many pawns as possible.</p>
diff --git a/variants/Discoduel/style.css b/variants/Discoduel/style.css
new file mode 100644 (file)
index 0000000..a3550bc
--- /dev/null
@@ -0,0 +1 @@
+@import url("/base_pieces.css");
diff --git a/variants/Dobutsu/class.js b/variants/Dobutsu/class.js
new file mode 100644 (file)
index 0000000..7632a17
--- /dev/null
@@ -0,0 +1,100 @@
+import ChessRules from "/base_rules.js";
+
+export default class DobutsuRules extends ChessRules {
+
+  static get Options() {
+    return {};
+  }
+
+  get hasFlags() {
+    return false;
+  }
+
+  get hasEnpassant() {
+    return false;
+  }
+
+  pieces(color, x, y) {
+    const pawnShift = this.getPawnShift(color || 'w');
+    // NOTE: classs change according to playerColor (orientation)
+    const mySide = (this.playerColor == color);
+    return {
+      'c': {
+        "class": (mySide ? "" : "rev-") + "chick",
+        both: [{steps: [[pawnShift, 0]], range: 1}]
+      },
+      'h': {
+        "class": (mySide ? "" : "rev-") + "hen",
+        both: [
+          {
+            steps: [
+              [pawnShift, 1], [pawnShift, -1],
+              [0, 1], [0, -1], [1, 0], [-1, 0]
+            ],
+            range: 1
+          }
+        ]
+      },
+      'e': {
+        "class": (mySide ? "" : "rev-") + "elephant",
+        both: [{steps: [[-1, 1], [-1, -1], [1, 1], [1, -1]], range: 1}]
+      },
+      'g': {
+        "class": (mySide ? "" : "rev-") + "giraffe",
+        both: [{steps: [[0, 1], [0, -1], [1, 0], [-1, 0]], range: 1}]
+      },
+      'l': {
+        "class": (mySide ? "" : "rev-") + "lion",
+        both: [{
+          steps: [[-1, 1], [-1, -1], [1, 1], [1, -1],
+                  [0, 1], [0, -1], [1, 0], [-1, 0]],
+          range: 1
+        }]
+      }
+    };
+  }
+
+  isKing(x, y, p) {
+    if (!p)
+      p = this.getPiece(x, y);
+    return (p == 'l');
+  }
+
+  static get ReserveArray() {
+    return ['p', 'h', 'e', 'g'];
+  }
+
+  constructor(o) {
+    o.options = {crazyhouse: true, taking: true};
+    super(o);
+  }
+
+  get pawnPromotions() {
+    return ['h'];
+  }
+
+  genRandInitBaseFen() {
+    return {
+      fen: "gle/1c1/1C1/ELG",
+      o: {}
+    };
+  }
+
+  get size() {
+    return {x: 4, y: 4};
+  }
+
+  getCurrentScore(move_s) {
+    const res = super.getCurrentScore(move_s);
+    if (res != '*')
+      return res;
+    const oppCol = C.GetOppTurn(this.turn);
+    const oppLastRank = (oppCol == 'b' ? 3 : 0);
+    for (let j=0; j < this.size.y; j++) {
+      if (this.board[oppLastRank][j] == oppCol + 'l')
+        return (oppCol == 'w' ? "1-0" : "0-1");
+    }
+    return "*";
+  }
+
+};
diff --git a/variants/Dobutsu/rules.html b/variants/Dobutsu/rules.html
new file mode 100644 (file)
index 0000000..45bbc5d
--- /dev/null
@@ -0,0 +1,12 @@
+<p>
+  Simplified Shogi game. Goal: capture the Lion.
+  Pieces move as indicated on them (red arrows).
+</p>
+
+<p>Captured units can be landed on the board later.</p>
+
+<p>
+  <a href="https://en.wikipedia.org/wiki/D%C5%8Dbutsu_sh%C5%8Dgi">
+    Wikipedia page
+  </a>.
+</p>
diff --git a/variants/Dobutsu/style.css b/variants/Dobutsu/style.css
new file mode 100644 (file)
index 0000000..fb861f1
--- /dev/null
@@ -0,0 +1,34 @@
+piece.chick {
+  background-image: url('/pieces/Dobutsu/chick.svg');
+}
+piece.rev-chick {
+  background-image: url('/pieces/Dobutsu/rev_chick.svg');
+}
+
+piece.hen {
+  background-image: url('/pieces/Dobutsu/hen.svg');
+}
+piece.rev-hen {
+  background-image: url('/pieces/Dobutsu/rev_hen.svg');
+}
+
+piece.elephant {
+  background-image: url('/pieces/Dobutsu/elephant.svg');
+}
+piece.rev-elephant {
+  background-image: url('/pieces/Dobutsu/rev_elephant.svg');
+}
+
+piece.giraffe {
+  background-image: url('/pieces/Dobutsu/giraffe.svg');
+}
+piece.rev-giraffe {
+  background-image: url('/pieces/Dobutsu/rev_giraffe.svg');
+}
+
+piece.lion {
+  background-image: url('/pieces/Dobutsu/lion.svg');
+}
+piece.rev-lion {
+  background-image: url('/pieces/Dobutsu/rev_lion.svg');
+}