Check out Grant Acedrex, our featured variant for April, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

0000000100000000[Subject Thread] [Add Response]
Aurelian Florea wrote on Wed, Sep 14, 2016 02:59 PM UTC:

I did it correctly once again this is how it goes:

 

<script type="text/javascript" src="http://www.chessvariants.com/membergraphics/MSinteractivedia/betza.gif"></script>
<div style="float:left;margin:0 40px 20px 0;">
<div id="diagram">
files=10
ranks=10
promoZone=3
promoChoice=PBRCWNAQG
graphicsDir=http://www.chessvariants.com/graphics.dir/alfaerie/
whitePrefix=w
blackPrefix=b
graphicsType=gif
squareSize=54
symmetry=none
pawn::::a3,b3,c3,d3,e3,f3,g3,h3,i3,j3,,a8,b8,c8,d8,e8,f8,g8,h8,i8,j8
bishop::::d2,g2,,d9,g9
rook::::a1,j1,,a10,j10
king::::f2,,f9
champion::::e1,f1,,e10,f10
wizard:W:CF:mage:d1,g1,,d10,g10
knight:N:NmZ:knight:c2,h2,,c9,h9
aanca:A:WyafsW:tiger:b2,,b9
queen::::e2,,e9
griffin:G:FyafsF:gryphon:i2,,i9
</div></div>
<script>function WeirdPromotion(x1, y1,x2, y2, promo)
{
  if((board[y1][x1] & 15) != 1) return promo; // moved piece is not a Pawn
  if(y2 == 9 || y2 == 0) return ((promo & 15) == 1 ? 5 : promo); // on last rank: cannot stay Pawn
  if((promo & 15) > 7) return board[y1][x1]; // larger than Rook: remains Pawn
  return promo; // choice was acceptable
}
</script>

 

 

 

<script type="text/javascript" src="http://www.chessvariants.com/membergraphics/MSinteractivedia/betza.gif"></script>
<div style="float:left;margin:0 40px 20px 0;">
<div id="diagram">
files=10
ranks=10
promoZone=3
promoChoice=PBRELZNACQ
graphicsDir=http://www.chessvariants.com/graphics.dir/alfaerie/
whitePrefix=w
blackPrefix=b
graphicsType=gif
squareSize=54
symmetry=none
pawn::::a3,b3,c3,d3,e3,f3,g3,h3,i3,j3,,a8,b8,c8,d8,e8,f8,g8,h8,i8,j8
bishop::::d2,g2,,d9,g9
rook::::a1,j1,,a10,j10
king::::e2,,e9
elephant:E:FAmH:elephant:e1,f1,,e10,f10
camel:L:CmW:camel:g1,,g10
zebra:Z:ZmF:zebra:d1,,d10
knight:N:NmG:knight:c2,h2,,c9,h9
archbishop:A:BN:cardinal:f2,,f9
chancellor::::i2,,i9
queen::::b2,,b9
</div></div>
<script>function WeirdPromotion(x1, y1,x2, y2, promo)
{
  if((board[y1][x1] & 15) != 1) return promo; // moved piece is not a Pawn
  if(y2 == 9 || y2 == 0) return ((promo & 15) == 1 ? 5 : promo); // on last rank: cannot stay Pawn
  if((promo & 15) > 8) return board[y1][x1]; // larger than Rook: remains Pawn
  return promo; // choice was acceptable
}
</script>