Ratings & Comments
No, you have to write something like
Model.Game.handLayout[1] = [0,2,4,6,8,10,12,14,30,46,62,...];
if you want the first 8 'hand squares' for white to be at the bottom, and the rest along the right edge.
Since this comment is for a page that has not been published yet, you must be signed in to read it.
It's good to know that you can use the bottom squares for that. Does it mean that we have to specify something like Model.Game.handLayout[1][{2:18,4:17}]; // eg : square 2, hand 18 for the white for each piecetype?
Note that it is possible to control the way the captured pieces are placed next to the board by defining arrays Model.Game.handLayout[color][handIndex]. This array should contain the square numbers where you want the first captured piece of the given color (1 or -1) and hand value to be placed. (A second piece will be placed at sqr+color, and after that counters will appear between the two shown pieces.)
Currently the default assignment is used, which places the white pieces on the first 'file' on the right of the board, the hand number equal to the rank number (which starts at 0). By defining a handLayout you could also use the ranks under or above the board to place pieces, thus requiring fewer extra ranks.
E.g. with a single extra rank (instead of the 4 you have now) you could place 6 white pieces below the board, and 14 white pieces to the right of the board.
Talking about the background it doesn't seem to work on my device even though it used to work. Interactive Diagrams that use backgrounds like Eurasian Chess, Chak, VaoQi don't seem to have backgrounds on my device.
I beat you by 4 minutes! :-)
It is interesting how we both chose a different rectification of the board; mine spoils the coordinates, yours spoils the moves of the pieces. In your representation it would in principle be possible to use a whole-board image as background that has the original diamond-shaped cells.
I tried using the Atlantic SVG set through fen2.php, but this set is not suitable for use on a black-and-white board. (Alfaerie doesn't do so well either, on the dark squares...)
[Edit] Concerning Pawn: Ah yes, I had overlooked that detail in the description. Thanks!
Stairchess960
To BenR: Maybe this can be both?
To David mRcpR: Why is that a problem? What about Pawn on h-file which cannot move forward? Edit: I didn't see HGM's Interactive Diagram when I was creating an Interactive Diagram for this. To HGM: Shouldn't the pawn beiiflmnDflmWflceF
?Since this comment is for a page that has not been published yet, you must be signed in to read it.
Done!
This is an excellent concept. There's just one tweak I'd like to see. Pawns on the a-file cannot move any further to the left, so that could be a problem. One way to remedy that might be to divide the board vertically down the middle, giving pawns on files A-D a move to the RIGHT, and on files E-H to the LEFT, as you have currently done for all pawns.
How about switching Diamonds & Onyxes?
I filled in the board size metadata as 8x8, but perhaps it would be better as 8x15 (still with 64 cells)?
Since this comment is for a page that has not been published yet, you must be signed in to read it.
Since this comment is for a page that has not been published yet, you must be signed in to read it.
Since this comment is for a page that has not been published yet, you must be signed in to read it.
Since this comment is for a page that has not been published yet, you must be signed in to read it.
You must also put
set opaque (EA FA BA SM AR ea fa ba sm ar);
there to make the flying pieces block each other.
I have pasted that at the end of the pregame section.
I suppose that would heve worked, if you did that as first thing in the Post-Move sections. But I have already changed the betza.txt to use different arrays for the capturer and the victim. So now you have to put in Pre-Game:
set protected (T t); set restricted (EA T ea t);
Thanks.
25 comments displayed
Permalink to the exact comments currently displayed.
I gave it a try here. I think It looks better this way.
@Adam: apart from the adjustments linked to the changes, what do you think?