User:CreativeHedgehog/Projects/Chinese chess:Template

< User:CreativeHedgehog‎ | Projects
Revision as of 19:22, 27 June 2020 by Creativehedgehog (talk | contribs) (Add more notes.)

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.


px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px

Example:

px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px
px px px px px px px px px