How To Post Analysis Games in the Forums

You may have noticed game images or game boards within a forum thread, this page describes how you can post your own games or positions for discussion in the pente.org forums. There are a few different ways right now to post a message in the forums with a game board.

  1. Post an image of the final move in the position
  2. Post an applet that can display the sequence of moves in a game

Post an image of the final move in the position

Here is a simple example you could type into a forum post.

[board]g=Pente m=K10,L11[/board]


In this case the text g=Pente specifies that we want to display a Pente game, and the text m=K10,L11 specifies the coordinates of each move in the game in order.

If the game caused any captures to occur they will be displayed correctly.
You might want to setup a position on the board that is not from a game, but instead highlights a particular position for analysis purposes only. That is hard to do if you have to enter in alternating moves for player 1 and player 2 since you might want 10 white moves and only 3 black moves.

[board]g=Pente bm=K10,K12,K14 wm=K11 bc=2 wc=4[/board]


In this case the text bm=K10,K12,K14 specifies the coordinates of each black stone on the board, and the text wm=K11,K13 specifies the coordinates of each white stone.

The text bc=2 tells the board to show two black stones captured and the text wc=4 tells the board to show four white stones captured.
If you want to display a game that was either played here at pente.org or is in the pente game database you can just specify the unique game ID.

[board]gid=34194139852955[/board]

In this case the text gid=34194139852955 specifies the game ID and that is all you need!

To find the game ID for a game in a player's completed games look at the URL in your browser when viewing the game, it should look like this
http://pente.org/gameServer/viewLiveGame?g=34194139852955

To find the game ID for a game in the game database click the "TXT" link next to the game in the game results list, that will open up a page with a URL like this
http://pente.org/gameServer/pgn.jsp?g=34194139852955

Not intuitive I realize but that works until something better is implemented.
If if you want to make the board appear larger or smaller you can control the width and height in pixels by specifying additional parameters like this.

[board]gid=34194139852955 w=500 h=500[/board]

Post an applet that can display the sequence of moves in a game

[game]g=Pente m=K10,L11 wn=peter bn=dweebo w=480 h=260[/game]


In this case the text g=Pente specifies that we want to display a Pente game, and the text m=K10,L11 specifies the coordinates of each move in the game in order.

Optionally you can specify the white player's name with wn=peter and the black player's name with bn=dweebo

Optionally you can specify a width and height in pixels with w=480 for the width and h=260 for the height.

If the game caused any captures to occur they will be displayed correctly.
If you want to display a game that was either played here at pente.org or is in the pente game database you can just specify the unique game ID.

[game]34194139852955[/game]

In this case the text 34194139852955 specifies the game ID and that is all you need!

To find the game ID for a game in a player's completed games look at the URL in your browser when viewing the game, it should look like this
http://pente.org/gameServer/viewLiveGame?g=34194139852955

To find the game ID for a game in the game database click the "TXT" link next to the game in the game results list, that will open up a page with a URL like this
http://pente.org/gameServer/pgn.jsp?g=34194139852955

Not intuitive I realize but that works until something better is implemented.
Eventually I would like to provide an easier way for users to create the codes above with an applet that lets you enter in moves on a board.