| Author |
Message |
JV (Jv2222)
| | Posted on Monday, September 05, 2005 - 4:28 am: | |
Can I design a game based on a hexagonal board? |
Derek Nalls (Omegaman)
| | Posted on Monday, September 05, 2005 - 8:56 am: | |
Yes. |
Sean Duggan (Dream)
| | Posted on Monday, September 05, 2005 - 10:12 am: | |
More to the point, look at the rules file for Chinese Checkers for an example on how to build a hexagonal board. You can also look at the many hexagonal chess variants on http://www.chessvariants.com/ |
Keith Carter (Keithc)
| | Posted on Monday, September 05, 2005 - 10:25 am: | |
Here is and example from the grid statement in the game Crusade. The first is a square board the second is the same game on a hex board. The square board definition: (board (image "images\Crusade\8x8b.bmp") (grid (start-rectangle 2 2 48 48) (dimensions ("a/b/c/d/e/f/g/h" (46 0)) ; files ("8/7/6/5/4/3/2/1" (0 46)) ; ranks ) (directions (n 0 -1)(ne 1 -1)(e 1 0)(se 1 1)(s 0 1)(sw -1 1)(w -1 0)(nw -1 -1)) ) ; grid ) ;end board The hex board statement definition: (board (image "images\Crusade\crusade6s.bmp") (grid (start-rectangle 9 3 42 47) (dimensions ("a/b/c/d/e/f/g/h/i/j/k/l" (46 0)) ("8/7/6/5/4/3/2/1" (-23 46)) ) ; end dimensions (directions (ne 0 -1)(e 1 0)(se 1 1)(sw 0 1)(w -1 0)(nw -1 -1)) ) (kill-positions a7 a6 a5 a4 a3 a2 a1 b5 b4 b3 b2 b1 c3 c2 c1 d1 l3 l4 l5 l6 l7 l8 k5 k6 k7 k8 j7 j8) ) ;end board |
Karl Scherer (Karl)
| | Posted on Friday, September 30, 2005 - 7:07 pm: | |
Hi JV, the advice stated above is true for the cases that you do not really want to access all pixels on the board. If you want to cover a hex board gap-free with hex tiles, for example, you need a more advanced method of design. I have employed two ways for this full-coverage approach, namely once with outlines and once without. They can be found in the two games "Isolattice" (with outlines) and "Max" (without outlines). Cheers, Karl |
|