|
|
|
|
| View previous topic :: View next topic |
| Author |
Message |
Dragon Phoenix
Judge Doom
|
Posted: Wed Dec 31, 1969 11:59 pm Post subject: 1 |
|
|
Welcome to the Visitors games forum, and we hope you enjoy your stay. In this forum, you can play a large variety of games with fellow GL members. Most of the time, the one who starts a new game will explain the rules. However, some general remarks may be in order.
MAFIA
This is still the most popular game. So popular that we have created a special forum for it. So don't go looking for mafia games here...
Game Tags: With many thanks to jeep
To use the tags, replace the < with [ and the > with ] in the examples.
Report bugs here in FR/SP
Dice:
You can make a dice roll using the Dice Tags. <dice>xdy</dice> will roll x y-sided dice (x<201, y<101). For example, if you are playing backgammon, you might roll: <dice>2d6</dice> Editting the post will put "Fixed" in the dice roll to help discourage cheating, but it's not 100%. If you don't trust the person you are playing you must either play in a forum where they cannot edit, find another random generator that you do trust, or not play with that person. The die roll is randomly generated when posted (previewing will do nothing.) Here is the result of the example above:
| Dice Roll: | Original Roll String: 2d6 Fixed 2 6-Sided Dice Results: 6, 6 (Total = 12) br> |
Note: The chess tags are broken right now. Use chessboard instead.
| Quote: |
Chess:
You can record a chess game using <chess>{GameScore}</chess>, where {GameScore} is the list of moves made in the game to date. you may use Short Algebraic Notation (SAN) or the old GL-style FromSquareToSquare format. Rules of chess ARE enforced. Illegal moves are not handled well (I developed this on mafiascum, which has PEAR.php loaded. I'll see if I can have Kevin load it here. If not, I'll find another way to handle errors).
I will also add a flag to allow free movement of pieces and I will replace illegal moves with text to indicate they were not made.
<chess>e4 c5 Nf3 d6 d4 cxd4 Nxd4</chess> will display the beginning of a game. The same game can be represented <chess>e2e4 c7c5 g1f3 d7d6 d2d4 c5d4 f3d4</chess>. Or you can mix and match and make things really confusing: <chess>Pe4 e5 g1f3 d6 Pd4 c5d4</chess>... however I always show the output in SAN (with the optional P kept if it's specified, omitted if it's not)
CHESS TAGS BROKEN - REPLACE WHEN FIXED
PGN notation now supported. Only the 7 tag roster will be displayed. The format is open open bracket, tag, space, double quote, value, double quote, close bracket.
The seven tags that are displayed are:
Event, Site, Date, Round, White, Black, Result
<chess>[white "JEEP"][Black "Other"][site "GL"][date "2004/??/??"][Round "1"][Event "GL Tournament"][result "*"]1. e4 e5 2. d4</chess>
would produce:
CHESS TAGS BROKEN - REPLACE WHEN FIXED |
ChessBoard
You can display a chessboard (using standard pieces) by using <chessboard> tags. Then fill in the FEN for the position. I ignore all the "extra" information at the moment, but it will display the position.
Lowercase is black, uppercase is white, K=King, Q=Queen, R=Qook, B=Bishop, N=Knight, P=Pawn, a number between 1 and 8 represents the number of empty squares. I do NOT implement the possibility of filling in 16 to make 16 empty squares...
This is the code to make the opening position.
<chessboard>rbnqknbr/pppppppp/8/8/8/8/PPPPPPPP/RBNQKNBR</chessboard>
GoBoard
You can show an go board graphic using the goboard tag. Currently, 9x9, 13x13, and 19x19 are implemented <goboard9>, <goboard13>, <goboard19>. I used similar coding as the old GL tags. 'b' will place a black stone, 'w' a white stone, and 'e' and empty point. So a blank 9x9 board is
<goboard9>
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</goboard9>
And it might look like this after a couple moves
<goboard9>
e e e e e e e e e
e e e e e e e e e
e e b 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 w 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</goboard9>
Captured stones are NOT currently given anyplace to be, but I'll add that soon enough.
As a training aid, you can also use b1-b100 and w1-w100 to place numbered stones. This is more diffictult to manage in the text of the code though, so be careful. Finally bt and wt will place stones with triangles.
| 13 |  |  |  |  |  |  |  |  |  |  |  |  |  | | 12 |  |  |  |  |  |  |  |  |  |  |  |  |  | | 11 |  |  |  |  |  |  |  |  |  |  |  |  |  | | 10 |  |  |  |  |  |  |  |  |  |  |  |  |  | | 9 |  |  |  |  |  |  |  |  |  |  |  |  |  | | 8 |  |  |  |  |  |  |  |  |  |  |  |  |  | | 7 |  |  |  |  |  |  |  |  |  |  |  |  |  | | 6 |  |  |  |  |  |  |  |  |  |  |  |  |  | | 5 |  |  |  |  |  |  |  |  |  |  |  |  |  | | 4 |  |  |  |  |  |  |  |  |  |  |  |  |  | | 3 |  |  |  |  |  |  |  |  |  |  |  |  |  | | 2 |  |  |  |  |  |  |  |  |  |  |  |  |  | | 1 |  |  |  |  |  |  |  |  |  |  |  |  |  | | 0 | a | b | c | d | e | f | g | h | j | k | l | m | n |
|
| 19 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | 18 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | 17 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | 16 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | 15 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | 14 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | 13 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | 12 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | 11 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | 10 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | 9 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | 8 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | 7 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | 6 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | 5 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | 4 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | 3 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | 2 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | 1 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | | 0 | a | b | c | d | e | f | g | h | j | k | l | m | n | o | p | q | r | s | t |
|
Visitor's Games Hall of Fame:
Last updated by MatthewV |
|
| Back to top |
|
 |
mith
Pitbull of Truth
|
Posted: Fri Jun 13, 2008 4:35 pm Post subject: 2 |
|
|
There's something wrong with the chess tags. I've removed the example boards from the above post so it's not broken.
In the meantime, you can use [chessboard] and edit the board after each move. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|