From: Benjamin Auder Date: Thu, 23 Apr 2020 10:29:35 +0000 (+0200) Subject: Use symlinks for pieces images X-Git-Url: https://git.auder.net/variants/Chakart/doc/scripts/img/pieces/cp.svg?a=commitdiff_plain;h=a6363ac14efd09ad3c08c929a06af462995201bc;p=vchess.git Use symlinks for pieces images --- diff --git a/client/public/images/empty.svg b/client/public/images/empty.svg new file mode 100644 index 00000000..08ec9068 --- /dev/null +++ b/client/public/images/empty.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/client/public/images/pieces/Absorption/ba.svg b/client/public/images/pieces/Absorption/ba.svg deleted file mode 100644 index 0215b879..00000000 --- a/client/public/images/pieces/Absorption/ba.svg +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Absorption/ba.svg b/client/public/images/pieces/Absorption/ba.svg new file mode 120000 index 00000000..f7d2db9f --- /dev/null +++ b/client/public/images/pieces/Absorption/ba.svg @@ -0,0 +1 @@ +../Perfect/ba.svg \ No newline at end of file diff --git a/client/public/images/pieces/Absorption/be.svg b/client/public/images/pieces/Absorption/be.svg deleted file mode 100644 index 3b290276..00000000 --- a/client/public/images/pieces/Absorption/be.svg +++ /dev/null @@ -1,208 +0,0 @@ - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Absorption/be.svg b/client/public/images/pieces/Absorption/be.svg new file mode 120000 index 00000000..d3aaacf7 --- /dev/null +++ b/client/public/images/pieces/Absorption/be.svg @@ -0,0 +1 @@ +../Perfect/be.svg \ No newline at end of file diff --git a/client/public/images/pieces/Absorption/bs.svg b/client/public/images/pieces/Absorption/bs.svg deleted file mode 100644 index c34593d7..00000000 --- a/client/public/images/pieces/Absorption/bs.svg +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Absorption/bs.svg b/client/public/images/pieces/Absorption/bs.svg new file mode 120000 index 00000000..78e54f8d --- /dev/null +++ b/client/public/images/pieces/Absorption/bs.svg @@ -0,0 +1 @@ +../Perfect/bs.svg \ No newline at end of file diff --git a/client/public/images/pieces/Absorption/wa.svg b/client/public/images/pieces/Absorption/wa.svg deleted file mode 100644 index beeaaea1..00000000 --- a/client/public/images/pieces/Absorption/wa.svg +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Absorption/wa.svg b/client/public/images/pieces/Absorption/wa.svg new file mode 120000 index 00000000..bf7c616f --- /dev/null +++ b/client/public/images/pieces/Absorption/wa.svg @@ -0,0 +1 @@ +../Perfect/wa.svg \ No newline at end of file diff --git a/client/public/images/pieces/Absorption/we.svg b/client/public/images/pieces/Absorption/we.svg deleted file mode 100644 index cc1099c9..00000000 --- a/client/public/images/pieces/Absorption/we.svg +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Absorption/we.svg b/client/public/images/pieces/Absorption/we.svg new file mode 120000 index 00000000..f47feb0e --- /dev/null +++ b/client/public/images/pieces/Absorption/we.svg @@ -0,0 +1 @@ +../Perfect/we.svg \ No newline at end of file diff --git a/client/public/images/pieces/Absorption/ws.svg b/client/public/images/pieces/Absorption/ws.svg deleted file mode 100644 index ee56aff4..00000000 --- a/client/public/images/pieces/Absorption/ws.svg +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Absorption/ws.svg b/client/public/images/pieces/Absorption/ws.svg new file mode 120000 index 00000000..b0eb8b97 --- /dev/null +++ b/client/public/images/pieces/Absorption/ws.svg @@ -0,0 +1 @@ +../Perfect/ws.svg \ No newline at end of file diff --git a/client/public/images/pieces/Ambiguous/bc.svg b/client/public/images/pieces/Ambiguous/bc.svg deleted file mode 100644 index 03c42738..00000000 --- a/client/public/images/pieces/Ambiguous/bc.svg +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Ambiguous/bc.svg b/client/public/images/pieces/Ambiguous/bc.svg new file mode 120000 index 00000000..b30a26ad --- /dev/null +++ b/client/public/images/pieces/Ambiguous/bc.svg @@ -0,0 +1 @@ +../Alice/bc.svg \ No newline at end of file diff --git a/client/public/images/pieces/Ambiguous/bl.svg b/client/public/images/pieces/Ambiguous/bl.svg deleted file mode 100644 index 965d8dec..00000000 --- a/client/public/images/pieces/Ambiguous/bl.svg +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Ambiguous/bl.svg b/client/public/images/pieces/Ambiguous/bl.svg new file mode 120000 index 00000000..a10d9e0a --- /dev/null +++ b/client/public/images/pieces/Ambiguous/bl.svg @@ -0,0 +1 @@ +../Alice/bl.svg \ No newline at end of file diff --git a/client/public/images/pieces/Ambiguous/bo.svg b/client/public/images/pieces/Ambiguous/bo.svg deleted file mode 100644 index a3e425a5..00000000 --- a/client/public/images/pieces/Ambiguous/bo.svg +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Ambiguous/bo.svg b/client/public/images/pieces/Ambiguous/bo.svg new file mode 120000 index 00000000..1200186b --- /dev/null +++ b/client/public/images/pieces/Ambiguous/bo.svg @@ -0,0 +1 @@ +../Alice/bo.svg \ No newline at end of file diff --git a/client/public/images/pieces/Ambiguous/bs.svg b/client/public/images/pieces/Ambiguous/bs.svg deleted file mode 100644 index fab7c213..00000000 --- a/client/public/images/pieces/Ambiguous/bs.svg +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git a/client/public/images/pieces/Ambiguous/bs.svg b/client/public/images/pieces/Ambiguous/bs.svg new file mode 120000 index 00000000..e8cf23a8 --- /dev/null +++ b/client/public/images/pieces/Ambiguous/bs.svg @@ -0,0 +1 @@ +../Alice/bs.svg \ No newline at end of file diff --git a/client/public/images/pieces/Ambiguous/bt.svg b/client/public/images/pieces/Ambiguous/bt.svg deleted file mode 100644 index 311d5fd7..00000000 --- a/client/public/images/pieces/Ambiguous/bt.svg +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Ambiguous/bt.svg b/client/public/images/pieces/Ambiguous/bt.svg new file mode 120000 index 00000000..c517549b --- /dev/null +++ b/client/public/images/pieces/Ambiguous/bt.svg @@ -0,0 +1 @@ +../Alice/bt.svg \ No newline at end of file diff --git a/client/public/images/pieces/Ambiguous/bu.svg b/client/public/images/pieces/Ambiguous/bu.svg deleted file mode 100644 index bce3eed1..00000000 --- a/client/public/images/pieces/Ambiguous/bu.svg +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Ambiguous/bu.svg b/client/public/images/pieces/Ambiguous/bu.svg new file mode 120000 index 00000000..09e6ea3e --- /dev/null +++ b/client/public/images/pieces/Ambiguous/bu.svg @@ -0,0 +1 @@ +../Alice/bu.svg \ No newline at end of file diff --git a/client/public/images/pieces/Ambiguous/wc.svg b/client/public/images/pieces/Ambiguous/wc.svg deleted file mode 100644 index b51dea5a..00000000 --- a/client/public/images/pieces/Ambiguous/wc.svg +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Ambiguous/wc.svg b/client/public/images/pieces/Ambiguous/wc.svg new file mode 120000 index 00000000..d23af91d --- /dev/null +++ b/client/public/images/pieces/Ambiguous/wc.svg @@ -0,0 +1 @@ +../Alice/wc.svg \ No newline at end of file diff --git a/client/public/images/pieces/Ambiguous/wl.svg b/client/public/images/pieces/Ambiguous/wl.svg deleted file mode 100644 index 322c54c3..00000000 --- a/client/public/images/pieces/Ambiguous/wl.svg +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Ambiguous/wl.svg b/client/public/images/pieces/Ambiguous/wl.svg new file mode 120000 index 00000000..51c1893a --- /dev/null +++ b/client/public/images/pieces/Ambiguous/wl.svg @@ -0,0 +1 @@ +../Alice/wl.svg \ No newline at end of file diff --git a/client/public/images/pieces/Ambiguous/wo.svg b/client/public/images/pieces/Ambiguous/wo.svg deleted file mode 100644 index 0e3bd47e..00000000 --- a/client/public/images/pieces/Ambiguous/wo.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - diff --git a/client/public/images/pieces/Ambiguous/wo.svg b/client/public/images/pieces/Ambiguous/wo.svg new file mode 120000 index 00000000..4a85712d --- /dev/null +++ b/client/public/images/pieces/Ambiguous/wo.svg @@ -0,0 +1 @@ +../Alice/wo.svg \ No newline at end of file diff --git a/client/public/images/pieces/Ambiguous/ws.svg b/client/public/images/pieces/Ambiguous/ws.svg deleted file mode 100644 index dfcd791e..00000000 --- a/client/public/images/pieces/Ambiguous/ws.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - diff --git a/client/public/images/pieces/Ambiguous/ws.svg b/client/public/images/pieces/Ambiguous/ws.svg new file mode 120000 index 00000000..659b2de0 --- /dev/null +++ b/client/public/images/pieces/Ambiguous/ws.svg @@ -0,0 +1 @@ +../Alice/ws.svg \ No newline at end of file diff --git a/client/public/images/pieces/Ambiguous/wt.svg b/client/public/images/pieces/Ambiguous/wt.svg deleted file mode 100644 index e2a5a230..00000000 --- a/client/public/images/pieces/Ambiguous/wt.svg +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Ambiguous/wt.svg b/client/public/images/pieces/Ambiguous/wt.svg new file mode 120000 index 00000000..447fc4fe --- /dev/null +++ b/client/public/images/pieces/Ambiguous/wt.svg @@ -0,0 +1 @@ +../Alice/wt.svg \ No newline at end of file diff --git a/client/public/images/pieces/Ambiguous/wu.svg b/client/public/images/pieces/Ambiguous/wu.svg deleted file mode 100644 index b2bfd221..00000000 --- a/client/public/images/pieces/Ambiguous/wu.svg +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Ambiguous/wu.svg b/client/public/images/pieces/Ambiguous/wu.svg new file mode 120000 index 00000000..c1403b33 --- /dev/null +++ b/client/public/images/pieces/Ambiguous/wu.svg @@ -0,0 +1 @@ +../Alice/wu.svg \ No newline at end of file diff --git a/client/public/images/pieces/Apocalypse/empty.svg b/client/public/images/pieces/Apocalypse/empty.svg deleted file mode 100644 index 08ec9068..00000000 --- a/client/public/images/pieces/Apocalypse/empty.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/client/public/images/pieces/Apocalypse/empty.svg b/client/public/images/pieces/Apocalypse/empty.svg new file mode 120000 index 00000000..1355bb5e --- /dev/null +++ b/client/public/images/pieces/Apocalypse/empty.svg @@ -0,0 +1 @@ +../../empty.svg \ No newline at end of file diff --git a/client/public/images/pieces/Ball/bc.svg b/client/public/images/pieces/Ball/bc.svg new file mode 120000 index 00000000..b30a26ad --- /dev/null +++ b/client/public/images/pieces/Ball/bc.svg @@ -0,0 +1 @@ +../Alice/bc.svg \ No newline at end of file diff --git a/client/public/images/pieces/Ball/bd.svg b/client/public/images/pieces/Ball/bd.svg deleted file mode 100644 index 03c42738..00000000 --- a/client/public/images/pieces/Ball/bd.svg +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Ball/bl.svg b/client/public/images/pieces/Ball/bl.svg deleted file mode 100644 index 965d8dec..00000000 --- a/client/public/images/pieces/Ball/bl.svg +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Ball/bo.svg b/client/public/images/pieces/Ball/bo.svg deleted file mode 100644 index a3e425a5..00000000 --- a/client/public/images/pieces/Ball/bo.svg +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Ball/bo.svg b/client/public/images/pieces/Ball/bo.svg new file mode 120000 index 00000000..1200186b --- /dev/null +++ b/client/public/images/pieces/Ball/bo.svg @@ -0,0 +1 @@ +../Alice/bo.svg \ No newline at end of file diff --git a/client/public/images/pieces/Ball/bs.svg b/client/public/images/pieces/Ball/bs.svg deleted file mode 100644 index fab7c213..00000000 --- a/client/public/images/pieces/Ball/bs.svg +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git a/client/public/images/pieces/Ball/bs.svg b/client/public/images/pieces/Ball/bs.svg new file mode 120000 index 00000000..e8cf23a8 --- /dev/null +++ b/client/public/images/pieces/Ball/bs.svg @@ -0,0 +1 @@ +../Alice/bs.svg \ No newline at end of file diff --git a/client/public/images/pieces/Ball/bt.svg b/client/public/images/pieces/Ball/bt.svg deleted file mode 100644 index 311d5fd7..00000000 --- a/client/public/images/pieces/Ball/bt.svg +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Ball/bt.svg b/client/public/images/pieces/Ball/bt.svg new file mode 120000 index 00000000..c517549b --- /dev/null +++ b/client/public/images/pieces/Ball/bt.svg @@ -0,0 +1 @@ +../Alice/bt.svg \ No newline at end of file diff --git a/client/public/images/pieces/Ball/bu.svg b/client/public/images/pieces/Ball/bu.svg deleted file mode 100644 index bce3eed1..00000000 --- a/client/public/images/pieces/Ball/bu.svg +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Ball/bu.svg b/client/public/images/pieces/Ball/bu.svg new file mode 120000 index 00000000..09e6ea3e --- /dev/null +++ b/client/public/images/pieces/Ball/bu.svg @@ -0,0 +1 @@ +../Alice/bu.svg \ No newline at end of file diff --git a/client/public/images/pieces/Ball/inplace.svg b/client/public/images/pieces/Ball/inplace.svg new file mode 100644 index 00000000..8afdeff3 --- /dev/null +++ b/client/public/images/pieces/Ball/inplace.svg @@ -0,0 +1,61 @@ + + + + + +Created by potrace 1.15, written by Peter Selinger 2001-2017 + + + image/svg+xml + + + + + + + + diff --git a/client/public/images/pieces/Ball/wc.svg b/client/public/images/pieces/Ball/wc.svg new file mode 120000 index 00000000..d23af91d --- /dev/null +++ b/client/public/images/pieces/Ball/wc.svg @@ -0,0 +1 @@ +../Alice/wc.svg \ No newline at end of file diff --git a/client/public/images/pieces/Ball/wd.svg b/client/public/images/pieces/Ball/wd.svg deleted file mode 100644 index b51dea5a..00000000 --- a/client/public/images/pieces/Ball/wd.svg +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Ball/wl.svg b/client/public/images/pieces/Ball/wl.svg deleted file mode 100644 index 322c54c3..00000000 --- a/client/public/images/pieces/Ball/wl.svg +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Ball/wo.svg b/client/public/images/pieces/Ball/wo.svg deleted file mode 100644 index 0e3bd47e..00000000 --- a/client/public/images/pieces/Ball/wo.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - diff --git a/client/public/images/pieces/Ball/wo.svg b/client/public/images/pieces/Ball/wo.svg new file mode 120000 index 00000000..4a85712d --- /dev/null +++ b/client/public/images/pieces/Ball/wo.svg @@ -0,0 +1 @@ +../Alice/wo.svg \ No newline at end of file diff --git a/client/public/images/pieces/Ball/ws.svg b/client/public/images/pieces/Ball/ws.svg deleted file mode 100644 index dfcd791e..00000000 --- a/client/public/images/pieces/Ball/ws.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - diff --git a/client/public/images/pieces/Ball/ws.svg b/client/public/images/pieces/Ball/ws.svg new file mode 120000 index 00000000..659b2de0 --- /dev/null +++ b/client/public/images/pieces/Ball/ws.svg @@ -0,0 +1 @@ +../Alice/ws.svg \ No newline at end of file diff --git a/client/public/images/pieces/Ball/wt.svg b/client/public/images/pieces/Ball/wt.svg deleted file mode 100644 index e2a5a230..00000000 --- a/client/public/images/pieces/Ball/wt.svg +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Ball/wt.svg b/client/public/images/pieces/Ball/wt.svg new file mode 120000 index 00000000..447fc4fe --- /dev/null +++ b/client/public/images/pieces/Ball/wt.svg @@ -0,0 +1 @@ +../Alice/wt.svg \ No newline at end of file diff --git a/client/public/images/pieces/Ball/wu.svg b/client/public/images/pieces/Ball/wu.svg deleted file mode 100644 index b2bfd221..00000000 --- a/client/public/images/pieces/Ball/wu.svg +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Ball/wu.svg b/client/public/images/pieces/Ball/wu.svg new file mode 120000 index 00000000..c1403b33 --- /dev/null +++ b/client/public/images/pieces/Ball/wu.svg @@ -0,0 +1 @@ +../Alice/wu.svg \ No newline at end of file diff --git a/client/public/images/pieces/Cannibal/bc.svg b/client/public/images/pieces/Cannibal/bc.svg deleted file mode 100644 index 03c42738..00000000 --- a/client/public/images/pieces/Cannibal/bc.svg +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Cannibal/bc.svg b/client/public/images/pieces/Cannibal/bc.svg new file mode 120000 index 00000000..b30a26ad --- /dev/null +++ b/client/public/images/pieces/Cannibal/bc.svg @@ -0,0 +1 @@ +../Alice/bc.svg \ No newline at end of file diff --git a/client/public/images/pieces/Cannibal/bl.svg b/client/public/images/pieces/Cannibal/bl.svg deleted file mode 100644 index 965d8dec..00000000 --- a/client/public/images/pieces/Cannibal/bl.svg +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Cannibal/bo.svg b/client/public/images/pieces/Cannibal/bo.svg deleted file mode 100644 index a3e425a5..00000000 --- a/client/public/images/pieces/Cannibal/bo.svg +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Cannibal/bo.svg b/client/public/images/pieces/Cannibal/bo.svg new file mode 120000 index 00000000..1200186b --- /dev/null +++ b/client/public/images/pieces/Cannibal/bo.svg @@ -0,0 +1 @@ +../Alice/bo.svg \ No newline at end of file diff --git a/client/public/images/pieces/Cannibal/bs.svg b/client/public/images/pieces/Cannibal/bs.svg deleted file mode 100644 index fab7c213..00000000 --- a/client/public/images/pieces/Cannibal/bs.svg +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git a/client/public/images/pieces/Cannibal/bs.svg b/client/public/images/pieces/Cannibal/bs.svg new file mode 120000 index 00000000..e8cf23a8 --- /dev/null +++ b/client/public/images/pieces/Cannibal/bs.svg @@ -0,0 +1 @@ +../Alice/bs.svg \ No newline at end of file diff --git a/client/public/images/pieces/Cannibal/bt.svg b/client/public/images/pieces/Cannibal/bt.svg deleted file mode 100644 index 311d5fd7..00000000 --- a/client/public/images/pieces/Cannibal/bt.svg +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Cannibal/bt.svg b/client/public/images/pieces/Cannibal/bt.svg new file mode 120000 index 00000000..c517549b --- /dev/null +++ b/client/public/images/pieces/Cannibal/bt.svg @@ -0,0 +1 @@ +../Alice/bt.svg \ No newline at end of file diff --git a/client/public/images/pieces/Cannibal/bu.svg b/client/public/images/pieces/Cannibal/bu.svg deleted file mode 100644 index bce3eed1..00000000 --- a/client/public/images/pieces/Cannibal/bu.svg +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Cannibal/bu.svg b/client/public/images/pieces/Cannibal/bu.svg new file mode 120000 index 00000000..09e6ea3e --- /dev/null +++ b/client/public/images/pieces/Cannibal/bu.svg @@ -0,0 +1 @@ +../Alice/bu.svg \ No newline at end of file diff --git a/client/public/images/pieces/Cannibal/wc.svg b/client/public/images/pieces/Cannibal/wc.svg deleted file mode 100644 index b51dea5a..00000000 --- a/client/public/images/pieces/Cannibal/wc.svg +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Cannibal/wc.svg b/client/public/images/pieces/Cannibal/wc.svg new file mode 120000 index 00000000..d23af91d --- /dev/null +++ b/client/public/images/pieces/Cannibal/wc.svg @@ -0,0 +1 @@ +../Alice/wc.svg \ No newline at end of file diff --git a/client/public/images/pieces/Cannibal/wl.svg b/client/public/images/pieces/Cannibal/wl.svg deleted file mode 100644 index 322c54c3..00000000 --- a/client/public/images/pieces/Cannibal/wl.svg +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Cannibal/wo.svg b/client/public/images/pieces/Cannibal/wo.svg deleted file mode 100644 index 0e3bd47e..00000000 --- a/client/public/images/pieces/Cannibal/wo.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - diff --git a/client/public/images/pieces/Cannibal/wo.svg b/client/public/images/pieces/Cannibal/wo.svg new file mode 120000 index 00000000..4a85712d --- /dev/null +++ b/client/public/images/pieces/Cannibal/wo.svg @@ -0,0 +1 @@ +../Alice/wo.svg \ No newline at end of file diff --git a/client/public/images/pieces/Cannibal/ws.svg b/client/public/images/pieces/Cannibal/ws.svg deleted file mode 100644 index dfcd791e..00000000 --- a/client/public/images/pieces/Cannibal/ws.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - diff --git a/client/public/images/pieces/Cannibal/ws.svg b/client/public/images/pieces/Cannibal/ws.svg new file mode 120000 index 00000000..659b2de0 --- /dev/null +++ b/client/public/images/pieces/Cannibal/ws.svg @@ -0,0 +1 @@ +../Alice/ws.svg \ No newline at end of file diff --git a/client/public/images/pieces/Cannibal/wt.svg b/client/public/images/pieces/Cannibal/wt.svg deleted file mode 100644 index e2a5a230..00000000 --- a/client/public/images/pieces/Cannibal/wt.svg +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Cannibal/wt.svg b/client/public/images/pieces/Cannibal/wt.svg new file mode 120000 index 00000000..447fc4fe --- /dev/null +++ b/client/public/images/pieces/Cannibal/wt.svg @@ -0,0 +1 @@ +../Alice/wt.svg \ No newline at end of file diff --git a/client/public/images/pieces/Cannibal/wu.svg b/client/public/images/pieces/Cannibal/wu.svg deleted file mode 100644 index b2bfd221..00000000 --- a/client/public/images/pieces/Cannibal/wu.svg +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Cannibal/wu.svg b/client/public/images/pieces/Cannibal/wu.svg new file mode 120000 index 00000000..c1403b33 --- /dev/null +++ b/client/public/images/pieces/Cannibal/wu.svg @@ -0,0 +1 @@ +../Alice/wu.svg \ No newline at end of file diff --git a/client/public/images/pieces/Chakart/bc.svg b/client/public/images/pieces/Chakart/bc.svg deleted file mode 100644 index 03c42738..00000000 --- a/client/public/images/pieces/Chakart/bc.svg +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Chakart/bc.svg b/client/public/images/pieces/Chakart/bc.svg new file mode 120000 index 00000000..b30a26ad --- /dev/null +++ b/client/public/images/pieces/Chakart/bc.svg @@ -0,0 +1 @@ +../Alice/bc.svg \ No newline at end of file diff --git a/client/public/images/pieces/Chakart/bl.svg b/client/public/images/pieces/Chakart/bl.svg deleted file mode 100644 index 965d8dec..00000000 --- a/client/public/images/pieces/Chakart/bl.svg +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Chakart/bl.svg b/client/public/images/pieces/Chakart/bl.svg new file mode 120000 index 00000000..a10d9e0a --- /dev/null +++ b/client/public/images/pieces/Chakart/bl.svg @@ -0,0 +1 @@ +../Alice/bl.svg \ No newline at end of file diff --git a/client/public/images/pieces/Chakart/bo.svg b/client/public/images/pieces/Chakart/bo.svg deleted file mode 100644 index a3e425a5..00000000 --- a/client/public/images/pieces/Chakart/bo.svg +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Chakart/bo.svg b/client/public/images/pieces/Chakart/bo.svg new file mode 120000 index 00000000..1200186b --- /dev/null +++ b/client/public/images/pieces/Chakart/bo.svg @@ -0,0 +1 @@ +../Alice/bo.svg \ No newline at end of file diff --git a/client/public/images/pieces/Chakart/bs.svg b/client/public/images/pieces/Chakart/bs.svg deleted file mode 100644 index fab7c213..00000000 --- a/client/public/images/pieces/Chakart/bs.svg +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - diff --git a/client/public/images/pieces/Chakart/bs.svg b/client/public/images/pieces/Chakart/bs.svg new file mode 120000 index 00000000..e8cf23a8 --- /dev/null +++ b/client/public/images/pieces/Chakart/bs.svg @@ -0,0 +1 @@ +../Alice/bs.svg \ No newline at end of file diff --git a/client/public/images/pieces/Chakart/bt.svg b/client/public/images/pieces/Chakart/bt.svg deleted file mode 100644 index 311d5fd7..00000000 --- a/client/public/images/pieces/Chakart/bt.svg +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Chakart/bt.svg b/client/public/images/pieces/Chakart/bt.svg new file mode 120000 index 00000000..c517549b --- /dev/null +++ b/client/public/images/pieces/Chakart/bt.svg @@ -0,0 +1 @@ +../Alice/bt.svg \ No newline at end of file diff --git a/client/public/images/pieces/Chakart/bu.svg b/client/public/images/pieces/Chakart/bu.svg deleted file mode 100644 index bce3eed1..00000000 --- a/client/public/images/pieces/Chakart/bu.svg +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Chakart/bu.svg b/client/public/images/pieces/Chakart/bu.svg new file mode 120000 index 00000000..09e6ea3e --- /dev/null +++ b/client/public/images/pieces/Chakart/bu.svg @@ -0,0 +1 @@ +../Alice/bu.svg \ No newline at end of file diff --git a/client/public/images/pieces/Chakart/wc.svg b/client/public/images/pieces/Chakart/wc.svg deleted file mode 100644 index b51dea5a..00000000 --- a/client/public/images/pieces/Chakart/wc.svg +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Chakart/wc.svg b/client/public/images/pieces/Chakart/wc.svg new file mode 120000 index 00000000..d23af91d --- /dev/null +++ b/client/public/images/pieces/Chakart/wc.svg @@ -0,0 +1 @@ +../Alice/wc.svg \ No newline at end of file diff --git a/client/public/images/pieces/Chakart/wl.svg b/client/public/images/pieces/Chakart/wl.svg deleted file mode 100644 index 322c54c3..00000000 --- a/client/public/images/pieces/Chakart/wl.svg +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Chakart/wl.svg b/client/public/images/pieces/Chakart/wl.svg new file mode 120000 index 00000000..51c1893a --- /dev/null +++ b/client/public/images/pieces/Chakart/wl.svg @@ -0,0 +1 @@ +../Alice/wl.svg \ No newline at end of file diff --git a/client/public/images/pieces/Chakart/wo.svg b/client/public/images/pieces/Chakart/wo.svg deleted file mode 100644 index 0e3bd47e..00000000 --- a/client/public/images/pieces/Chakart/wo.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - diff --git a/client/public/images/pieces/Chakart/wo.svg b/client/public/images/pieces/Chakart/wo.svg new file mode 120000 index 00000000..4a85712d --- /dev/null +++ b/client/public/images/pieces/Chakart/wo.svg @@ -0,0 +1 @@ +../Alice/wo.svg \ No newline at end of file diff --git a/client/public/images/pieces/Chakart/ws.svg b/client/public/images/pieces/Chakart/ws.svg deleted file mode 100644 index dfcd791e..00000000 --- a/client/public/images/pieces/Chakart/ws.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - diff --git a/client/public/images/pieces/Chakart/ws.svg b/client/public/images/pieces/Chakart/ws.svg new file mode 120000 index 00000000..659b2de0 --- /dev/null +++ b/client/public/images/pieces/Chakart/ws.svg @@ -0,0 +1 @@ +../Alice/ws.svg \ No newline at end of file diff --git a/client/public/images/pieces/Chakart/wt.svg b/client/public/images/pieces/Chakart/wt.svg deleted file mode 100644 index e2a5a230..00000000 --- a/client/public/images/pieces/Chakart/wt.svg +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Chakart/wt.svg b/client/public/images/pieces/Chakart/wt.svg new file mode 120000 index 00000000..447fc4fe --- /dev/null +++ b/client/public/images/pieces/Chakart/wt.svg @@ -0,0 +1 @@ +../Alice/wt.svg \ No newline at end of file diff --git a/client/public/images/pieces/Chakart/wu.svg b/client/public/images/pieces/Chakart/wu.svg deleted file mode 100644 index b2bfd221..00000000 --- a/client/public/images/pieces/Chakart/wu.svg +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Chakart/wu.svg b/client/public/images/pieces/Chakart/wu.svg new file mode 120000 index 00000000..c1403b33 --- /dev/null +++ b/client/public/images/pieces/Chakart/wu.svg @@ -0,0 +1 @@ +../Alice/wu.svg \ No newline at end of file diff --git a/client/public/images/pieces/Doublearmy/bc.svg b/client/public/images/pieces/Doublearmy/bc.svg deleted file mode 100644 index 09954492..00000000 --- a/client/public/images/pieces/Doublearmy/bc.svg +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Doublearmy/bc.svg b/client/public/images/pieces/Doublearmy/bc.svg new file mode 120000 index 00000000..fd8c4dcd --- /dev/null +++ b/client/public/images/pieces/Doublearmy/bc.svg @@ -0,0 +1 @@ +../Knightmate/bc.svg \ No newline at end of file diff --git a/client/public/images/pieces/Doublearmy/wc.svg b/client/public/images/pieces/Doublearmy/wc.svg deleted file mode 100644 index 12f2b27a..00000000 --- a/client/public/images/pieces/Doublearmy/wc.svg +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Doublearmy/wc.svg b/client/public/images/pieces/Doublearmy/wc.svg new file mode 120000 index 00000000..da0c3b95 --- /dev/null +++ b/client/public/images/pieces/Doublearmy/wc.svg @@ -0,0 +1 @@ +../Knightmate/wc.svg \ No newline at end of file diff --git a/client/public/images/pieces/Grand/bc.svg b/client/public/images/pieces/Grand/bc.svg deleted file mode 100644 index c34593d7..00000000 --- a/client/public/images/pieces/Grand/bc.svg +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Grand/bc.svg b/client/public/images/pieces/Grand/bc.svg new file mode 120000 index 00000000..78e54f8d --- /dev/null +++ b/client/public/images/pieces/Grand/bc.svg @@ -0,0 +1 @@ +../Perfect/bs.svg \ No newline at end of file diff --git a/client/public/images/pieces/Grand/bm.svg b/client/public/images/pieces/Grand/bm.svg deleted file mode 100644 index 3b290276..00000000 --- a/client/public/images/pieces/Grand/bm.svg +++ /dev/null @@ -1,208 +0,0 @@ - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Grand/bm.svg b/client/public/images/pieces/Grand/bm.svg new file mode 120000 index 00000000..d3aaacf7 --- /dev/null +++ b/client/public/images/pieces/Grand/bm.svg @@ -0,0 +1 @@ +../Perfect/be.svg \ No newline at end of file diff --git a/client/public/images/pieces/Grand/wc.svg b/client/public/images/pieces/Grand/wc.svg deleted file mode 100644 index ee56aff4..00000000 --- a/client/public/images/pieces/Grand/wc.svg +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Grand/wc.svg b/client/public/images/pieces/Grand/wc.svg new file mode 120000 index 00000000..b0eb8b97 --- /dev/null +++ b/client/public/images/pieces/Grand/wc.svg @@ -0,0 +1 @@ +../Perfect/ws.svg \ No newline at end of file diff --git a/client/public/images/pieces/Grand/wm.svg b/client/public/images/pieces/Grand/wm.svg deleted file mode 100644 index cc1099c9..00000000 --- a/client/public/images/pieces/Grand/wm.svg +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Grand/wm.svg b/client/public/images/pieces/Grand/wm.svg new file mode 120000 index 00000000..f47feb0e --- /dev/null +++ b/client/public/images/pieces/Grand/wm.svg @@ -0,0 +1 @@ +../Perfect/we.svg \ No newline at end of file diff --git a/client/public/images/pieces/Hamilton/hole.svg b/client/public/images/pieces/Hamilton/hole.svg deleted file mode 100644 index 7c96145d..00000000 --- a/client/public/images/pieces/Hamilton/hole.svg +++ /dev/null @@ -1,110 +0,0 @@ - - - -image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/client/public/images/pieces/Hamilton/hole.svg b/client/public/images/pieces/Hamilton/hole.svg new file mode 120000 index 00000000..aa0b3efb --- /dev/null +++ b/client/public/images/pieces/Hamilton/hole.svg @@ -0,0 +1 @@ +../Wormhole/hole.svg \ No newline at end of file diff --git a/client/public/images/pieces/Maxima/bm.svg b/client/public/images/pieces/Maxima/bm.svg deleted file mode 100644 index fdc0ee59..00000000 --- a/client/public/images/pieces/Maxima/bm.svg +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Maxima/bm.svg b/client/public/images/pieces/Maxima/bm.svg new file mode 120000 index 00000000..ead180c0 --- /dev/null +++ b/client/public/images/pieces/Maxima/bm.svg @@ -0,0 +1 @@ +../Baroque/bm.svg \ No newline at end of file diff --git a/client/public/images/pieces/Maxima/wm.svg b/client/public/images/pieces/Maxima/wm.svg deleted file mode 100644 index bf9f16ad..00000000 --- a/client/public/images/pieces/Maxima/wm.svg +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Maxima/wm.svg b/client/public/images/pieces/Maxima/wm.svg new file mode 120000 index 00000000..bba021a8 --- /dev/null +++ b/client/public/images/pieces/Maxima/wm.svg @@ -0,0 +1 @@ +../Baroque/wm.svg \ No newline at end of file diff --git a/client/public/images/pieces/Omega/nothing.svg b/client/public/images/pieces/Omega/nothing.svg deleted file mode 100644 index affd020e..00000000 --- a/client/public/images/pieces/Omega/nothing.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - diff --git a/client/public/images/pieces/Omega/nothing.svg b/client/public/images/pieces/Omega/nothing.svg new file mode 120000 index 00000000..5ff7c220 --- /dev/null +++ b/client/public/images/pieces/Omega/nothing.svg @@ -0,0 +1 @@ +../Maxima/nothing.svg \ No newline at end of file diff --git a/client/public/images/pieces/Rococo/bm.svg b/client/public/images/pieces/Rococo/bm.svg deleted file mode 100644 index fdc0ee59..00000000 --- a/client/public/images/pieces/Rococo/bm.svg +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Rococo/bm.svg b/client/public/images/pieces/Rococo/bm.svg new file mode 120000 index 00000000..ead180c0 --- /dev/null +++ b/client/public/images/pieces/Rococo/bm.svg @@ -0,0 +1 @@ +../Baroque/bm.svg \ No newline at end of file diff --git a/client/public/images/pieces/Rococo/empty.svg b/client/public/images/pieces/Rococo/empty.svg deleted file mode 100644 index 08ec9068..00000000 --- a/client/public/images/pieces/Rococo/empty.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/client/public/images/pieces/Rococo/empty.svg b/client/public/images/pieces/Rococo/empty.svg new file mode 120000 index 00000000..1355bb5e --- /dev/null +++ b/client/public/images/pieces/Rococo/empty.svg @@ -0,0 +1 @@ +../../empty.svg \ No newline at end of file diff --git a/client/public/images/pieces/Rococo/wm.svg b/client/public/images/pieces/Rococo/wm.svg deleted file mode 100644 index bf9f16ad..00000000 --- a/client/public/images/pieces/Rococo/wm.svg +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Rococo/wm.svg b/client/public/images/pieces/Rococo/wm.svg new file mode 120000 index 00000000..bba021a8 --- /dev/null +++ b/client/public/images/pieces/Rococo/wm.svg @@ -0,0 +1 @@ +../Baroque/wm.svg \ No newline at end of file diff --git a/client/public/images/pieces/SOURCE b/client/public/images/pieces/SOURCE index ebc49a2b..727a6a15 100644 --- a/client/public/images/pieces/SOURCE +++ b/client/public/images/pieces/SOURCE @@ -8,3 +8,4 @@ for the pychess-variants website (http://pychess-variants.herokuapp.com/) He also designed all the Horde pieces in Orda, the Shako Cannon and Elephant, the black Colorbound + Sittuyin pieces set, and he sent me the wizard and champion SVG files as well (modified from Wikipedia) +Letter D: https://svgsilh.com/image/2051714.html diff --git a/client/public/images/pieces/Schess/oo.svg b/client/public/images/pieces/Schess/oo.svg deleted file mode 100644 index 08ec9068..00000000 --- a/client/public/images/pieces/Schess/oo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/client/public/images/pieces/Schess/oo.svg b/client/public/images/pieces/Schess/oo.svg new file mode 120000 index 00000000..1355bb5e --- /dev/null +++ b/client/public/images/pieces/Schess/oo.svg @@ -0,0 +1 @@ +../../empty.svg \ No newline at end of file diff --git a/client/public/images/pieces/Shatranj/bb.svg b/client/public/images/pieces/Shatranj/bb.svg deleted file mode 100644 index 5868980b..00000000 --- a/client/public/images/pieces/Shatranj/bb.svg +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Shatranj/bb.svg b/client/public/images/pieces/Shatranj/bb.svg new file mode 120000 index 00000000..a41e488c --- /dev/null +++ b/client/public/images/pieces/Shatranj/bb.svg @@ -0,0 +1 @@ +../Schess/be.svg \ No newline at end of file diff --git a/client/public/images/pieces/Shatranj/wb.svg b/client/public/images/pieces/Shatranj/wb.svg deleted file mode 100644 index 05f8ffa8..00000000 --- a/client/public/images/pieces/Shatranj/wb.svg +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Shatranj/wb.svg b/client/public/images/pieces/Shatranj/wb.svg new file mode 120000 index 00000000..5fa12c93 --- /dev/null +++ b/client/public/images/pieces/Shatranj/wb.svg @@ -0,0 +1 @@ +../Schess/we.svg \ No newline at end of file diff --git a/client/public/images/pieces/Tencubed/ba.svg b/client/public/images/pieces/Tencubed/ba.svg deleted file mode 100644 index afc27f05..00000000 --- a/client/public/images/pieces/Tencubed/ba.svg +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Tencubed/ba.svg b/client/public/images/pieces/Tencubed/ba.svg new file mode 120000 index 00000000..78e54f8d --- /dev/null +++ b/client/public/images/pieces/Tencubed/ba.svg @@ -0,0 +1 @@ +../Perfect/bs.svg \ No newline at end of file diff --git a/client/public/images/pieces/Tencubed/bc.svg b/client/public/images/pieces/Tencubed/bc.svg deleted file mode 100644 index c34593d7..00000000 --- a/client/public/images/pieces/Tencubed/bc.svg +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Tencubed/bc.svg b/client/public/images/pieces/Tencubed/bc.svg new file mode 120000 index 00000000..72fcf2c6 --- /dev/null +++ b/client/public/images/pieces/Tencubed/bc.svg @@ -0,0 +1 @@ +../Omega/bc.svg \ No newline at end of file diff --git a/client/public/images/pieces/Tencubed/bm.svg b/client/public/images/pieces/Tencubed/bm.svg deleted file mode 100644 index 3b290276..00000000 --- a/client/public/images/pieces/Tencubed/bm.svg +++ /dev/null @@ -1,208 +0,0 @@ - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Tencubed/bm.svg b/client/public/images/pieces/Tencubed/bm.svg new file mode 120000 index 00000000..d3aaacf7 --- /dev/null +++ b/client/public/images/pieces/Tencubed/bm.svg @@ -0,0 +1 @@ +../Perfect/be.svg \ No newline at end of file diff --git a/client/public/images/pieces/Tencubed/bw.svg b/client/public/images/pieces/Tencubed/bw.svg deleted file mode 100644 index 70e9b793..00000000 --- a/client/public/images/pieces/Tencubed/bw.svg +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Tencubed/bw.svg b/client/public/images/pieces/Tencubed/bw.svg new file mode 120000 index 00000000..0c3782e8 --- /dev/null +++ b/client/public/images/pieces/Tencubed/bw.svg @@ -0,0 +1 @@ +../Omega/bw.svg \ No newline at end of file diff --git a/client/public/images/pieces/Tencubed/wa.svg b/client/public/images/pieces/Tencubed/wa.svg deleted file mode 100644 index b45ea509..00000000 --- a/client/public/images/pieces/Tencubed/wa.svg +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Tencubed/wa.svg b/client/public/images/pieces/Tencubed/wa.svg new file mode 120000 index 00000000..b0eb8b97 --- /dev/null +++ b/client/public/images/pieces/Tencubed/wa.svg @@ -0,0 +1 @@ +../Perfect/ws.svg \ No newline at end of file diff --git a/client/public/images/pieces/Tencubed/wc.svg b/client/public/images/pieces/Tencubed/wc.svg deleted file mode 100644 index ee56aff4..00000000 --- a/client/public/images/pieces/Tencubed/wc.svg +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Tencubed/wc.svg b/client/public/images/pieces/Tencubed/wc.svg new file mode 120000 index 00000000..c6fc3f5e --- /dev/null +++ b/client/public/images/pieces/Tencubed/wc.svg @@ -0,0 +1 @@ +../Omega/wc.svg \ No newline at end of file diff --git a/client/public/images/pieces/Tencubed/wm.svg b/client/public/images/pieces/Tencubed/wm.svg deleted file mode 100644 index cc1099c9..00000000 --- a/client/public/images/pieces/Tencubed/wm.svg +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Tencubed/wm.svg b/client/public/images/pieces/Tencubed/wm.svg new file mode 120000 index 00000000..f47feb0e --- /dev/null +++ b/client/public/images/pieces/Tencubed/wm.svg @@ -0,0 +1 @@ +../Perfect/we.svg \ No newline at end of file diff --git a/client/public/images/pieces/Tencubed/ww.svg b/client/public/images/pieces/Tencubed/ww.svg deleted file mode 100644 index c77e29a2..00000000 --- a/client/public/images/pieces/Tencubed/ww.svg +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/client/public/images/pieces/Tencubed/ww.svg b/client/public/images/pieces/Tencubed/ww.svg new file mode 120000 index 00000000..d1ff6264 --- /dev/null +++ b/client/public/images/pieces/Tencubed/ww.svg @@ -0,0 +1 @@ +../Omega/ww.svg \ No newline at end of file diff --git a/client/src/translations/rules/Ball/en.pug b/client/src/translations/rules/Ball/en.pug index 4fec1f9a..134c85b2 100644 --- a/client/src/translations/rules/Ball/en.pug +++ b/client/src/translations/rules/Ball/en.pug @@ -8,8 +8,10 @@ p. ul li. - Capturing an enemy unit holding the ball both make the piece - disappear and grab the ball. + "Capturing" an enemy unit holding the ball steals it, + and either capture the piece by replacement or leave it in place: + choose the option "D" for "distant". + In place captures cannot be undone by opponent. li. "Capturing" a friendly unit pass the ball to it, or take the ball from it. In both cases the pieces don't move. diff --git a/client/src/translations/rules/Ball/es.pug b/client/src/translations/rules/Ball/es.pug index dee88873..f67fb0e8 100644 --- a/client/src/translations/rules/Ball/es.pug +++ b/client/src/translations/rules/Ball/es.pug @@ -8,8 +8,10 @@ p. ul li. - Capturar una pieza enemiga con el globo lo roba - mientras lo hace desaparecer. + "Capturar" una pieza enemiga con el globo lo roba, + y captura la pieza por reemplazo o la deja en su lugar: + elija la opción "D" para "distante". + El oponente no puede deshacer las capturas en lugar. li. "Capturar" una pieza amistosa pasa o toma la pelota. En ambos casos, las piezas no se mueven. diff --git a/client/src/translations/rules/Ball/fr.pug b/client/src/translations/rules/Ball/fr.pug index bdc0d70b..54f3abf3 100644 --- a/client/src/translations/rules/Ball/fr.pug +++ b/client/src/translations/rules/Ball/fr.pug @@ -8,8 +8,10 @@ p. ul li. - Capturer une pièce ennemie possédant le ballon lui vole - tout en la faisant disparaître. + "Capturer" une pièce ennemie possédant le ballon lui vole, + et capture la pièce par remplacement ou bien la laisse en place : + choisir l'option "D" pour "distant". + Les captures en place ne peuvent être défaites par l'adversaire. li. "Capturer" une pièce amie lui passe le ballon, ou lui prend. Dans les deux cas, les pièces ne bougent pas. diff --git a/client/src/variants/Ball.js b/client/src/variants/Ball.js index ceddb61a..03a9b483 100644 --- a/client/src/variants/Ball.js +++ b/client/src/variants/Ball.js @@ -35,22 +35,16 @@ export class BallRules extends ChessRules { } static get BALL() { - // 'b' is already taken: + // Ball is already taken: return "aa"; } - // Special code for "something to fill space" (around goals) - // --> If goal is outside the board (current prototype: it's inside) -// static get FILL() { -// return "ff"; -// } - static get HAS_BALL_CODE() { return { 'p': 's', 'r': 'u', 'n': 'o', - 'b': 'd', + 'b': 'c', 'q': 't', 'k': 'l', 'h': 'i' @@ -62,7 +56,7 @@ export class BallRules extends ChessRules { 's': 'p', 'u': 'r', 'o': 'n', - 'd': 'b', + 'c': 'b', 't': 'q', 'l': 'k', 'i': 'h' @@ -86,6 +80,13 @@ export class BallRules extends ChessRules { return ChessRules.fen2board(f); } + static ParseFen(fen) { + return Object.assign( + ChessRules.ParseFen(fen), + { pmove: fen.split(" ")[4] } + ); + } + // Check that exactly one ball is on the board // + at least one piece per color. static IsGoodPosition(position) { @@ -116,6 +117,19 @@ export class BallRules extends ChessRules { return true; } + static IsGoodFen(fen) { + if (!ChessRules.IsGoodFen(fen)) return false; + const fenParts = fen.split(" "); + if (fenParts.length != 5) return false; + if ( + fenParts[4] != "-" && + !fenParts[4].match(/^([a-i][1-9]){2,2}$/) + ) { + return false; + } + return true; + } + getPpath(b) { let prefix = ""; const withPrefix = @@ -126,6 +140,18 @@ export class BallRules extends ChessRules { return prefix + b; } + getPPpath(m) { + if ( + m.vanish.length == 2 && + m.appear.length == 2 && + m.appear[0].c != m.appear[1].c + ) { + // Take ball in place (from opponent) + return "Ball/inplace"; + } + return super.getPPpath(m); + } + canTake([x1, y1], [x2, y2]) { if (this.getColor(x1, y1) !== this.getColor(x2, y2)) { // The piece holding the ball cannot capture: @@ -141,13 +167,26 @@ export class BallRules extends ChessRules { ); } - getCheckSquares() { - return []; + getFen() { + return super.getFen() + " " + this.getPmoveFen(); + } + + getFenForRepeat() { + return super.getFenForRepeat() + "_" + this.getPmoveFen(); + } + + getPmoveFen() { + const L = this.pmoves.length; + if (!this.pmoves[L-1]) return "-"; + return ( + V.CoordsToSquare(this.pmoves[L-1].start) + + V.CoordsToSquare(this.pmoves[L-1].end) + ); } static GenRandInitFen(randomness) { if (randomness == 0) - return "hbnrqrnhb/ppppppppp/9/9/4a4/9/9/PPPPPPPPP/HBNRQRNHB w 0 -"; + return "hbnrqrnhb/ppppppppp/9/9/4a4/9/9/PPPPPPPPP/HBNRQRNHB w 0 - -"; let pieces = { w: new Array(9), b: new Array(9) }; for (let c of ["w", "b"]) { @@ -182,13 +221,27 @@ export class BallRules extends ChessRules { pieces["b"].join("") + "/ppppppppp/9/9/4a4/9/9/PPPPPPPPP/" + pieces["w"].join("").toUpperCase() + - // En-passant allowed, but no flags - " w 0 -" + " w 0 - -" ); } scanKings() {} + setOtherVariables(fen) { + super.setOtherVariables(fen); + const pmove = V.ParseFen(fen).pmove; + // Local stack of "pass moves" (no need for appear & vanish) + this.pmoves = [ + pmove != "-" + ? + { + start: V.SquareToCoords(pmove.substr(0, 2)), + end: V.SquareToCoords(pmove.substr(2)) + } + : null + ]; + } + static get size() { return { x: 9, y: 9 }; } @@ -295,13 +348,61 @@ export class BallRules extends ChessRules { return mv; } - // NOTE: if a pawn is captured en-passant, he doesn't hold the ball + // NOTE: if a pawn captures en-passant, he doesn't hold the ball // So base implementation is fine. getPotentialMovesFrom([x, y]) { - if (this.getPiece(x, y) == V.PHOENIX) - return this.getPotentialPhoenixMoves([x, y]); - return super.getPotentialMovesFrom([x, y]); + let moves = undefined; + const piece = this.getPiece(x, y); + if (piece == V.PHOENIX) + moves = this.getPotentialPhoenixMoves([x, y]); + else moves = super.getPotentialMovesFrom([x, y]); + // Add "taking ball in place" move (at most one in list) + for (let m of moves) { + if ( + m.vanish.length == 2 && + m.vanish[1].p != 'a' && + Object.keys(V.HAS_BALL_DECODE).includes(m.appear[0].p) + ) { + const color = this.turn; + const oppCol = V.GetOppCol(color); + moves.push( + new Move({ + appear: [ + new PiPo({ + x: x, + y: y, + c: color, + p: m.appear[0].p + }), + new PiPo({ + x: m.vanish[1].x, + y: m.vanish[1].y, + c: oppCol, + p: V.HAS_BALL_DECODE[m.vanish[1].p] + }) + ], + vanish: [ + new PiPo({ + x: x, + y: y, + c: color, + p: piece + }), + new PiPo({ + x: m.vanish[1].x, + y: m.vanish[1].y, + c: oppCol, + p: m.vanish[1].p + }) + ], + end: { x: m.end.x, y: m.end.y } + }) + ); + break; + } + } + return moves; } // "Sliders": at most 3 steps @@ -328,14 +429,57 @@ export class BallRules extends ChessRules { return this.getSlideNJumpMoves(sq, V.steps[V.PHOENIX], "oneStep"); } + getPmove(move) { + if ( + move.vanish.length == 2 && + move.appear.length == 2 && + move.appear[0].c != move.appear[1].c + ) { + // In-place pass: + return { + start: move.start, + end: move.end + }; + } + return null; + } + + oppositePasses(m1, m2) { + return ( + m1.start.x == m2.end.x && + m1.start.y == m2.end.y && + m1.end.x == m2.start.x && + m1.end.y == m2.start.y + ); + } + filterValid(moves) { - return moves; + const L = this.pmoves.length; + const lp = this.pmoves[L-1]; + if (!lp) return moves; + return moves.filter(m => { + return ( + m.vanish.length == 1 || + m.appear.length == 1 || + m.appear[0].c == m.appear[1].c || + !this.oppositePasses(lp, m) + ); + }); } // isAttacked: unused here (no checks) - postPlay() {} - postUndo() {} + postPlay(move) { + this.pmoves.push(this.getPmove(move)); + } + + postUndo() { + this.pmoves.pop(); + } + + getCheckSquares() { + return []; + } getCurrentScore() { // Turn has changed: diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index 919a7ebc..62611393 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -753,6 +753,8 @@ export default { // Got opponent infos about last move this.gotLastate = true; this.lastate = data.data; + if (this.lastate.movesCount > this.gotMoveIdx) + this.gotMoveIdx = this.lastate.movesCount; if (this.game.rendered) // Game is rendered (Board component) this.processLastate(); @@ -760,6 +762,12 @@ export default { break; } case "newmove": { + +// DEBUG: +console.log("Receive move"); +console.log(data.data); +//moveslist not updated when receiving a move? (see in baseGame) + const movePlus = data.data; const movesCount = this.game.moves.length; if (movePlus.index > movesCount) {