You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Hex

From MafiaWiki
Revision as of 13:37, 24 January 2009 by Max (talk | contribs) (Categorising)
Jump to navigation Jump to search

You can record a hex game using [hex]{GameScore}[/hex], where {GameScore} is the list of moves made in the game to date.

To add a piece to the board you simply type in the location to drop the piece. (eg. a2 will put a stone on a2) To remove a piece from the board, use the minus sign and the location of the square to remove. To pass, type in P or Pass. To add a piece other than the default (which will be a solid red or green stone, depending on whose turn it is) you use the equal sign (=). Eg. a4=(g) will place the green stone instead of the stone that would normally be placed. To increase your prisoner count append your move with a * for every prisoner taken or *<number of prisoners taken> To make multiple moves in the same turn, connect the moves with a plus sign "+". (eg. a2+a3+-d5* will put stones on a2 and a3 and will remove a stone from d5 and increase your prisoner count by 1)

The board is shown with a1 in the upper left corner.

I allow tags, similar to the PGN notation for Chess. The format is open open bracket, tag, space, double quote, value, double quote, close bracket. Three to take note of are: BoardSize: in the form n or nxm. This is required. If only one number is specified, it will be a square board nxn. If the form nxm is used, then the board will be n points wide and m points tall. Setup: This is a list of "moves" to be made before the start of the game. You will probably want to use the = to assign what piece gets placed.

The tags that are displayed are: Boardsize, Event, Site, Date, Round, Green, Red, Result, Komi, SetupBlack, SetupWhite, Players

[hex][boardsize "11"][green "JEEP"][red "Other"][site "GL"][date "2004/??/??"][Round "1"][Event "GL Tournament"][result "*"]e4 e5 d4 P[/hex]

Hex board

GameTags

You can show a hex board graphic using the hexboard tag. Because there is no really good format that exists, I used similar coding as the go tags. 'g' will place agreen stone, 'r' a red stone, and 'e' and empty point. So a blank 11x11 board is (the spacing is totally optional)

[hexboard]
e e e e e e e e e e e
 e e e e e e e e e e e
  e e e e e e e e e e e
   e e e e e e e e e e e
    e e e e e e e e e e e
     e e e e e e e e e e e
      e e e e e e e e e e e
       e e e e e e e e e e e
        e e e e e e e e e e e
         e e e e e e e e e e e
          e e e e e e e e e e e[/hexboard]

And it might look like this after a couple moves

[hexboard]
e e e e e e e e e e e
 e e e e e e e e e e e
  e e e e e e e e e e e
   e e e e e e e e e e e
    e e e e e e e e e e e
     e e e e e e e e e e e
      e e e e e e e e e e e
       e e e r e e e g e e e
        e e e e e e e e e e e
         e e e e e e e e e e e
          e e e e e e e e e e e[/hexboard]

Currently only parallelograms are handled.