Play shogi using chess pieces and board on 81Dojo!
JI Chess-Themed Shogi on 81Dojo by LuffyKudo
Imported and mirrored from https://raw.githubusercontent.com/LuffyKudo/JI-Chess-Themed-Shogi/main/81Dojo.user.styl
Details
AuthorLuffyKudo
LicenseCC BY-SA 4.0
Category81dojo
Created
Updated
Size83 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
JI Chess-Themed Shogi
Shogi (Japanese Chess) is the Japanese cousin of western chess and now you can play shogi using chess pieces and board on 81Dojo!
- Board and pieces included
- Works with matches and analysis
- Board works with the 9×9 variant
- Pieces work with all variants except with Dobutsu Shogi
To know more about JI Chess-Themed Shogi kindly visit JI Chess-Themed Shogi
Features
- *Choose the color of the bottom pieces:
- Black [default]
- White
- **Choose between four Kings Style:
- Gyoku-Ou (Sente has the Jewel while Gote has the King)[default]
- Ou-Gyoku (Sente has the King while Gote has the Jewel)
- Double Gyoku (both have Jewels)
- Double Ou (both have the Kings)
*Note: Due to the nature of 81Dojo's coding where upright pieces are always named sente even when the board is rotated or even if you are playing gote, black pieces for this theme will always start at the bottom. Thus I decided to add a new configuration where you can choose the color of the piece at the bottom of the board (e.g., you can select White if you are playing gote).
**Note: 81Dojo already has the correct distinction for Gyoku and Ou (Jewel and King), which is Ou for the higher rated/ranked player, so the default “Gyoku-Ou” should be selected for the Kings Style. However, for loaded external kifus, it seems like sente always has the gyoku, so you have the freedom to select the Kings Style depending on the ranking and your preference.
Other Themes
- JI Chess-Themed Shogi on Lishogi
- JI Shogi-Themed Chess on Lichess
- Hari Seldon Shogi Pieces on 81Dojo
View the complete lists of themes at UserStyles.
License
-
JI Chess-Themed Shogi is licensed under Creative Commons Attribution-ShareAlike 4.0 International
-
Cburnett Chess Pieces used and modified are originally by Colin M.L. Burnett licensed under CC BY-SA 3.0.
Created using the Stylus browser extension for 81Dojo.
Source code
Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link./* ==UserStyle==
@name JI Chess-Themed Shogi on 81Dojo
@version 1.0.0
@namespace https://github.com/LuffyKudo/JI-Chess-Themed-Shogi
@description Play shogi using chess pieces and board on 81Dojo!
@author LuffyKudo (https://luffykudo.wordpress.com)
@homepageURL https://luffykudo.wordpress.com/2021/05/10/chess-themed-shogi-westernized-shogi-japanese-chess/
@supportURL https://github.com/LuffyKudo/JI-Chess-Themed-Shogi/issues
@license CC BY-SA 4.0
@preprocessor stylus
@var select color "Piece Color (Bottom)" {
"Black":"black",
"White":"white"
}
@var select kings "Kings Style" {
"Gyoku-Ou":"gyokuou",
"Ou-Gyoku":"ougyoku",
"Double Gyoku":"gyoku",
"Double Ou":"ou"
}
==/UserStyle== */
@-moz-document domain("81dojo.com") {
bfu = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA0NSA0NSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KIDxwYXRoIGQ9Im0yMi41IDEzLjc1Yy0yLjIxIDAtNCAxLjc5LTQgNCAwIDAuODkgMC4yOSAxLjcxIDAuNzggMi4zOC0xLjk1IDEuMTItMy4yOCAzLjIxLTMuMjggNS42MiAwIDIuMDMgMC45NCAzLjg0IDIuNDEgNS4wMy0zIDEuMDYtNy40MSA1LjU1LTcuNDEgMTMuNDdoMjNjMC03LjkyLTQuNDEtMTIuNDEtNy40MS0xMy40NyAxLjQ3LTEuMTkgMi40MS0zIDIuNDEtNS4wMyAwLTIuNDEtMS4zMy00LjUtMy4yOC01LjYyIDAuNDktMC42NyAwLjc4LTEuNDkgMC43OC0yLjM4IDAtMi4yMS0xLjc5LTQtNC00eiIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS13aWR0aD0iMS41Ii8+Cjwvc3ZnPgo="
wfu = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbm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