How do you display off-board pieces? Log Out | Topics | Search
Moderators | Register | Edit Profile

Zillions of Games Discussion Forum » Designing Games for Zillions » How do you display off-board pieces? « Previous Next »

Author Message
William Butler (Wgbutler)
New member
Username: Wgbutler

Post Number: 5
Registered: 5-2008
Posted on Thursday, April 02, 2009 - 6:38 pm:   

In my game pawns can only promote to off-board pieces. Each side starts the game with one off-board piece, and other pieces are added to this collection as they are captured.

I was thinking it would be nice if all of the off-board pieces that are available for promotion could be seen to the side of the chess board during the game. Is there an easy way to do that?

Thanks in advance for any help.

William Butler
Greg Schmidt (Gschmidt2)
New member
Username: Gschmidt2

Post Number: 103
Registered: 1-2007
Posted on Thursday, April 02, 2009 - 7:14 pm:   

I think your board graphic should contain both an on board area and one or more "off board" areas. I'll call the latter the "tray". Define positions for both areas. Initially, the tray has one piece. When a piece is captured, add it to an empty position on the tray. I think "Prince Chess" does something similar.

-- Greg
Sean Duggan (Dream)
New member
Username: Dream

Post Number: 75
Registered: 9-2000
Posted on Thursday, April 02, 2009 - 10:43 pm:   

For that matter, traditional Shogi (Japanese chess) requires this, and I know that there are implementations of that in ZoG.

Ah, file available via the chessvariants.com site. Shogi
Karl Scherer (Karl)
New member
Username: Karl

Post Number: 376
Registered: 9-2000
Posted on Saturday, April 04, 2009 - 1:14 pm:   

My "Cannibal Chess" and "Bank Chess" do that.
Karl

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: