Invisible grid dimension Log Out | Topics | Search
Moderators | Register | Edit Profile

Zillions of Games Discussion Forum » Desired Features for Zillions of Games » Invisible grid dimension « Previous Next »

Author Message
Patrick S. Duff (Pduff)
Posted on Friday, May 18, 2001 - 12:47 am:   

Suppose a game is played on a 4x4 board, with labels a1 through d4. But there is actually a third dimension, linked to another 8x8 board which is hidden from the player. Ordinarily you'd do this with a grid statement such as:

(grid
...(dimensions
......("a/b/c/d" (0 49)) ; files
......("1/2/3/4" (49 0)) ; rows
......("down/up" (0 1)) ; boards
)..)

Unfortunately, the player now sees position labels such as "a3down" instead of just "a3". Instead I'd like to be able to do:

(grid
...(dimensions
......("a/b/c/d" (0 49)) ; files
......("1/2/3/4" (49 0)) ; rows
......("/up" (0 1)) ; boards
)..)

This would still result in unique position labels, such as "a3" and "a3up", but the player would only see the position labels like "a3". The fact that there is a third dimension would be hidden from the player.

But I've tried this, and at the moment it doesn't work. So I'm suggesting it be supported in the next release.
Jeff Mallett (Jeffm)
Posted on Friday, May 18, 2001 - 1:32 am:   

I wonder if you could label both sides of the "/" identically. If not, then how about making them look identical, along the lines of a capital O vs. the number 0...
Alfred Pfeiffer (Apf)
Posted on Friday, May 18, 2001 - 12:06 pm:   

Hello Patrick,

you may use the translate command to give the
user on his display the notation you wish he
should see.

For your example

(grid
...(dimensions
......("a/b/c/d" (0 49)) ; files
......("1/2/3/4" (49 0)) ; rows
......("down/up" (0 1)) ; boards
)..)

use
(translate
("a1down" "a1")
("a2down" "a2")
("a3down" "a3")
...)

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: