Yourturnmyturn.com
Forum of yourturnmyturn.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Reply to topic
View previous topic :: View next topic  
Author Message
jwchess
Gender: Male
Netherlands
PostPosted: Sat May 20, 2006 15:07    Post subject: Diagrams Reply with quote

Mauritskorse enhanced the bbcode and thanks to him diagrams on this forum are now possible!

See below for examples:

Chess
8
7
6
5
4
3
2
1
 abcdefgh


Code:
[board=chess]
rnbqkbnr
pppppppp
..
..
....P*
..
PPPP.*PPP
RNBQKBNR
[/board]

r : black rook
n : black knight
b : black bishop
q : black queen
k : black king
(white: Upper case; r -> R; n -> N; etc.)
. : empty field


Or use the Forsyth-Edwards Notation

Code:
[board=chess]rnbqkbnr/pp1ppppp/8/2p5/4P3/5N2/PPPP1PPP/RNBQKB1R b KQkq - 1 2[/board]

8
7
6
5
4
3
2
1
 abcdefgh


Draughts/checkers

  1 2 3 4 5
 5
6 
 15
16 
 25
26 
 35
36 
 45
46 
 46 47 48 49 50 


  1 2 3 4
 4
5 
 12
13 
 20
21 
 28
29 
 29 30 31 32 

Code:

[board='draughts']
 . . . Z .
. . . . .
 . w w . .
. w
 .* w z
z w*
 . . z
. . z
 z
. . z
[/board]
At least 1 line must indicate how many columns there are (see the first line: 5 characters -> 5 fields)
Same applies to checkers (same function ;-) )

[board="checkers"]
z.z.
....
WwW.
....
....
.Z..
....
wZ..
[/board]

w: white man
z: black man
W : white king
Z : black king
. : empty field


Go

8
7
A
6
B
5
4
3
9
2
7
1
 abcdefghjk



w :
z :
. : empty
W :
Z :
o :
O :


9
8
7
6
5
4
3
2
1
 abcdefgh


Code:
[board=go].w.w...wz
w(A)w....wwz
z(B)wwwwwwzz
zzzzzzzzzz*
....zwwwzw
zzzzw..w(9)ww
...ZW..w(7)oO
...ZWowOw[/board]
At least 1 line must indicate how many columns there are

[board=go]
[size=9]
........
..
..
..
..
..
..
.
..
[/board]


Reversi

1
2
3
4
5
6
7
8
 abcdefgh


Code:
[board=reversi]
wzzzzz
zwzzz
zzwzzz
zwwzzzz
zzwwzzzz
zzwzzz
..wwz
..w*wwww
[/board]
Board always is 8x8


Mill

7
6
5
4
3
2
1
 abcdefg


Code:
[board=mill]
z.*.
zzz
w.w
w.www*w
.w.
z.z
.zz
[/board]


Pente
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
 abcdefghijklmnopqrs


Code:
[board=pente]
..
..
..
..
....w.zz......w.w*..z..z
w.w..z..w.z......w.z...
w..z..w..z....w.z..w...z
.w.z..w...z..zzz..w..www.
z..z.w.w..z.z.z..w..w...w.z
.z.z......w.....z.z.....w...z..
.w.w.w.....z.....z.......
....w..w...z......z...z.....
..
..
..
..
..
..
..
..
..
..
[/board]


Go-Moku

19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
 abcdefghijklmnopqrs


Code:
[board=gomoku]
..
..
..
..
....w.zz......w.w*..z..z
w.w..z..w.z......w.z...
w..z..w..z....w.z..w...z
.w.z..w...z..zzz..w..www.
z..z.w.w..z.z.z..w..w...w.z
.z.z......w.....z.z.....w...z..
.w.w.w.....z.....z.......
....w..w...z......z...z.....
..
..
..
..
..
..
..
..
..
..
[/board]


Connect four

8
7
6
5
4
3
2
1
 abcdefgh


Code:
[board=connect+four]
..
..
..
..
..
..
..ry
..yry*
[/board]


Backgammon

121110987balk654321uit
131415161718balk192021222324uit


Code:
[board=backgammon]
...w...w.zz(3)z(2)z(2)z(7)
.....w.w(4)..w(4)w(4)
[/board]


Also added are the following tools:

Link to an user
jwchess
mauritskorse

Code:
[user=jwchess]
[user=mauritskorse]


Link to a game
For example this link: (4522) ...
Code:
For example this link: [game="go" id=4522] ...


Link to tournament
45

Code:
[tournament=45]

Thanks to mauritskorse, for adding this tools! yes


Last edited by jwchess on Mon Dec 18, 2006 11:48; edited 1 time in total
Back to top
View user's profile Visit poster's website 
florrat
PostPosted: Tue Nov 21, 2006 18:55    Post subject: Reply with quote

A little bug, in the board go, even if you type a small "z" the stone will be marked...
Back to top
mauritskorse
PostPosted: Sun Dec 17, 2006 16:58    Post subject: Reply with quote

florrat wrote:
A little bug, in the board go, even if you type a small "z" the stone will be marked...


Sorry for the late reaction, have been away for a while.

This is weird. This script should be exactly the same as the one on jijbent.nl. Bram or Jwchess should have a look at this since they have access to the server and can tell the difference between certain software versions (php, phpbb, etc)
Back to top
mauritskorse
PostPosted: Sun Dec 17, 2006 17:02    Post subject: Reply with quote

@jwchess: could you change in the examples the z for and g for y (in connect four) so it is clear what each character means.
Back to top
jwchess
Gender: Male
Netherlands
PostPosted: Mon Dec 18, 2006 12:02    Post subject: Reply with quote

mauritskorse wrote:
florrat wrote:
A little bug, in the board go, even if you type a small "z" the stone will be marked...


Sorry for the late reaction, have been away for a while.

This is weird. This script should be exactly the same as the one on jijbent.nl. Bram or Jwchess should have a look at this since they have access to the server and can tell the difference between certain software versions (php, phpbb, etc)

It's solved now (typo).
Back to top
View user's profile Visit poster's website 
jwchess
Gender: Male
Netherlands
PostPosted: Mon Dec 18, 2006 12:02    Post subject: Reply with quote

mauritskorse wrote:
@jwchess: could you change in the examples the z for and g for y (in connect four) so it is clear what each character means.

z Rolling Eyes
g is changed in y.
Back to top
View user's profile Visit poster's website 
Display posts from previous:   
Reply to topic All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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