Computer Science Canada 3 dimensiopnal chess |
Author: | mirhagk [ Mon Nov 29, 2010 9:59 pm ] |
Post subject: | 3 dimensiopnal chess |
I was thinking about making it, but all the rules i've seen so far seem silly, or kinda just made up, so I invented my own, tell me what you think of it: these are the boolean expressions checking to see if a certain move is valid for a given piece. (note that x is sideways, y is forward and backward, z is up or down. z=1 means up, and y=1 means forward, also n means any integer) (_means absolute value, or magnitude) (also it's a given that pieces cannot "move" onto their own square) piece traditional 3d pawn y=1&&x=0 (y=1||z=1)&&x=0 rook y=0||x=0 (y=0&&x=0)||(y=0&&z=0)||(x=0&&z=0) bishop _y=_x _y=_x=_z knight _(_y-_x)=1&&_y+_x=1 _(_y-_x-_z)=1&&_y+_x+_z=1 queen _y=_x||y=0||z=0 _y=_x=_z||(y=0&&x=0)||(y=0&&z=0)||(x=0&&z=0)||[not sure](_y=_x&&z=0)||(_y=_z&&x=0)||(_x=_z&&y=0) king _y+_x=1||_y=_x=1 y+x+z=1||(_y=_x=1&&z=0)||(_y=_z=1&&x=0)||(_x=_z=1&&y=0) please note that the pawns move two intial rule means that the have the option of moving a second time. here also is the valid attack rules piece traditional 3d pawn y=x=1 y=x=z=1 rook same as move same as move bishop same as move same as move knight same as move same as move queen same as move same as move king same as move same as move |
Author: | Tony [ Mon Nov 29, 2010 10:39 pm ] |
Post subject: | RE:3 dimensiopnal chess |
If you want extra dimensions, Alice Chess http://en.wikipedia.org/wiki/Alice_chess is an interesting variant. |