From: Benjamin Auder Date: Mon, 2 May 2022 07:52:20 +0000 (+0200) Subject: Add Madrasi, fix Absorption, better pieces management X-Git-Url: https://git.auder.net/js/%7B%7B%20asset%28%27mixstore/css/assets/mini-custom.min.css?a=commitdiff_plain;h=57b8015b5c22ccfd419df11b9d0174484397c417;p=xogo.git Add Madrasi, fix Absorption, better pieces management --- diff --git a/base_pieces.css b/base_pieces.css index 207228c..6e9938e 100644 --- a/base_pieces.css +++ b/base_pieces.css @@ -1,67 +1,70 @@ /** Embedded SVGs for all chess pieces */ -piece.pawn.white { - background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PHBhdGggZD0iTTIyLjUgOWMtMi4yMSAwLTQgMS43OS00IDQgMCAuODkuMjkgMS43MS43OCAyLjM4QzE3LjMzIDE2LjUgMTYgMTguNTkgMTYgMjFjMCAyLjAzLjk0IDMuODQgMi40MSA1LjAzLTMgMS4wNi03LjQxIDUuNTUtNy40MSAxMy40N2gyM2MwLTcuOTItNC40MS0xMi40MS03LjQxLTEzLjQ3IDEuNDctMS4xOSAyLjQxLTMgMi40MS01LjAzIDAtMi40MS0xLjMzLTQuNS0zLjI4LTUuNjIuNDktLjY3Ljc4LTEuNDkuNzgtMi4zOCAwLTIuMjEtMS43OS00LTQtNHoiIGZpbGw9IiNmZmYiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg=='); +piece.black.pawn { + background-image: url('/pieces/black_pawn.svg'); } -piece.bishop.white { - background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxnIGZpbGw9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJidXR0Ij48cGF0aCBkPSJNOSAzNmMzLjM5LS45NyAxMC4xMS40MyAxMy41LTIgMy4zOSAyLjQzIDEwLjExIDEuMDMgMTMuNSAyIDAgMCAxLjY1LjU0IDMgMi0uNjguOTctMS42NS45OS0zIC41LTMuMzktLjk3LTEwLjExLjQ2LTEzLjUtMS0zLjM5IDEuNDYtMTAuMTEuMDMtMTMuNSAxLTEuMzU0LjQ5LTIuMzIzLjQ3LTMtLjUgMS4zNTQtMS45NCAzLTIgMy0yeiIvPjxwYXRoIGQ9Ik0xNSAzMmMyLjUgMi41IDEyLjUgMi41IDE1IDAgLjUtMS41IDAtMiAwLTIgMC0yLjUtMi41LTQtMi41LTQgNS41LTEuNSA2LTExLjUtNS0xNS41LTExIDQtMTAuNSAxNC01IDE1LjUgMCAwLTIuNSAxLjUtMi41IDQgMCAwLS41LjUgMCAyeiIvPjxwYXRoIGQ9Ik0yNSA4YTIuNSAyLjUgMCAxIDEtNSAwIDIuNSAyLjUgMCAxIDEgNSAweiIvPjwvZz48cGF0aCBkPSJNMTcuNSAyNmgxME0xNSAzMGgxNW0tNy41LTE0LjV2NU0yMCAxOGg1IiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PC9nPjwvc3ZnPg=='); +piece.black.rook { + background-image: url('/pieces/black_rook.svg'); } -piece.knight.white { - background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik0yMiAxMGMxMC41IDEgMTYuNSA4IDE2IDI5SDE1YzAtOSAxMC02LjUgOC0yMSIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0yNCAxOGMuMzggMi45MS01LjU1IDcuMzctOCA5LTMgMi0yLjgyIDQuMzQtNSA0LTEuMDQyLS45NCAxLjQxLTMuMDQgMC0zLTEgMCAuMTkgMS4yMy0xIDItMSAwLTQuMDAzIDEtNC00IDAtMiA2LTEyIDYtMTJzMS44OS0xLjkgMi0zLjVjLS43My0uOTk0LS41LTItLjUtMyAxLTEgMyAyLjUgMyAyLjVoMnMuNzgtMS45OTIgMi41LTNjMSAwIDEgMyAxIDMiIGZpbGw9IiNmZmYiLz48cGF0aCBkPSJNOS41IDI1LjVhLjUuNSAwIDEgMS0xIDAgLjUuNSAwIDEgMSAxIDB6bTUuNDMzLTkuNzVhLjUgMS41IDMwIDEgMS0uODY2LS41LjUgMS41IDMwIDEgMSAuODY2LjV6IiBmaWxsPSIjMDAwIi8+PC9nPjwvc3ZnPg=='); +piece.black.knight { + background-image: url('/pieces/black_knight.svg'); } -piece.rook.white { - background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0iI2ZmZiIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik05IDM5aDI3di0zSDl2M3ptMy0zdi00aDIxdjRIMTJ6bS0xLTIyVjloNHYyaDVWOWg1djJoNVY5aDR2NSIgc3Ryb2tlLWxpbmVjYXA9ImJ1dHQiLz48cGF0aCBkPSJNMzQgMTRsLTMgM0gxNGwtMy0zIi8+PHBhdGggZD0iTTMxIDE3djEyLjVIMTRWMTciIHN0cm9rZS1saW5lY2FwPSJidXR0IiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PHBhdGggZD0iTTMxIDI5LjVsMS41IDIuNWgtMjBsMS41LTIuNSIvPjxwYXRoIGQ9Ik0xMSAxNGgyMyIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVqb2luPSJtaXRlciIvPjwvZz48L3N2Zz4='); +piece.black.bishop { + background-image: url('/pieces/black_bishop.svg'); } -piece.queen.white { - background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0iI2ZmZiIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik04IDEyYTIgMiAwIDEgMS00IDAgMiAyIDAgMSAxIDQgMHptMTYuNS00LjVhMiAyIDAgMSAxLTQgMCAyIDIgMCAxIDEgNCAwek00MSAxMmEyIDIgMCAxIDEtNCAwIDIgMiAwIDEgMSA0IDB6TTE2IDguNWEyIDIgMCAxIDEtNCAwIDIgMiAwIDEgMSA0IDB6TTMzIDlhMiAyIDAgMSAxLTQgMCAyIDIgMCAxIDEgNCAweiIvPjxwYXRoIGQ9Ik05IDI2YzguNS0xLjUgMjEtMS41IDI3IDBsMi0xMi03IDExVjExbC01LjUgMTMuNS0zLTE1LTMgMTUtNS41LTE0VjI1TDcgMTRsMiAxMnoiIHN0cm9rZS1saW5lY2FwPSJidXR0Ii8+PHBhdGggZD0iTTkgMjZjMCAyIDEuNSAyIDIuNSA0IDEgMS41IDEgMSAuNSAzLjUtMS41IDEtMS41IDIuNS0xLjUgMi41LTEuNSAxLjUuNSAyLjUuNSAyLjUgNi41IDEgMTYuNSAxIDIzIDAgMCAwIDEuNS0xIDAtMi41IDAgMCAuNS0xLjUtMS0yLjUtLjUtMi41LS41LTIgLjUtMy41IDEtMiAyLjUtMiAyLjUtNC04LjUtMS41LTE4LjUtMS41LTI3IDB6IiBzdHJva2UtbGluZWNhcD0iYnV0dCIvPjxwYXRoIGQ9Ik0xMS41IDMwYzMuNS0xIDE4LjUtMSAyMiAwTTEyIDMzLjVjNi0xIDE1LTEgMjEgMCIgZmlsbD0ibm9uZSIvPjwvZz48L3N2Zz4='); +piece.black.queen { + background-image: url('/pieces/black_queen.svg'); } -piece.king.white { - background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik0yMi41IDExLjYzVjZNMjAgOGg1IiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PHBhdGggZD0iTTIyLjUgMjVzNC41LTcuNSAzLTEwLjVjMCAwLTEtMi41LTMtMi41cy0zIDIuNS0zIDIuNWMtMS41IDMgMyAxMC41IDMgMTAuNSIgZmlsbD0iI2ZmZiIgc3Ryb2tlLWxpbmVjYXA9ImJ1dHQiIHN0cm9rZS1saW5lam9pbj0ibWl0ZXIiLz48cGF0aCBkPSJNMTEuNSAzN2M1LjUgMy41IDE1LjUgMy41IDIxIDB2LTdzOS00LjUgNi0xMC41Yy00LTYuNS0xMy41LTMuNS0xNiA0VjI3di0zLjVjLTMuNS03LjUtMTMtMTAuNS0xNi00LTMgNiA1IDEwIDUgMTBWMzd6IiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTExLjUgMzBjNS41LTMgMTUuNS0zIDIxIDBtLTIxIDMuNWM1LjUtMyAxNS41LTMgMjEgMG0tMjEgMy41YzUuNS0zIDE1LjUtMyAyMSAwIi8+PC9nPjwvc3ZnPg=='); +piece.black.king { + background-image: url('/pieces/black_king.svg'); } -piece.pawn.black { - background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PHBhdGggZD0iTTIyLjUgOWMtMi4yMSAwLTQgMS43OS00IDQgMCAuODkuMjkgMS43MS43OCAyLjM4QzE3LjMzIDE2LjUgMTYgMTguNTkgMTYgMjFjMCAyLjAzLjk0IDMuODQgMi40MSA1LjAzLTMgMS4wNi03LjQxIDUuNTUtNy40MSAxMy40N2gyM2MwLTcuOTItNC40MS0xMi40MS03LjQxLTEzLjQ3IDEuNDctMS4xOSAyLjQxLTMgMi40MS01LjAzIDAtMi40MS0xLjMzLTQuNS0zLjI4LTUuNjIuNDktLjY3Ljc4LTEuNDkuNzgtMi4zOCAwLTIuMjEtMS43OS00LTQtNHoiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg=='); + +piece.white.pawn { + background-image: url('/pieces/white_pawn.svg'); } -piece.bishop.black { - background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxnIGZpbGw9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJidXR0Ij48cGF0aCBkPSJNOSAzNmMzLjM5LS45NyAxMC4xMS40MyAxMy41LTIgMy4zOSAyLjQzIDEwLjExIDEuMDMgMTMuNSAyIDAgMCAxLjY1LjU0IDMgMi0uNjguOTctMS42NS45OS0zIC41LTMuMzktLjk3LTEwLjExLjQ2LTEzLjUtMS0zLjM5IDEuNDYtMTAuMTEuMDMtMTMuNSAxLTEuMzU0LjQ5LTIuMzIzLjQ3LTMtLjUgMS4zNTQtMS45NCAzLTIgMy0yeiIvPjxwYXRoIGQ9Ik0xNSAzMmMyLjUgMi41IDEyLjUgMi41IDE1IDAgLjUtMS41IDAtMiAwLTIgMC0yLjUtMi41LTQtMi41LTQgNS41LTEuNSA2LTExLjUtNS0xNS41LTExIDQtMTAuNSAxNC01IDE1LjUgMCAwLTIuNSAxLjUtMi41IDQgMCAwLS41LjUgMCAyeiIvPjxwYXRoIGQ9Ik0yNSA4YTIuNSAyLjUgMCAxIDEtNSAwIDIuNSAyLjUgMCAxIDEgNSAweiIvPjwvZz48cGF0aCBkPSJNMTcuNSAyNmgxME0xNSAzMGgxNW0tNy41LTE0LjV2NU0yMCAxOGg1IiBzdHJva2U9IiNlY2VjZWMiIHN0cm9rZS1saW5lam9pbj0ibWl0ZXIiLz48L2c+PC9zdmc+'); +piece.white.rook { + background-image: url('/pieces/white_rook.svg'); } -piece.knight.black { - background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik0yMiAxMGMxMC41IDEgMTYuNSA4IDE2IDI5SDE1YzAtOSAxMC02LjUgOC0yMSIgZmlsbD0iIzAwMCIvPjxwYXRoIGQ9Ik0yNCAxOGMuMzggMi45MS01LjU1IDcuMzctOCA5LTMgMi0yLjgyIDQuMzQtNSA0LTEuMDQyLS45NCAxLjQxLTMuMDQgMC0zLTEgMCAuMTkgMS4yMy0xIDItMSAwLTQuMDAzIDEtNC00IDAtMiA2LTEyIDYtMTJzMS44OS0xLjkgMi0zLjVjLS43My0uOTk0LS41LTItLjUtMyAxLTEgMyAyLjUgMyAyLjVoMnMuNzgtMS45OTIgMi41LTNjMSAwIDEgMyAxIDMiIGZpbGw9IiMwMDAiLz48cGF0aCBkPSJNOS41IDI1LjVhLjUuNSAwIDEgMS0xIDAgLjUuNSAwIDEgMSAxIDB6bTUuNDMzLTkuNzVhLjUgMS41IDMwIDEgMS0uODY2LS41LjUgMS41IDMwIDEgMSAuODY2LjV6IiBmaWxsPSIjZWNlY2VjIiBzdHJva2U9IiNlY2VjZWMiLz48cGF0aCBkPSJNMjQuNTUgMTAuNGwtLjQ1IDEuNDUuNS4xNWMzLjE1IDEgNS42NSAyLjQ5IDcuOSA2Ljc1UzM1Ljc1IDI5LjA2IDM1LjI1IDM5bC0uMDUuNWgyLjI1bC4wNS0uNWMuNS0xMC4wNi0uODgtMTYuODUtMy4yNS0yMS4zNC0yLjM3LTQuNDktNS43OS02LjY0LTkuMTktNy4xNmwtLjUxLS4xeiIgZmlsbD0iI2VjZWNlYyIgc3Ryb2tlPSJub25lIi8+PC9nPjwvc3ZnPg=='); +piece.white.knight { + background-image: url('/pieces/white_knight.svg'); } -piece.rook.black { - background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik05IDM5aDI3di0zSDl2M3ptMy41LTdsMS41LTIuNWgxN2wxLjUgMi41aC0yMHptLS41IDR2LTRoMjF2NEgxMnoiIHN0cm9rZS1saW5lY2FwPSJidXR0Ii8+PHBhdGggZD0iTTE0IDI5LjV2LTEzaDE3djEzSDE0eiIgc3Ryb2tlLWxpbmVjYXA9ImJ1dHQiIHN0cm9rZS1saW5lam9pbj0ibWl0ZXIiLz48cGF0aCBkPSJNMTQgMTYuNUwxMSAxNGgyM2wtMyAyLjVIMTR6TTExIDE0VjloNHYyaDVWOWg1djJoNVY5aDR2NUgxMXoiIHN0cm9rZS1saW5lY2FwPSJidXR0Ii8+PHBhdGggZD0iTTEyIDM1LjVoMjFtLTIwLTRoMTltLTE4LTJoMTdtLTE3LTEzaDE3TTExIDE0aDIzIiBmaWxsPSJub25lIiBzdHJva2U9IiNlY2VjZWMiIHN0cm9rZS13aWR0aD0iMSIgc3Ryb2tlLWxpbmVqb2luPSJtaXRlciIvPjwvZz48L3N2Zz4='); +piece.white.bishop { + background-image: url('/pieces/white_bishop.svg'); } -piece.queen.black { - background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxnIHN0cm9rZT0ibm9uZSI+PGNpcmNsZSBjeD0iNiIgY3k9IjEyIiByPSIyLjc1Ii8+PGNpcmNsZSBjeD0iMTQiIGN5PSI5IiByPSIyLjc1Ii8+PGNpcmNsZSBjeD0iMjIuNSIgY3k9IjgiIHI9IjIuNzUiLz48Y2lyY2xlIGN4PSIzMSIgY3k9IjkiIHI9IjIuNzUiLz48Y2lyY2xlIGN4PSIzOSIgY3k9IjEyIiByPSIyLjc1Ii8+PC9nPjxwYXRoIGQ9Ik05IDI2YzguNS0xLjUgMjEtMS41IDI3IDBsMi41LTEyLjVMMzEgMjVsLS4zLTE0LjEtNS4yIDEzLjYtMy0xNC41LTMgMTQuNS01LjItMTMuNkwxNCAyNSA2LjUgMTMuNSA5IDI2eiIgc3Ryb2tlLWxpbmVjYXA9ImJ1dHQiLz48cGF0aCBkPSJNOSAyNmMwIDIgMS41IDIgMi41IDQgMSAxLjUgMSAxIC41IDMuNS0xLjUgMS0xLjUgMi41LTEuNSAyLjUtMS41IDEuNS41IDIuNS41IDIuNSA2LjUgMSAxNi41IDEgMjMgMCAwIDAgMS41LTEgMC0yLjUgMCAwIC41LTEuNS0xLTIuNS0uNS0yLjUtLjUtMiAuNS0zLjUgMS0yIDIuNS0yIDIuNS00LTguNS0xLjUtMTguNS0xLjUtMjcgMHoiIHN0cm9rZS1saW5lY2FwPSJidXR0Ii8+PHBhdGggZD0iTTExIDM4LjVhMzUgMzUgMSAwIDAgMjMgMCIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9ImJ1dHQiLz48cGF0aCBkPSJNMTEgMjlhMzUgMzUgMSAwIDEgMjMgMG0tMjEuNSAyLjVoMjBtLTIxIDNhMzUgMzUgMSAwIDAgMjIgMG0tMjMgM2EzNSAzNSAxIDAgMCAyNCAwIiBmaWxsPSJub25lIiBzdHJva2U9IiNlY2VjZWMiLz48L2c+PC9zdmc+'); +piece.white.queen { + background-image: url('/pieces/white_queen.svg'); } -piece.king.black { - background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik0yMi41IDExLjYzVjYiIHN0cm9rZS1saW5lam9pbj0ibWl0ZXIiLz48cGF0aCBkPSJNMjIuNSAyNXM0LjUtNy41IDMtMTAuNWMwIDAtMS0yLjUtMy0yLjVzLTMgMi41LTMgMi41Yy0xLjUgMyAzIDEwLjUgMyAxMC41IiBmaWxsPSIjMDAwIiBzdHJva2UtbGluZWNhcD0iYnV0dCIgc3Ryb2tlLWxpbmVqb2luPSJtaXRlciIvPjxwYXRoIGQ9Ik0xMS41IDM3YzUuNSAzLjUgMTUuNSAzLjUgMjEgMHYtN3M5LTQuNSA2LTEwLjVjLTQtNi41LTEzLjUtMy41LTE2IDRWMjd2LTMuNWMtMy41LTcuNS0xMy0xMC41LTE2LTQtMyA2IDUgMTAgNSAxMFYzN3oiIGZpbGw9IiMwMDAiLz48cGF0aCBkPSJNMjAgOGg1IiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PHBhdGggZD0iTTMyIDI5LjVzOC41LTQgNi4wMy05LjY1QzM0LjE1IDE0IDI1IDE4IDIyLjUgMjQuNWwuMDEgMi4xLS4wMS0yLjFDMjAgMTggOS45MDYgMTQgNi45OTcgMTkuODVjLTIuNDk3IDUuNjUgNC44NTMgOSA0Ljg1MyA5IiBzdHJva2U9IiNlY2VjZWMiLz48cGF0aCBkPSJNMTEuNSAzMGM1LjUtMyAxNS41LTMgMjEgMG0tMjEgMy41YzUuNS0zIDE1LjUtMyAyMSAwbS0yMSAzLjVjNS41LTMgMTUuNS0zIDIxIDAiIHN0cm9rZT0iI2VjZWNlYyIvPjwvZz48L3N2Zz4='); +piece.white.king { + background-image: url('/pieces/white_king.svg'); } -piece.king-pawn.black { - background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMjA0OCAyMDQ4Ij4KIDxwYXRoIHN0eWxlPSJjb2xvcjpibGFjazsiIGQ9Im0xMDI0IDIwNWgtNTQwcS00MCAxMDAtNDAgMjA5IDAgMTg1IDEwNSAzMzJ0MjcwIDIxMHEtNzEgMzMtMTE1IDk5dC00NSAxNTFxMCAxMDUgNzAgMTgydDE3MiA4OXEtODEgNjEtODEgMTYxIDAgODQgNTkgMTQ0dDE0NSA2MHE4NCAwIDE0NC02MHQ2MC0xNDRxMC0xMDAtODEtMTYxIDEwMi0xMiAxNzItODl0NzAtMTgycTAtODQtNDUtMTUwdC0xMTYtMTAwcTE2NS02MyAyNzAtMjEwdDEwNS0zMzJxMC0xMDgtMzktMjA5aC01NDB6IiBmaWxsLXJ1bGU9Im5vbnplcm8iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAsMjA0OCkgc2NhbGUoMSwtMSkiIGRpc3BsYXk9ImJsb2NrIiBmaWxsPSIjYTAwIi8+Cjwvc3ZnPgo='); + +piece.black.king-pawn { + background-image: url('/pieces/black_king_pawn.svg'); } -piece.king-rook.black { - background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgaGVpZ2h0PSIxMDAlIiB3aWR0aD0iMTAwJSIgdmVyc2lvbj0iMS4xIiB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHZpZXdCb3g9IjAgMCAyMDQ4IDIwNDgiPgogPHBhdGggc3R5bGU9ImNvbG9yOmJsYWNrOyIgZD0ibTExNjEgMTcwNmgxNzB2MTM3aDI3NHYtMzc1bC0yMjItMTcxdi00NzhsMTcwLTE3MHYtMjA1aDE1M3YtMjM5aC0xMzY1djIzOWgxNTN2MjA1bDE3MSAxNzB2NDc4bC0yM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aDkyMHYtNThsLTQ2LTQzaC00MTR6IiBkaXNwbGF5PSJibG9jayIvPgogPC9nPgo8L3N2Zz4K'); +piece.black.king-rook { + background-image: url('/pieces/black_king_rook.svg'); } -piece.king-knight.black { - background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgaGVpZ2h0PSIxMDAlIiB3aWR0aD0iMTAwJSIgdmVyc2lvbj0iMS4xIiB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHZpZXdCb3g9IjAgMCAyMDQ4IDIwNDgiPgogPHBhdGggc3R5bGU9ImNvbG9yOmJsYWNrOyIgZD0ibTQ5MCA2ODNxNCA5IDEzIDI3IDE3IDQyIDE3IDUwLTIgMjgtMjkgMjgtMjAgMC00Ny01Ny00LTgtMTItMTQtMjctMjggOC00NyAzMi0xOSA1MCAxM3ptNTkwIDM3MXE3MCA5MiA2OSAyMDUtNCAzMy0zOCAzMy00NiAwLTM2LTM0IDMtNTUtMTEtOTEtMjMtNTctNTEtODUtMTUtMzAgMTgtNDQgMzItMTUgNDkgMTZ6bS0yNjEgNDg4cS01IDM2IDIgNzgtNjAtMTItMTEzLTU2LTMyLTE3LTE1LTQ3IDE3LTMxIDQ3LTEwIDIxIDExIDM4IDIwdDQxIDE1em05MzctMTI2OHEtMSAwIDIgNTR0MyAxMThxMSAxMjUgMCAyNTh0LTM2IDI2N3EtMzQgMTI4LTc1IDIxOHQtODkgMTU3cS03MiAxMDgtMTk2IDE4M3QtMjU5IDk4cTQtMjMgMy00N3QwLTQ2cTk3LTMzIDE4My04MnQxMjYtMTA2cTQ4LTY2IDg5LTE1NnQ3NS0yMTlxMzQt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C00N3oiIGRpc3BsYXk9ImJsb2NrIi8+CiAgPHBhdGggc3R5bGU9ImNvbG9yOmJsYWNrOyIgZD0ibTY1NiA2ODlxMjItMTEgMjItMTEgMzAtMTIgMTktNDQtMTItMzAtNDYtMjAtMTE4IDQzLTE2MyAxNTgtNyAzMyAyNCA0NSAzMSAxMCA0Mi0yMiA4LTE3IDEyLTIyIDExIDkgMjkgMTIgNjEgMTAgNzEtNTQgMy0yMi0xMC00MnoiIGRpc3BsYXk9ImJsb2NrIi8+CiA8L2c+Cjwvc3ZnPgo='); +piece.black.king-knight { + background-image: url('/pieces/black_king_knight.svg'); } -piece.king-bishop.black { - background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgaGVpZ2h0PSIxMDAlIiB3aWR0aD0iMTAwJSIgdmVyc2lvbj0iMS4xIiB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHZpZXdCb3g9IjAgMCAyMDQ4IDIwNDgiPgogPHBhdGggc3R5bGU9ImNvbG9yOmJsYWNrOyIgZD0ibTEyOTAgNTgybC00MiAxMDJxLTEwMiAyMi0yMjQgMjItMTIxIDAtMjIyLTIybC00Mi0xMDFxMTI0IDMxIDI2NCAzMSAxMzggMCAyNjYtMzJ6bS04NCAyMDZsLTI5IDcwdjI3cS03NiAxMS0xNTMgMTEtNzUgMC0xNTItMTFsLTEtMjctMjctNzBxODUgMTUgMTgwIDE1IDk2IDAgMTgyLTE1em0tMzUtMzc4cS00MCAzMC04MCA5NWgtMzJxMC00OSAyMy05NWg4OXptLTIwNiAwcTIzIDQ5IDIzIDk1aC0zMnEtMzktNjQtODEtOTVoOTB6bT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tPSJ0cmFuc2xhdGUoMCwyMDQ4KSBzY2FsZSgxLC0xKSIgZGlzcGxheT0iYmxvY2siIGZpbGw9IiNhMDAiLz4KIDxnIGZpbGwtcnVsZT0ibm9uemVybyIgZmlsbD0iI2ZmZiI+CiAgPHBhdGggc3R5bGU9ImNvbG9yOmJsYWNrOyIgZD0ibTEyOTAgMTQ2Ni00Mi0xMDJxLTEwMi0yMi0yMjQtMjItMTIxIDAtMjIyIDIybC00MiAxMDFxMTI0LTMxIDI2NC0zMSAxMzggMCAyNjYgMzJ6IiBkaXNwbGF5PSJibG9jayIvPgogIDxwYXRoIHN0eWxlPSJjb2xvcjpibGFjazsiIGQ9Im0xMjA2IDEyNjAtMjktNzB2LTI3cS03Ni0xMS0xNTMtMTEtNzUgMC0xNTIgMTFsLTEgMjctMjcgNzBxODUtMTUgMTgwLTE1IDk2IDAgMTgyIDE1eiIgZGlzcGxheT0iYmxvY2siLz4KICA8cGF0aCBzdHlsZT0iY29sb3I6YmxhY2s7IiBkPSJtMTE3MSAxNjM4cS00MC0zMC04MC05NWgtMzJxMCA0OSAyMyA5NWg4OXoiIGRpc3BsYXk9ImJsb2NrIi8+CiAgPHBhdGggc3R5bGU9ImNvbG9yOmJsYWNrOyIgZD0ibTk2NSAxNjM4cTIzLTQ5IDIzLTk1aC0zMnEtMzkgNjQtODEgOTVoOTB6IiBkaXNwbGF5PSJibG9jayIvPgogIDxwYXRoIHN0eWxlPSJjb2xvcjpibGFjazsiIGQ9Im05ODcgOTEydjg1cTAgMzcgMzcgMzd0MzctMzd2LTg2aDkwcTM1IDAgMzUtMzZ0LTM1LTM2aC05MHYtOTBxMC0zNy0zNy0zN3QtMzcgMzd2OTBoLTg4cS0zNSAwLTM1IDM2dDM1IDM2bDg4IDF6IiBkaXNwbGF5PSJibG9jayIvPgogPC9nPgo8L3N2Zz4K'); +piece.black.king-bishop { + background-image: url('/pieces/black_king_bishop.svg'); } -piece.king-queen.black { - background-image: url('data:image/svg+xml;base64,PHN2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c3R5bGU9ImNvbG9yOmJsYWNrOyIgZD0ibTE1MTggMTQzNHEtMTg0LTUxLTQ5MC01MS0zMDggMC00OTYgNTJsMTUgMTAxcTE4OS00OSA0ODEtNDkgMjkxIDAgNDc0IDQ4bDE2LTEwMXoiIGRpc3BsYXk9ImJsb2NrIi8+CiA8L2c+Cjwvc3ZnPgo='); +piece.black.king-queen { + background-image: url('/pieces/black_king_queen.svg'); } -piece.king-pawn.white { - background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgaGVpZ2h0PSIxMDAlIiB3aWR0aD0iMTAwJSIgdmVyc2lvbj0iMS4xIiB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHZpZXdCb3g9IjAgMCAyMDQ4IDIwNDgiPgogPHBhdGggc3R5bGU9ImNvbG9yOmJsYWNrOyIgZD0ibTEwMjQgMjczaDQ5MXEyMSA3MiAyMSAxNDEgMCAxNTYtODYgMjgzdC0yMjMgMTg3cS02NiA1LTY2IDcyIDAgNTMgNjcgNzggOTMgNjUgOTMgMTcyIDAgNzctNTIgMTM1dC0xMjYgNjdxLTYwIDUtNjAgNjggMCAyOCAyMiA1MiA1NCA0MiA1NCAxMTAgMCA1Ni00MCA5NnQtOTUgNDBxLTU3IDAtOTYtNDB0LTQwLTk2cTAtNjcgNTQtMTEwIDIyLTIyIDIyLTUyIDAtNjMtNTktNjgtNzUtOS0xMjYtNjd0LTUyLTEzNXEwLTEwNyA5My0xNzIgNjctMjYgNjctNzggMC02Ny02Ny03Mi0xMzYtNjAtMjIyLTE4N3QtODYtMjgzcTAtNzQgMjEtMTQxaDQ5MXptMC02OGgtNTQwcS00MCAxMDAtNDAgMjA5IDAgMTg1IDEwNSAzMzJ0MjcwIDIxMHEtNzEgMzMtMTE1IDk5dC00NSAxNTFxMCAxMDUgNzAgMTgydDE3MiA4OXEtODEgNjEtODEgMTYxIDAgODQgNTkgMTQ0dDE0NSA2MHE4NCAwIDE0NC02MHQ2MC0xNDRxMC0xMDAtODEtMTYxIDEwMi0xMiAxNzItODl0NzAtMTgycTAtODQtNDUtMTUwdC0xMTYtMTAwcTE2NS02MyAyNzAtMjEwdDEwNS0zMzJxMC0xMDgtMzktMjA5aC01NDB6IiBmaWxsLXJ1bGU9Im5vbnplcm8iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAsMjA0OCkgc2NhbGUoMSwtMSkiIGRpc3BsYXk9ImJsb2NrIiBmaWxsPSIjMDAwIi8+CiA8cGF0aCBzdHlsZT0iY29sb3I6YmxhY2s7IiBkPSJtMTAyNCAxNzc1aDQ5MXEyMS03MiAyMS0xNDEgMC0xNTYtODYtMjgzdC0yMjMtMTg3cS02Ni01LTY2LTcyIDAtNTMgNjctNzggOTMtNjUgOTMtMTcyIDAtNzctNTItMTM1dC0xMjYtNjdxLTYwLTUtNjAtNjggMC0yOCAyMi01MiA1NC00MiA1NC0xMTAgMC01Ni00MC05NnQtOTUtNDBxLTU3IDAtOTYgNDB0LTQwIDk2cTAgNjcgNTQgMTEwIDIyIDIyIDIyIDUyIDAgNjMtNTkgNjgtNzUgOS0xMjYgNjd0LTUyIDEzNXEwIDEwNyA5MyAxNzIgNjcgMjYgNjcgNzggMCA2Ny02NyA3Mi0xMzYgNjAtMjIyIDE4N3QtODYgMjgzcTAgNzQgMjEgMTQxaDQ5MXoiIGZpbGwtcnVsZT0ibm9uemVybyIgZGlzcGxheT0iYmxvY2siIGZpbGw9IiNmYzAiLz4KPC9zdmc+Cg=='); + +piece.white.king-pawn { + background-image: url('/pieces/white_king_pawn.svg'); } -piece.king-rook.white { - background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxuczpyZG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2MzkgMTY3MmgtMTIzMHYxMDNoMTIzMHYtMTAzeiIgZGlzcGxheT0iYmxvY2siLz4KICA8cGF0aCBzdHlsZT0iY29sb3I6YmxhY2s7IiBkPSJtMTQ4NCAxNDY4aC05MjB2MTM2aDkyMHYtMTM2eiIgZGlzcGxheT0iYmxvY2siLz4KICA8cGF0aCBzdHlsZT0iY29sb3I6YmxhY2s7IiBkPSJtMTMxNCA3NTFoLTU4MHY0NzhoNTgwdi00Nzh6IiBkaXNwbGF5PSJibG9jayIvPgogIDxwYXRoIHN0eWxlPSJjb2xvcjpibGFjazsiIGQ9Im0xNTM2IDUxMnYtMjM5aC0xMzd2MTM3aC0zMDh2LTEzN2gtMTM1djEzN2gtMzA3di0xMzdoLTEzN3YyMzloMTAyNHoiIGRpc3BsYXk9ImJsb2NrIi8+CiA8L2c+CiA8cGF0aCBzdHlsZT0iY29sb3I6YmxhY2s7IiBkPSJtMTQ1OSAxMzk5LTEwMy0xMDJoLTY2M2wtMTA1IDEwMmg4NzF6IiBmaWxsLXJ1bGU9Im5vbnplcm8iIGRpc3BsYXk9ImJsb2NrIiBmaWxsPSIjZmMwIi8+CiA8cGF0aCBzdHlsZT0iY29sb3I6YmxhY2s7IiBkPSJtMTM0OSA2ODMgMTI3LTEwM2gtOTA0bDEyOCAxMDNoNjQ5eiIgZmlsbC1ydWxlPSJub256ZXJvIiBkaXNwbGF5PSJibG9jayIgZmlsbD0iI2ZjMCIvPgo8L3N2Zz4K'); +piece.white.king-rook { + background-image: url('/pieces/white_king_rook.svg'); } -piece.king-knight.white { - background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgaGVpZ2h0PSIxMDAlIiB3aWR0aD0iMTAwJSIgdmVyc2lvbj0iMS4xIiB4bWxuczpjYz0iaHR0cDovL2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0LTM2IDI2N3EtMzQgMTI4LTc1IDIxOHQtODkgMTU3cS03MiAxMDgtMTk2IDE4M3QtMjU5IDk4cTktNDkgOC05Ni0yLTM2LTM0LTM2LTM3IDAtMzMgMzYgMyAxMzItOTQgMjI2LTc2LTgwLTgyLTE4Ni0yLTM1LTM2LTMxLTMyIDEtMzIgMzcgMCAwIDIgOC00MS0xMy04Ni0zNy0yOS0yMC00NyAxMHQxNiA0N3E0MyAyMiA2NSAzMy04NiA4OC0xOTYgMTQyIDEyLTEzOSA3Ni0yNjMgMTctMjYtOC00Ni0yOC0yMi00NyA3LTcgMTAtMjAgMzYtMjEtMjEtMjgtMzEtNy05LTI0LTQwdC0yNi01MXEtOS0yNS04LTQwdDMtMzVxLTktNTktNDAtMTExdC04MS0xMjdxLTQ3LTcyLTcyLTEwOHQtMzgtOTJxLTktMzQgMC04MnQzOS03NnE0Ni00NyA4OS00MyAxNCAwIDM3IDExdDM3IDQycTI2IDU3IDQzIDU3IDI1IDAgMjctMjggMC02LTE2LTUwLTktMjAtMjQtNDItMTktMjYtMTctMjIgMTYtNTcgNTMtMjAgMTEgMTEgMjUgNDF0NDQgODFxMzUgNTkgNzUgOTZ0NzEgNjBxMTggMTMgNDQgMzB0NzAgMzVxMzUgMTQgNzcgMzR0NzYgNTNxNDYgNDUgNzEgMTExIDEzIDM3IDEwIDkxLTkgMzQgMzQgMzQgMzIgMCAzNi0zMyAwLTExMy02NC0yMDYgMjEtNjQgMTEtMTQwLTktNjEtNDItMTMwdC0xMzYtMTU1cS0yMDctMTcyLTE5Ni0zNTQgMCAwIDE3MCAwdDMyMSAwaDU0N3oiIGZpbGwtcnVsZT0ibm9uemVybyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCwyMDQ4KSBzY2FsZSgxLC0xKSIgZGlzcGxheT0iYmxvY2siIGZpbGw9IiMwMDAiLz4KPC9zdmc+Cg=='); +piece.white.king-knight { + background-image: url('/pieces/white_king_knight.svg'); } -piece.king-bishop.white { - background-image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TEwMjQgMzk5cTY4IDAgNjgtNjh0LTY4LTY4LTY4IDY4IDY4IDY4eiIgZGlzcGxheT0iYmxvY2siLz4KICA8cGF0aCBzdHlsZT0iY29sb3I6YmxhY2s7IiBkPSJtMTAyNCAxMzQ4cTExNyAwIDIyNSAyM2wtNDgtMTIzcS04OC0xNC0xNzctMTQtOTEgMC0xNzggMTRsLTQ4IDEyM3ExMDctMjMgMjI2LTIzeiIgZGlzcGxheT0iYmxvY2siLz4KICA8cGF0aCBzdHlsZT0iY29sb3I6YmxhY2s7IiBkPSJtOTg4IDE1NDNoLTMycS01NiA5MC0xMDcgMTEzLTI0IDEyLTUzIDIydC02NyAxMHEtNyAwLTEwNy0xNi00OC03LTc2LTE1dC00NC0xMHEtNTctNy0xMzMgNi00NiA4LTg2IDI5bDQ4IDc4cTEyLTEyIDMxLTE1dDM2LThxNDItNyA4MC0yIDEzIDMgNTEgN3QxMDEgMTVxNzUgMTEgMTAyIDExIDEwNSAwIDE2MS00MCAzNC0yNiA2NC03MnQzMS0xMTN6IiBkaXNwbGF5PSJibG9jayIvPgogIDxwYXRoIHN0eWxlPSJjb2xvcjpibGFjazsiIGQ9Im0xMDU5IDE1NDNxMCA2NiAzMCAxMTJ0NjYgNzNxNTUgNDAgMTYxIDQwIDI2IDAgMTAyLTExIDYyLTEwIDEwMC0xNHQ1MS04cTM4LTUgODAgMiAxNiA0IDM1IDd0MzMgMTZsNDgtNzhxLTQxLTIxLTg3LTI5LTc2LTEzLTEzMy02LTE3IDItNDQgMTB0LTc1IDE1cS0xMDEgMTYtMTA3IDE2LTM5IDAtNjgtMTB0LTUyLTIycS01My0yNC0xMDgtMTEzaC0zMnoiIGRpc3BsYXk9ImJsb2NrIi8+CiA8L2c+Cjwvc3ZnPgo='); +piece.white.king-bishop { + background-image: url('/pieces/white_king_bishop.svg'); } -piece.king-queen.white { - background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OT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E2NiAwIDY2LTY2dC02Ni02NnEtNjcgMC02NyA2NnQ2NyA2NnoiIGRpc3BsYXk9ImJsb2NrIi8+CiAgPHBhdGggc3R5bGU9ImNvbG9yOmJsYWNrOyIgZD0ibTE0NDQgNDA3cTY3IDAgNjctNjZ0LTY3LTY2cS02NiAwLTY2IDY2dDY2IDY2eiIgZGlzcGxheT0iYmxvY2siLz4KICA8cGF0aCBzdHlsZT0iY29sb3I6YmxhY2s7IiBkPSJtMjM2IDUxN3E2NyAwIDY3LTY2IDAtNjctNjctNjctNjYgMC02NiA2NyAwIDY2IDY2IDY2eiIgZGlzcGxheT0iYmxvY2siLz4KICA8cGF0aCBzdHlsZT0iY29sb3I6YmxhY2s7IiBkPSJtMTgxNCA1MTdxNjYgMCA2Ni02NiAwLTY3LTY2LTY3LTY3IDAtNjcgNjcgMCA2NiA2NyA2NnoiIGRpc3BsYXk9ImJsb2NrIi8+CiA8L2c+Cjwvc3ZnPgo='); +piece.white.king-queen { + background-image: url('/pieces/white_king_queen.svg'); } diff --git a/base_rules.js b/base_rules.js index efeb078..5d91c72 100644 --- a/base_rules.js +++ b/base_rules.js @@ -880,7 +880,7 @@ export default class ChessRules { touchLocation = e.changedTouches[0]; if (touchLocation) return {x: touchLocation.clientX, y: touchLocation.clientY}; - return [0, 0]; //shouldn't reach here =) + return {x: 0, y: 0}; //shouldn't reach here =) } const centerOnCursor = (piece, e) => { @@ -1240,7 +1240,7 @@ export default class ChessRules { getPotentialMovesFrom(sq, color) { if (typeof sq[0] == "string") return this.getDropMovesFrom(sq); - if (this.options["madrasi"] && this.isImmobilized(sq)) + if (this.isImmobilized(sq)) return []; const piece = this.getPieceType(sq[0], sq[1]); let moves = this.getPotentialMovesOf(piece, sq); @@ -1267,138 +1267,151 @@ export default class ChessRules { const color = this.getColor(moves[0].start.x, moves[0].start.y); const oppCol = C.GetOppCol(color); - if (this.options["capture"] && this.atLeastOneCapture()) { - // Filter out non-capturing moves (not using m.vanish because of - // self captures of Recycle and Teleport). - moves = moves.filter(m => { - return ( - this.board[m.end.x][m.end.y] != "" && - this.getColor(m.end.x, m.end.y) == oppCol - ); - }); - } + if (this.options["capture"] && this.atLeastOneCapture()) + moves = this.capturePostProcess(moves, oppCol); - if (this.options["atomic"]) { - moves.forEach(m => { - if ( - this.board[m.end.x][m.end.y] != "" && - this.getColor(m.end.x, m.end.y) == oppCol - ) { - // Explosion! - let steps = [ - [-1, -1], - [-1, 0], - [-1, 1], - [0, -1], - [0, 1], - [1, -1], - [1, 0], - [1, 1] - ]; - for (let step of steps) { - let x = m.end.x + step[0]; - let y = this.computeY(m.end.y + step[1]); - if ( - this.onBoard(x, y) && - this.board[x][y] != "" && - this.getPieceType(x, y) != "p" - ) { - m.vanish.push( - new PiPo({ - p: this.getPiece(x, y), - c: this.getColor(x, y), - x: x, - y: y - }) - ); - } - } - if (!this.options["rifle"]) - m.appear.pop(); //nothin appears - } - }); - } + if (this.options["atomic"]) + this.atomicPostProcess(moves, oppCol); if ( moves.length > 0 && this.getPieceType(moves[0].start.x, moves[0].start.y) == "p" ) { - let moreMoves = []; - const lastRank = (color == "w" ? 0 : this.size.x - 1); - const initPiece = this.getPiece(moves[0].start.x, moves[0].start.y); - moves.forEach(m => { - let finalPieces = ["p"]; - const [x1, y1] = [m.start.x, m.start.y]; - const [x2, y2] = [m.end.x, m.end.y]; - const promotionOk = ( - x2 == lastRank && - (!this.options["rifle"] || this.board[x2][y2] == "") - ); - if (!promotionOk) - return; //nothing to do - if (!this.options["pawnfall"]) { - if ( - this.options["cannibal"] && - this.board[x2][y2] != "" && - this.getColor(x2, y2) == oppCol - ) { - finalPieces = [this.getPieceType(x2, y2)]; - } - else - finalPieces = this.pawnPromotions; - } - m.appear[0].p = finalPieces[0]; - if (initPiece == "!") //cannibal king-pawn - m.appear[0].p = C.CannibalKingCode[finalPieces[0]]; - for (let i=1; i { + this.riflePromotePostProcess(moves); + } + + return moves; + } + + capturePostProcess(moves, oppCol) { + // Filter out non-capturing moves (not using m.vanish because of + // self captures of Recycle and Teleport). + return moves.filter(m => { + return ( + this.board[m.end.x][m.end.y] != "" && + this.getColor(m.end.x, m.end.y) == oppCol + ); + }); + } + + atomicPostProcess(moves, oppCol) { + moves.forEach(m => { + if ( + this.board[m.end.x][m.end.y] != "" && + this.getColor(m.end.x, m.end.y) == oppCol + ) { + // Explosion! + let steps = [ + [-1, -1], + [-1, 0], + [-1, 1], + [0, -1], + [0, 1], + [1, -1], + [1, 0], + [1, 1] + ]; + for (let step of steps) { + let x = m.end.x + step[0]; + let y = this.computeY(m.end.y + step[1]); + if ( + this.onBoard(x, y) && + this.board[x][y] != "" && + this.getPieceType(x, y) != "p" + ) { + m.vanish.push( + new PiPo({ + p: this.getPiece(x, y), + c: this.getColor(x, y), + x: x, + y: y + }) + ); + } + } + if (!this.options["rifle"]) + m.appear.pop(); //nothin appears + } + }); + } + + pawnPostProcess(moves, color, oppCol) { + let moreMoves = []; + const lastRank = (color == "w" ? 0 : this.size.x - 1); + const initPiece = this.getPiece(moves[0].start.x, moves[0].start.y); + moves.forEach(m => { + let finalPieces = ["p"]; + const [x1, y1] = [m.start.x, m.start.y]; + const [x2, y2] = [m.end.x, m.end.y]; + const promotionOk = ( + x2 == lastRank && + (!this.options["rifle"] || this.board[x2][y2] == "") + ); + if (!promotionOk) + return; //nothing to do + if (!this.options["pawnfall"]) { if ( - m.start.x == lastRank && - m.appear.length >= 1 && - m.appear[0].p == "p" && - m.appear[0].x == m.start.x && - m.appear[0].y == m.start.y + this.options["cannibal"] && + this.board[x2][y2] != "" && + this.getColor(x2, y2) == oppCol ) { - const promotionPiece0 = this.pawnSpecs.promotions[0]; - m.appear[0].p = this.pawnPromotions[0]; - for (let i=1; i { + if ( + m.start.x == lastRank && + m.appear.length >= 1 && + m.appear[0].p == "p" && + m.appear[0].x == m.start.x && + m.appear[0].y == m.start.y + ) { + const promotionPiece0 = this.pawnSpecs.promotions[0]; + m.appear[0].p = this.pawnPromotions[0]; + for (let i=1; i 1e-7) - continue; - distance = Math.round(distance); //in case of (numerical...) - if (a.range < distance) + if (!C.CompatibleStep([i, j], [x, y], s, a.range)) continue; // Finally verify that nothing stand in-between let [ii, jj] = [i + s[0], this.computeY(j + s[1])]; @@ -1568,6 +1574,25 @@ export default class ChessRules { return moves; } + static CompatibleStep([x1, y1], [x2, y2], step, range) { + const rx = (x2 - x1) / step[0], + ry = (y2 - y1) / step[1]; + if ( + (!Number.isFinite(rx) && !Number.isNaN(rx)) || + (!Number.isFinite(ry) && !Number.isNaN(ry)) + ) { + return false; + } + let distance = (Number.isNaN(rx) ? ry : rx); + // TODO: 1e-7 here is totally arbitrary + if (Math.abs(distance - Math.round(distance)) > 1e-7) + return false; + distance = Math.round(distance); //in case of (numerical...) + if (range < distance) + return false; + return true; + } + // Build a regular move from its initial and destination squares. // tr: transformation getBasicMove([sx, sy], [ex, ey], tr) { @@ -2204,8 +2229,8 @@ export default class ChessRules { const r = container.querySelector(".chessboard").getBoundingClientRect(); const animateRec = i => { this.animate(moves[i], () => { - this.playVisual(moves[i], r); this.play(moves[i]); + this.playVisual(moves[i], r); if (i < moves.length - 1) setTimeout(() => animateRec(i+1), 300); else diff --git a/pieces/black_amazon.svg b/pieces/black_amazon.svg new file mode 100644 index 0000000..0215b87 --- /dev/null +++ b/pieces/black_amazon.svg @@ -0,0 +1,232 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + diff --git a/pieces/black_bishop.svg b/pieces/black_bishop.svg new file mode 100644 index 0000000..f0a098c --- /dev/null +++ b/pieces/black_bishop.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pieces/black_empress.svg b/pieces/black_empress.svg new file mode 100644 index 0000000..3b29027 --- /dev/null +++ b/pieces/black_empress.svg @@ -0,0 +1,208 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pieces/black_king.svg b/pieces/black_king.svg new file mode 100644 index 0000000..f3936d1 --- /dev/null +++ b/pieces/black_king.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/pieces/black_king_bishop.svg b/pieces/black_king_bishop.svg new file mode 100644 index 0000000..508381b --- /dev/null +++ b/pieces/black_king_bishop.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pieces/black_king_knight.svg b/pieces/black_king_knight.svg new file mode 100644 index 0000000..537dc09 --- /dev/null +++ b/pieces/black_king_knight.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/pieces/black_king_pawn.svg b/pieces/black_king_pawn.svg new file mode 100644 index 0000000..718a4a3 --- /dev/null +++ b/pieces/black_king_pawn.svg @@ -0,0 +1,3 @@ + + + diff --git a/pieces/black_king_queen.svg b/pieces/black_king_queen.svg new file mode 100644 index 0000000..52fcc2d --- /dev/null +++ b/pieces/black_king_queen.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/pieces/black_king_rook.svg b/pieces/black_king_rook.svg new file mode 100644 index 0000000..e4051e4 --- /dev/null +++ b/pieces/black_king_rook.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pieces/black_knight.svg b/pieces/black_knight.svg new file mode 100644 index 0000000..261eec4 --- /dev/null +++ b/pieces/black_knight.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/pieces/black_pawn.svg b/pieces/black_pawn.svg new file mode 100644 index 0000000..3eaa9f5 --- /dev/null +++ b/pieces/black_pawn.svg @@ -0,0 +1,3 @@ + + + diff --git a/pieces/black_princess.svg b/pieces/black_princess.svg new file mode 100644 index 0000000..c34593d --- /dev/null +++ b/pieces/black_princess.svg @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + diff --git a/pieces/black_queen.svg b/pieces/black_queen.svg new file mode 100644 index 0000000..49bfbe3 --- /dev/null +++ b/pieces/black_queen.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/pieces/black_rook.svg b/pieces/black_rook.svg new file mode 100644 index 0000000..c95631c --- /dev/null +++ b/pieces/black_rook.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pieces/white_amazon.svg b/pieces/white_amazon.svg new file mode 100644 index 0000000..beeaaea --- /dev/null +++ b/pieces/white_amazon.svg @@ -0,0 +1,25 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + diff --git a/pieces/white_bishop.svg b/pieces/white_bishop.svg new file mode 100644 index 0000000..2dfcf08 --- /dev/null +++ b/pieces/white_bishop.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/pieces/white_empress.svg b/pieces/white_empress.svg new file mode 100644 index 0000000..cc1099c --- /dev/null +++ b/pieces/white_empress.svg @@ -0,0 +1,178 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pieces/white_king.svg b/pieces/white_king.svg new file mode 100644 index 0000000..a31f36b --- /dev/null +++ b/pieces/white_king.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/pieces/white_king_bishop.svg b/pieces/white_king_bishop.svg new file mode 100644 index 0000000..4af5154 --- /dev/null +++ b/pieces/white_king_bishop.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/pieces/white_king_knight.svg b/pieces/white_king_knight.svg new file mode 100644 index 0000000..20541c8 --- /dev/null +++ b/pieces/white_king_knight.svg @@ -0,0 +1,4 @@ + + + + diff --git a/pieces/white_king_pawn.svg b/pieces/white_king_pawn.svg new file mode 100644 index 0000000..bc21051 --- /dev/null +++ b/pieces/white_king_pawn.svg @@ -0,0 +1,4 @@ + + + + diff --git a/pieces/white_king_queen.svg b/pieces/white_king_queen.svg new file mode 100644 index 0000000..185be0e --- /dev/null +++ b/pieces/white_king_queen.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/pieces/white_king_rook.svg b/pieces/white_king_rook.svg new file mode 100644 index 0000000..6c6528f --- /dev/null +++ b/pieces/white_king_rook.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/pieces/white_knight.svg b/pieces/white_knight.svg new file mode 100644 index 0000000..8bf5d89 --- /dev/null +++ b/pieces/white_knight.svg @@ -0,0 +1,4 @@ + + + + diff --git a/pieces/white_pawn.svg b/pieces/white_pawn.svg new file mode 100644 index 0000000..eccfc27 --- /dev/null +++ b/pieces/white_pawn.svg @@ -0,0 +1,4 @@ + + + + diff --git a/pieces/white_princess.svg b/pieces/white_princess.svg new file mode 100644 index 0000000..ee56aff --- /dev/null +++ b/pieces/white_princess.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + diff --git a/pieces/white_queen.svg b/pieces/white_queen.svg new file mode 100644 index 0000000..b98b76f --- /dev/null +++ b/pieces/white_queen.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/pieces/white_rook.svg b/pieces/white_rook.svg new file mode 100644 index 0000000..d2a6ea2 --- /dev/null +++ b/pieces/white_rook.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/server.js b/server.js index 5661136..0382e37 100644 --- a/server.js +++ b/server.js @@ -63,9 +63,9 @@ wss.on("connection", (socket, req) => { switch (obj.code) { // Send challenge (may trigger game creation) case "seekgame": { - let opponent = undefined, - choice = undefined; - const vname = obj.vname, + let oppIndex = undefined, //variant name + choice = undefined; //variant finally played + const vname = obj.vname, //variant requested randvar = (obj.vname == "_random"); if (vname == "_random") { // Pick any current challenge if possible @@ -73,22 +73,28 @@ wss.on("connection", (socket, req) => { if (currentChalls.length >= 1) { choice = currentChalls[Math.floor(Math.random() * currentChalls.length)]; - opponent = challenges[choice]; + oppIndex = choice; } } else if (challenges[vname]) { - opponent = challenges[vname]; + // Anyone wanting to play the same variant ? choice = vname; + oppIndex = vname; } - if (opponent) { - delete challenges[choice]; + else if (challenges["_random"]) { + // Anyone accepting any variant (including vname) ? + choice = vname; + oppIndex = "_random"; + } + if (oppIndex) { if (choice == "_random") choice = getRandomVariant(); // Launch game let players = [ {sid: sid, name: obj.name, randvar: randvar}, - opponent + Object.assign({}, challenges[oppIndex]) ]; + delete challenges[oppIndex]; if (Math.random() < 0.5) players = players.reverse(); // Empty options = default diff --git a/variants.js b/variants.js index a5d62ce..9111e07 100644 --- a/variants.js +++ b/variants.js @@ -87,7 +87,7 @@ const variants = [ // { name: 'Koth', desc: 'King of the Hill', disp:'King of the Hill' }, // { name: 'Losers', desc: 'Get strong at self-mate' }, // { name: 'Madhouse', desc: 'Rearrange enemy pieces' }, -// { name: 'Madrasi', desc: 'Paralyzed pieces' }, + { name: 'Madrasi', desc: 'Paralyzed pieces' }, // { name: 'Magnetic', desc: 'Laws of attraction' }, // { name: 'Maharajah', desc: 'Augmented Queens' }, // { name: 'Makpong', desc: 'Thai Chess (v2)' }, @@ -113,11 +113,11 @@ const variants = [ // { name: 'Pawnsking', desc: 'Reach the last rank (v2)', disp: 'Pawns & King' }, // { name: 'Perfect', desc: 'Powerful pieces' }, // { name: 'Pocketknight', desc: 'Knight in pocket', disp: 'Pocket Knight' }, -// { name: 'Progressive', desc: 'Play more and more moves' }, + { name: 'Progressive', desc: 'Play more and more moves' }, // { name: 'Racingkings', desc: 'Kings cross the 8x8 board', disp: 'Racing Kings' }, // { name: 'Rampage', desc: 'Move under cover' }, // { name: 'Relayup', desc: 'Upgrade pieces', disp: 'Relay-up' }, -// { name: 'Rifle', desc: 'Shoot pieces' }, + { name: 'Rifle', desc: 'Shoot pieces' }, { name: 'Recycle', desc: 'Reuse pieces' }, // { name: 'Refusal', desc: 'Do not play that!' }, // { name: 'Rollerball', desc: 'As in the movie' }, diff --git a/variants/Absorption/class.js b/variants/Absorption/class.js index 9869414..3979662 100644 --- a/variants/Absorption/class.js +++ b/variants/Absorption/class.js @@ -14,14 +14,14 @@ export default class AbsorptionRules extends ChessRules { "doublemove", "progressive", "recycle", - "rifle", + //"rifle", //TODO "teleport", "zen" ] }; } - pieces(color) { + pieces(color, x, y) { let fusions = { // amazon 'a': { @@ -45,145 +45,105 @@ export default class AbsorptionRules extends ChessRules { // empress 'e': { "class": "empress", - steps: [ - [1, 2], [1, -2], [-1, 2], [-1, -2], - [2, 1], [-2, 1], [2, -1], [-2, -1] - ], + moves: [ + { + steps: [ + [1, 0], [-1, 0], [0, 1], [0, -1] + ] + }, + { + steps: [ + [1, 2], [1, -2], [-1, 2], [-1, -2], + [2, 1], [-2, 1], [2, -1], [-2, -1] + ], + range: 1 + } + ] }, // princess - 'b': { - "class": "bishop", - steps: [[1, 1], [1, -1], [-1, 1], [-1, -1]] + 's': { + "class": "princess", + moves: [ + { + steps: [ + [1, 1], [1, -1], [-1, 1], [-1, -1] + ] + }, + { + steps: [ + [1, 2], [1, -2], [-1, 2], [-1, -2], + [2, 1], [-2, 1], [2, -1], [-2, -1] + ], + range: 1 + } + ] } }; - return Object.assign(fusions, super.pieces(color)); + return Object.assign(fusions, super.pieces(color, x, y)); } static get MergeComposed() { return { "be": "a", + "bq": "q", + "br": "q", "bs": "s", + "eq": "a", "er": "e", + "es": "a", "rs": "a", - "eq": "a", + "qr": "q", "qs": "a", - "ee": "e", - "es": "a", - "ss": "s" + "rs": "a" }; } + // Assumption p1 != p2 static Fusion(p1, p2) { - if (p1 == V.KING) return p1; - if (p1 == V.PAWN) return p2; - if (p2 == V.PAWN) return p1; - if ([p1, p2].includes(V.KNIGHT)) { - if ([p1, p2].includes(V.QUEEN)) return V.QN; - if ([p1, p2].includes(V.ROOK)) return V.RN; - if ([p1, p2].includes(V.BISHOP)) return V.BN; + if (p1 == "k") + return p1; + if (p1 == "p") + return p2; + if (p2 == "p") + return p1; + if ([p1, p2].includes("n")) { + if ([p1, p2].includes("q")) + return "a"; + if ([p1, p2].includes("r")) + return "e"; + if ([p1, p2].includes("b")) + return "s"; // p1 or p2 already have knight + other piece - return (p1 == V.KNIGHT ? p2 : p1); - } - if ([p1, p2].includes(V.QN)) return V.QN; - for (let p of [p1, p2]) { - if ([V.BN, V.RN].includes(p)) - return V.MergeComposed[[p1, p2].sort().join("")]; + return (p1 == "n" ? p2 : p1); } - // bishop + rook, or queen + [bishop or rook] - return V.QUEEN; + if ([p1, p2].includes("a")) + return "a"; + // No king, no pawn, no knight or amazon => 5 remaining pieces + return V.MergeComposed[[p1, p2].sort().join("")]; } - getPotentialMovesFrom(sq) { - let moves = []; - const piece = this.getPiece(sq[0], sq[1]); - switch (piece) { - case V.RN: - moves = - super.getPotentialRookMoves(sq).concat( - super.getPotentialKnightMoves(sq)); - break; - case V.BN: - moves = - super.getPotentialBishopMoves(sq).concat( - super.getPotentialKnightMoves(sq)); - break; - case V.QN: - moves = - super.getPotentialQueenMoves(sq).concat( - super.getPotentialKnightMoves(sq)); - break; - default: - moves = super.getPotentialMovesFrom(sq); - } + // TODO: interaction with rifle ? + postProcessPotentialMoves(moves) { // Filter out capturing promotions (except one), // because they are all the same. moves = moves.filter(m => { return ( m.vanish.length == 1 || - m.vanish[0].p != V.PAWN || - [V.PAWN, V.QUEEN].includes(m.appear[0].p) + m.vanish[0].p != "p" || + ["p", "q"].includes(m.appear[0].p) ); }); moves.forEach(m => { if ( m.vanish.length == 2 && m.appear.length == 1 && - piece != m.vanish[1].p + m.vanish[0].p != m.vanish[1].p ) { // Augment pieces abilities in case of captures - m.appear[0].p = V.Fusion(piece, m.vanish[1].p); + m.appear[0].p = V.Fusion(m.vanish[0].p, m.vanish[1].p); } }); - return moves; - } - - isAttacked(sq, color) { - return ( - super.isAttacked(sq, color) || - this.isAttackedByBN(sq, color) || - this.isAttackedByRN(sq, color) || - this.isAttackedByQN(sq, color) - ); - } - - isAttackedByBN(sq, color) { - return ( - this.isAttackedBySlideNJump(sq, color, V.BN, V.steps[V.BISHOP]) || - this.isAttackedBySlideNJump( - sq, color, V.BN, V.steps[V.KNIGHT], 1) - ); - } - - isAttackedByRN(sq, color) { - return ( - this.isAttackedBySlideNJump(sq, color, V.RN, V.steps[V.ROOK]) || - this.isAttackedBySlideNJump( - sq, color, V.RN, V.steps[V.KNIGHT], 1) - ); - } - - isAttackedByQN(sq, color) { - return ( - this.isAttackedBySlideNJump( - sq, color, V.QN, V.steps[V.BISHOP].concat(V.steps[V.ROOK])) || - this.isAttackedBySlideNJump( - sq, color, V.QN, V.steps[V.KNIGHT], 1) - ); - } - - static get VALUES() { - return Object.assign( - { a: 12, e: 7, s: 5 }, - ChessRules.VALUES - ); - } - - getNotation(move) { - let notation = super.getNotation(move); - if (move.vanish[0].p != V.PAWN && move.appear[0].p != move.vanish[0].p) - // Fusion (not from a pawn: handled in ChessRules) - notation += "=" + move.appear[0].p.toUpperCase(); - return notation; + super.postProcessPotentialMoves(moves); } }; diff --git a/variants/Absorption/pieces.css b/variants/Absorption/pieces.css deleted file mode 100644 index afafb05..0000000 --- a/variants/Absorption/pieces.css +++ /dev/null @@ -1,23 +0,0 @@ -piece.black.amazon { - background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgIHhtbG5zOmNjPSJodHRwOi8vY3JlYXRpdmVjb21tb25zLm9yZy9ucyMiCiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG9kaS5zb3VyY2Vmb3Jn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9ImZlRmxvb2QyNzMiIC8+CiAgICAgIDxmZUJsZW5kCiAgICAgICAgIGluPSJmbG9vZDEiCiAgICAgICAgIGluMj0iY29sb3JtYXRyaXgxIgogICAgICAgICBtb2RlPSJtdWx0aXBseSIKICAgICAgICAgcmVzdWx0PSJibGVuZDEiCiAgICAgICAgIGlkPSJmZUJsZW5kMjc1IiAvPgogICAgICA8ZmVCbGVuZAogICAgICAgICBpbjI9ImJsZW5kMSIKICAgICAgICAgbW9kZT0ic2NyZWVuIgogICAgICAgICByZXN1bHQ9ImJsZW5kMiIKICAgICAgICAgaWQ9ImZlQmxlbmQyNzciIC8+CiAgICAgIDxmZUNvbG9yTWF0cml4CiAgICAgICAgIGluPSJibGVuZDIiCiAgICAgICAgIHZhbHVlcz0iMSIKICAgICAgICAgdHlwZT0ic2F0dXJhdGUiCiAgICAgICAgIHJlc3VsdD0iY29sb3JtYXRyaXgyIgogICAgICAgICBpZD0iZmVDb2xvck1hdHJpeDI3OSIgLz4KICAgICAgPGZlQ29tcG9zaXRlCiAgICAgICAgIGluPSJjb2xvcm1hdHJpeDIiCiAgICAgICAgIGluMj0iU291cmNlR3JhcGhpYyIKICAgICAgICAgb3BlcmF0b3I9ImluIgogICAgICAgICBrMj0iMSIKICAgICAgICAgcmVzdWx0PSJjb21wb3NpdGUyIgogICAgICAgICBpZD0iZmVDb21wb3NpdGUyODEiIC8+CiAgICA8L2ZpbHRlcj4KICAgIDxmaWx0ZXIKICAgICAgIHN0eWxlPSJjb2xvci1pbnRlcnBvbGF0aW9uLWZpbHRlcnM6c1JHQjsiCiAgICAgICBpbmtzY2FwZTpsYWJlbD0iQ29sb3JpemUiCiAgICAgICBpZD0iZmlsdGVyMjk5Ij4KICAgICAgPGZlQ29tcG9zaXRlCiAgICAgICAgIGluMj0iU291cmNlR3JhcGhpYyIKICAgICAgICAgb3BlcmF0b3I9ImFyaXRobWV0aWMiCiAgICAgICAgIGsxPSIwIgogICAgICAgICBrMj0iMSIKICAgICAgICAgcmVzdWx0PSJjb21wb3NpdGUxIgogICAgICAgICBpZD0iZmVDb21wb3NpdGUyODUiIC8+CiAgICAgIDxmZUNvbG9yTWF0cml4CiAgICAgICAgIGluPSJjb21wb3NpdGUxIgogICAgICAgICB2YWx1ZXM9IjEiCiAgICAgICAgIHR5cGU9InNhdHVyYXRlIgogICAgICAgICByZXN1bHQ9ImNvbG9ybWF0cml4MSIKICAgICAgICAgaWQ9ImZlQ29sb3JNYXRyaXgyODciIC8+CiAgICAgIDxmZUZsb29kCiAgICAgICAgIGZsb29kLW9wYWNpdHk9IjEiCiAgICAgICAgIGZsb29kLWNvbG9yPSJyZ2IoMjYsMjMsMjEpIgogICAgICAgICByZXN1bHQ9ImZsb29kMSIKICAgICAgICAgaWQ9ImZlRmxvb2QyODkiIC8+CiAgICAgIDxmZUJsZW5kCiAgICAgICAgIGluPSJmbG9vZDEiCiAgICAgICAgIGluMj0iY29sb3JtYXRyaXgxIgogICAgICAgICBtb2RlPSJtdWx0aXBseSIKICAgICAgICAgcmVzdWx0PSJibGVuZDEiCiAgICAgICAgIGlkPSJmZUJsZW5kMjkxIiAvPgogICAgICA8ZmVCbGVuZAogICAgICAgICBpbjI9ImJsZW5kMSIKICAgICAgICAgbW9kZT0ic2NyZWVuIgogICAgICAgICByZXN1bHQ9ImJsZW5kMiIKICAgICAgICAgaWQ9ImZlQmxlbmQyOTMiIC8+CiAgICAgIDxmZUNvbG9yTWF0cml4CiAgICAgICAgIGluPSJibGVuZDIiCiAgICAgICAgIHZhbHVlcz0iMSIKICAgICAgICAgdHlwZT0ic2F0dXJhdGUiCiAgICAgICAgIHJlc3VsdD0iY29sb3JtYXRyaXgyIgogICAgICAgICBpZD0iZmVDb2xvck1hdHJpeDI5NSIgLz4KICAgICAgPGZlQ29tcG9zaXRlCiAgICAgICAgIGluPSJjb2xvcm1hdHJpeDIiCiAgICAgICAgIGluMj0iU291cmNlR3JhcGhpYyIKICAgICAgICAgb3BlcmF0b3I9ImluIgogICAgICAg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9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIgogICAgICAgZD0ibSAzMS44ODU5NTUsMzAuODU4NjQyIGggLTE2LjUiCiAgICAgICBpZD0icGF0aDQ1OTAiCiAgICAgICBzb2RpcG9kaTpub2RldHlwZXM9ImNjIgogICAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIgLz4KICA8L2c+CiAgPGcKICAgICBpbmtzY2FwZTpncm91cG1vZGU9ImxheWVyIgogICAgIGlkPSJsYXllcjIiCiAgICAgaW5rc2NhcGU6bGFiZWw9IkxheWVyIDEjMSIKICAgICBzdHlsZT0iZGlzcGxheTppbmxpbmUiIC8+Cjwvc3ZnPgo='); -} - -piece.white.princess { - background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgIHhtbG5zOmNjPSJodHRwOi8vY3JlYXRpdmVjb21tb25zLm9yZy9ucyMiCiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB4bWxuczpzb2RpcG9kaT0iaHR0cDovL3NvZGlwb2RpLnNvdXJjZWZvcmdlLm5ldC9EVEQvc29kaXBvZGktMC5kdGQiCiAgIHhtbG5zOmlua3NjYXBlPSJodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy9uYW1lc3BhY2VzL2lua3NjYXB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NS40OTk5OTk1LDI3LjUgMTEuOTk5OTk5NSwyOC41IgogICAgICAgICBzdHlsZT0iZmlsbDpub25lO2ZpbGwtb3BhY2l0eTowLjc1O2ZpbGwtcnVsZTpldmVub2RkO3N0cm9rZTojMDAwMDAwO3N0cm9rZS13aWR0aDoxO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjptaXRlcjtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIgogICAgICAgICBpbmtzY2FwZTpjb25uZWN0b3ItY3VydmF0dXJlPSIwIiAvPgogICAgPC9nPgogIDwvZz4KICA8ZwogICAgIGlua3NjYXBlOmdyb3VwbW9kZT0ibGF5ZXIiCiAgICAgaWQ9ImxheWVyMiIKICAgICBpbmtzY2FwZTpsYWJlbD0iTGF5ZXIgMSMxIgogICAgIHN0eWxlPSJkaXNwbGF5OmlubGluZSIgLz4KPC9zdmc+Cg=='); -} diff --git a/variants/Absorption/rules.html b/variants/Absorption/rules.html new file mode 100644 index 0000000..53d5e45 --- /dev/null +++ b/variants/Absorption/rules.html @@ -0,0 +1 @@ +

The capturer absorbs abilities of the captured piece (except for pawns and king).

diff --git a/variants/Absorption/style.css b/variants/Absorption/style.css index 2964ee1..14714ab 100644 --- a/variants/Absorption/style.css +++ b/variants/Absorption/style.css @@ -1,2 +1,25 @@ -@import "../../base_pieces.css" -@import "pieces.css" +@import url("/base_pieces.css"); + +piece.black.amazon { + background-image: url('/pieces/black_amazon.svg'); +} + +piece.black.empress { + background-image: url('/pieces/black_empress.svg'); +} + +piece.black.princess { + background-image: url('/pieces/black_princess.svg'); +} + +piece.white.amazon { + background-image: url('/pieces/white_amazon.svg'); +} + +piece.white.empress { + background-image: url('/pieces/white_empress.svg'); +} + +piece.white.princess { + background-image: url('/pieces/white_princess.svg'); +} diff --git a/variants/Atomic/style.css b/variants/Atomic/style.css index 9378e29..a3550bc 100644 --- a/variants/Atomic/style.css +++ b/variants/Atomic/style.css @@ -1 +1 @@ -@import "../../base_pieces.css" +@import url("/base_pieces.css"); diff --git a/variants/Balanced/style.css b/variants/Balanced/style.css index 9378e29..a3550bc 100644 --- a/variants/Balanced/style.css +++ b/variants/Balanced/style.css @@ -1 +1 @@ -@import "../../base_pieces.css" +@import url("/base_pieces.css"); diff --git a/variants/Benedict/style.css b/variants/Benedict/style.css index 9378e29..a3550bc 100644 --- a/variants/Benedict/style.css +++ b/variants/Benedict/style.css @@ -1 +1 @@ -@import "../../base_pieces.css" +@import url("/base_pieces.css"); diff --git a/variants/Cannibal/style.css b/variants/Cannibal/style.css index 9378e29..a3550bc 100644 --- a/variants/Cannibal/style.css +++ b/variants/Cannibal/style.css @@ -1 +1 @@ -@import "../../base_pieces.css" +@import url("/base_pieces.css"); diff --git a/variants/Capture/style.css b/variants/Capture/style.css index 9378e29..290a6f4 100644 --- a/variants/Capture/style.css +++ b/variants/Capture/style.css @@ -1 +1 @@ -@import "../../base_pieces.css" +@import url("/base_pieces.css") diff --git a/variants/Chakart/style.css b/variants/Chakart/style.css index 620a9e8..6cfd883 100644 --- a/variants/Chakart/style.css +++ b/variants/Chakart/style.css @@ -1,4 +1,4 @@ -@import "../../base_pieces.css" +@import url("/base_pieces.css"); /* TODO: images des bananes/bombes/oeufs/champis + Chomp etc pour animations * Toadette/Waluigi/Luigi/King boo/Koopa/Daisy/Bowser avec petit texte */ diff --git a/variants/Chess960/style.css b/variants/Chess960/style.css index 9378e29..a3550bc 100644 --- a/variants/Chess960/style.css +++ b/variants/Chess960/style.css @@ -1 +1 @@ -@import "../../base_pieces.css" +@import url("/base_pieces.css"); diff --git a/variants/Crazyhouse/style.css b/variants/Crazyhouse/style.css index 9378e29..a3550bc 100644 --- a/variants/Crazyhouse/style.css +++ b/variants/Crazyhouse/style.css @@ -1 +1 @@ -@import "../../base_pieces.css" +@import url("/base_pieces.css"); diff --git a/variants/Cylinder/style.css b/variants/Cylinder/style.css index 9378e29..a3550bc 100644 --- a/variants/Cylinder/style.css +++ b/variants/Cylinder/style.css @@ -1 +1 @@ -@import "../../base_pieces.css" +@import url("/base_pieces.css"); diff --git a/variants/Dark/style.css b/variants/Dark/style.css index 9378e29..a3550bc 100644 --- a/variants/Dark/style.css +++ b/variants/Dark/style.css @@ -1 +1 @@ -@import "../../base_pieces.css" +@import url("/base_pieces.css"); diff --git a/variants/Doublemove/style.css b/variants/Doublemove/style.css index 9378e29..a3550bc 100644 --- a/variants/Doublemove/style.css +++ b/variants/Doublemove/style.css @@ -1 +1 @@ -@import "../../base_pieces.css" +@import url("/base_pieces.css"); diff --git a/variants/Madrasi/class.js b/variants/Madrasi/class.js new file mode 100644 index 0000000..eaabf07 --- /dev/null +++ b/variants/Madrasi/class.js @@ -0,0 +1,38 @@ +import ChessRules from "/base_rules.js"; + +export default class MadrasiRules extends ChessRules { + + static get Options() { + return { + select: C.Options.select, + check: [ + { + label: "Rex Incl.", + defaut: false, + variable: "rexincl" + } + ].concat(C.Options.check), + styles: C.Options.styles.filter(s => s != "madrasi") + }; + } + + constructor(o) { + o.options["madrasi"] = true; + super(o); + } + + underCheck([x, y], color) { + if (this.options["rexincl"]) { + // If Rex Inclusive, kings do not check each other: + // we just replace it very temporarily. + const [ox, oy] = this.searchKingPos(color); + const saveOppKing = this.board[ox][oy]; + this.board[ox][oy] = C.GetOppCol(color) + "q"; //arbitrary + const res = super.underCheck([x, y], color); + this.board[ox][oy] = saveOppKing; + return res; + } + return super.underCheck([x, y], color); + } + +}; diff --git a/variants/Madrasi/rules.html b/variants/Madrasi/rules.html new file mode 100644 index 0000000..22b6681 --- /dev/null +++ b/variants/Madrasi/rules.html @@ -0,0 +1 @@ +

Pieces of same nature attacking each other are immobilized.

diff --git a/variants/Madrasi/style.css b/variants/Madrasi/style.css new file mode 100644 index 0000000..a3550bc --- /dev/null +++ b/variants/Madrasi/style.css @@ -0,0 +1 @@ +@import url("/base_pieces.css"); diff --git a/variants/Zen/style.css b/variants/Zen/style.css index 9378e29..a3550bc 100644 --- a/variants/Zen/style.css +++ b/variants/Zen/style.css @@ -1 +1 @@ -@import "../../base_pieces.css" +@import url("/base_pieces.css");