Skip to content

Commit

Permalink
Shogis : improve rules
Browse files Browse the repository at this point in the history
  • Loading branch information
fhoudebert committed May 15, 2024
1 parent b8e3172 commit d7feb1f
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 5 deletions.
12 changes: 12 additions & 0 deletions src/games/chessbase/res/rules/decimal/hectochess-rules.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,18 @@ <h2>Rook</h2>
<img class='piece-graph' src='{GAME}/res/rules/graphs/rook.png'>
</p>

<h2>Pawn</h2>
<p>
<img style="max-width:100%;" src="{GAME}/res/fairy/icons/w-pawn.png"/>
</p>
<p class='piece-details'>Exactly as in usual Chess.</p>

<div style='clear:both'></div>
<p>
<img class='piece-graph' src='{GAME}/res/rules/graphs/pawn.png'>
</p>
<p>Can move two squares only on their first move, and capture <i>en passant</i> only when the target pawn has just moved two squares.</p>

</p>
<h1>Promotions table</h1>
<div id="promo">
Expand Down
6 changes: 3 additions & 3 deletions src/games/chessbase/res/rules/shogi/chu-shogi-rules.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ <h2>Reference Guide</h2>
<p><img style="max-width:100%;" src="{GAME}/res/rules/shogi/horse.png"/><b>Horse</b> : The Knight has the two forward-most moves of the Chess knight.</p>
<p><img class='piece-graph' src="{GAME}/res/rules/shogi/shogi-horse.png"/></p>
<p><img style="max-width:100%;" src="{GAME}/res/rules/shogi/lance.png"/><b>Lance</b> : The Lance moves as a Rook but only forward in the same file, never sideways or backward.</p>
<p><img class='piece-graph' src="{GAME}/res/rules/shogi/shogi-lance.png"/></p>
<p><img class='piece-graph' src="{GAME}/res/rules/shogi/graphs/shogi-lance.png"/></p>

<p><img class='piece-icon' src="{GAME}/res/fairy/icons/w-copper-general.png"/><b>Copper general</b></p>
<p><img class='piece-graph' src="{GAME}/res/rules/shogi/graphs/copper.png"/></p>
Expand Down Expand Up @@ -95,10 +95,10 @@ <h2>Reference Guide</h2>
<p><img class='piece-graph' src="{GAME}/res/rules/graphs/phoenix.png"/></p>

<p><img class='piece-icon' src="{GAME}/res/fairy/icons/w-antelope.png"/><b>Stag</b></p>
<p><img class='piece-graph' src="{GAME}/res/rules/shogi/graphs/stag.png"/></p>
<p><img class='piece-graph' src="{GAME}/res/rules/shogi/graphs/flying-stag.png"/></p>

<p><img class='piece-icon' src="{GAME}/res/fairy/icons/w-prince.png"/><b>Prince</b></p>
<p><img class='piece-graph' src="{GAME}/res/rules/graphs/prince.png"/></p>
<p><img class='piece-graph' src="{GAME}/res/rules/shogi/graphs/shogi-prince.png"/></p>

<p><img class='piece-icon' src="{GAME}/res/fairy/icons/w-queen.png"/><b>Queen</b></p>
<p><img class='piece-graph' src="{GAME}/res/rules/graphs/queen.png"/></p>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/games/chessbase/res/rules/shogi/graphs/left-quail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/games/chessbase/res/rules/shogi/graphs/right-quail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/games/chessbase/res/rules/shogi/graphs/stag.png
Binary file not shown.
Binary file modified src/games/chessbase/res/rules/shogi/graphs/wild-goose.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/games/chessbase/res/rules/shogi/mini-shogi-initial-2d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/games/chessbase/res/rules/shogi/shogi-rules.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ <h2>Pieces actions and properties</h2>
<p><img style="max-width:100%;" src="{GAME}/res/rules/shogi/horse.png"/><b>Horse</b> : The Knight has the two forward-most moves of the Chess knight.</p>
<p><img class='piece-graph' src="{GAME}/res/rules/shogi/shogi-horse.png"/></p>
<p><img style="max-width:100%;" src="{GAME}/res/rules/shogi/lance.png"/><b>Lance</b> : The Lance moves as a Rook but only forward in the same file, never sideways or backward.</p>
<p><img class='piece-graph' src="{GAME}/res/rules/shogi/shogi-lance.png"/></p>
<p><img class='piece-graph' src="{GAME}/res/rules/shogi/graphs/shogi-lance.png"/></p>
<h2>Promotion</h2>

<ul>
Expand Down
2 changes: 1 addition & 1 deletion src/games/chessbase/res/rules/shogi/shogi-rules_fr.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ <h2>Pièces</h2>
<p><img style="max-width:100%;" src="{GAME}/res/rules/shogi/horse.png"/><b>Cheval</b> : Le cheval se déplace comme le cavalier mais uniquement vers l’avant.</p>
<p><img class='piece-graph' src="{GAME}/res/rules/shogi/shogi-horse.png"/></p>
<p><img style="max-width:100%;" src="{GAME}/res/rules/shogi/lance.png"/><b>Lance</b> : La Lance se déplace comme une Tour mais seulement vers l'avant dans la même colonne, jamais latéralement ou vers l'arrière.</p>
<p><img class='piece-graph' src="{GAME}/res/rules/shogi/shogi-lance.png"/></p>
<p><img class='piece-graph' src="{GAME}/res/rules/shogi/graphs/shogi-lance.png"/></p>
<h2>Promotion</h2>

<ul>
Expand Down

0 comments on commit d7feb1f

Please sign in to comment.