Help:Drawing boards

From Wikimanqala

Jump to: navigation, search

Drawing boards in wikimanqala is not difficult. Just write <board> and </board> and in between, starting always in a new line per row, and per special command (title, stores...) , the contents of the pits.

Contents

Basic boards

Description You type You get
Basic board

One line per row. Pits separated by blank spaces.

<board>

0 1 4 3
8 7 5 4
</board>

board
Board with stores

North captures is N and the number. South S <number>

<board>

0 1 4 3
8 7 5 4
N 10
S 5
</board>

board
Board with a caption

The title of the board is preceded by a T

<board>

4 4 4 4
4 4 4 4
T Initial position
</board>

board
Initial position
Three rows board with a caption and stores <board>

4 4 4 4
4 4 4 4
4 4 4 4
T Initial position
N 0
S 0
</board>

board
Initial position
Colors for the pits and the stores

a white, b close to white, y close to black, z black.

<board>

0a 1b 4 3
8y 7z 5 4
N 10a
S 20
</board>

board
Numbered pits

Add a line beginning by L.

<board>

0 1 4 3
8 7 5 4
L
</board>

board

Advanced boards

Description You type You get
Captured hole

Instead of the contents of the hole, write an X

<board>

1 1 X 13 13 2 13 13 1
1 1 1 3 1 14 14 3 2
N38
S27
T A tüz üy in toghiz qumalaq
</board>

board
A tüz üy in toghiz qumalaq
Captured hole of a different color <board>

1 1 Xa 13b 13b 2b 13b 13b 1b
1 1 1b 3b 1b 14b 14b 3b 2b
N38
S27
T A tüz üy in toghiz qumalaq
</board>

board
A tüz üy in toghiz qumalaq
Square holes

Write a Q (square) after the number of seeds (or after the X)

< board>

0 0 0 0 0 0 0 0
0 2 2 6Q 0 0 0 0
0 0 0 0 6Q 2 2 0 0
0 0 0 0 0 0 0 0
T Bao initial position
</board>

board
Bao initial position
Closed holes

Write an H (hidden) instead of the number of seeds.

<board>

4 4 4 4 H H
4 4 4 4 4 4
N 0
S 8
T Hoyito after a game ended at 16-32
</board>

board
Hoyito after a game ended at 16-32

Extra

A funny board
Try to copy it without looking at the source!
board
Mbelele initial position. In different colors the holes belonging to each player

Wrapping

Please, don't use it unless it is essential.

Description You type You get, when followed by text
Aligned to the left

On the <board> add align = "left".

<board align = "left">

0 1 4 3
8 7 5 4
</board>

board

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec pellentesque faucibus velit. Ut in enim sit amet risus egestas euismod. Nullam tincidunt elementum nunc. Ut commodo auctor libero. Nam nonummy neque eu nunc. Integer accumsan. Pellentesque fermentum massa ut erat. Integer dictum est vitae orci cursus dapibus. Integer in nisi. Fusce ac metus non nulla molestie porta.

Centered

On the <board> add align = "center".

<board align = "center">

0 1 4 3
8 7 5 4
</board>

board

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec pellentesque faucibus velit. Ut in enim sit amet risus egestas euismod. Nullam tincidunt elementum nunc. Ut commodo auctor libero. Nam nonummy neque eu nunc. Integer accumsan. Pellentesque fermentum massa ut erat. Integer dictum est vitae orci cursus dapibus. Integer in nisi. Fusce ac metus non nulla molestie porta.

Aligned to the right

On the <board> add align = "right".

<board align = "right">

0 1 4 3
8 7 5 4
</board>

board

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec pellentesque faucibus velit. Ut in enim sit amet risus egestas euismod. Nullam tincidunt elementum nunc. Ut commodo auctor libero. Nam nonummy neque eu nunc. Integer accumsan. Pellentesque fermentum massa ut erat. Integer dictum est vitae orci cursus dapibus. Integer in nisi. Fusce ac metus non nulla molestie porta.

Make your tests at the sandbox so you'll break nothing.

All the images produced here are considered public domain, but the software author, Víktor Bautista i Roca, would really apreciate some recognition if used extensively outside wikimanQala.

Views
Personal tools