User:CreativeHedgehog/Projects/Chinese chess:Template: Difference between revisions
No edit summary |
Add more notes. |
||
| Line 20: | Line 20: | ||
C=cannon; | C=cannon; | ||
P=pawn; | P=pawn; | ||
/* Other Notes */ | |||
<nowiki> | |||
$("table").css("transform","rotateZ(180deg)"); | |||
</nowiki> | |||
<div></div> | |||
<nowiki> | |||
$("tr").css("transform","rotateZ(180deg)"); | |||
</nowiki> | |||
That will turn the table upside-down. | |||
</noinclude> | </noinclude> | ||
Revision as of 19:22, 27 June 2020
Notes:
/*red pieces*/
k=king; g=guard; h=horse; e=elephant; w=wagon; c=cannon; p=pawn;
/*black pieces*/
K=king; G=guard; H=horse; E=elephant; W=wagon; C=cannon; P=pawn;
/* Other Notes */
$("table").css("transform","rotateZ(180deg)");
$("tr").css("transform","rotateZ(180deg)"); That will turn the table upside-down.
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|















