Difference between revisions of "Unicode and ASCII boards"
From HexWiki
(→Full layouts) |
(Added convention for X and O.) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | The board can be represented in ASCII (with fixed-width fonts) using either the full or compact formats below. | + | The board can be represented in ASCII or Unicode (with fixed-width fonts) using either the full or compact formats below. |
+ | |||
+ | For the stones, the usual ASCII convention is to use "X" for Black and "O" for White. Another convention is to use "V" for the vertical player (Black) and "H" for the horizontal player (White). With Unicode, the symbols "●", "○", and "⋅" can also be used for a black stone, white stone, and empty cell, respectively. | ||
== Full layouts == | == Full layouts == | ||
<pre> | <pre> | ||
− | + | A B C D E F G H I J K | |
− | + | __ __ __ __ __ __ __ __ __ __ __ | |
− | + | / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ 1 | |
− | + | 1 \__/\__/\__/\__/\__/\__/\__/\__/\__/\__/\__/_ | |
− | + | / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ 2 | |
− | + | 2 \__/\__/\__/\__/\__/\__/\__/\__/\__/\__/\__/_ | |
− | + | / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ 3 | |
− | + | 3 \__/\__/\__/\__/\__/\__/\__/\__/\__/\__/\__/_ | |
− | + | / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ 4 | |
− | + | 4 \__/\__/\__/\__/\__/\__/\__/\__/\__/\__/\__/_ | |
− | + | / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ 5 | |
− | + | 5 \__/\__/\__/\__/\__/\__/\__/\__/\__/\__/\__/_ | |
− | + | / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ 6 | |
− | + | 6 \__/\__/\__/\__/\__/\__/\__/\__/\__/\__/\__/_ | |
− | + | / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ 7 | |
− | + | 7 \__/\__/\__/\__/\__/\__/\__/\__/\__/\__/\__/_ | |
− | + | / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ 8 | |
− | + | 8 \__/\__/\__/\__/\__/\__/\__/\__/\__/\__/\__/_ | |
− | + | / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ 9 | |
− | + | 9 \__/\__/\__/\__/\__/\__/\__/\__/\__/\__/\__/_ | |
− | + | / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ 10 | |
− | + | 10 \__/\__/\__/\__/\__/\__/\__/\__/\__/\__/\__/_ | |
− | + | / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ 11 | |
− | + | 11 \__/\__/\__/\__/\__/\__/\__/\__/\__/\__/\__/ | |
− | + | A B C D E F G H I J K | |
</pre> | </pre> | ||
<pre> | <pre> | ||
− | + | __ | |
− | + | __/ \__ | |
− | + | __/ \__/ \__ | |
− | + | __/ \__/ \__/ \__ | |
− | + | __/ \__/ \__/ \__/ \__ | |
− | + | X __/ \__/ \__/ \__/ \__/ \__ 0 | |
− | + | __/ \__/ \__/ \__/ \__/ \__/ \__ | |
− | + | __/ \__/ \__/ \__/ \__/ \__/ \__/ \__ | |
− | + | __/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__ | |
− | + | __/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__ | |
− | + | __/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__ | |
− | / \ | + | / \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \ |
− | \ | + | \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ |
− | + | \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ | |
− | + | \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ | |
− | + | \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ | |
− | + | \__/ \__/ \__/ \__/ \__/ \__/ \__/ | |
− | + | \__/ \__/ \__/ \__/ \__/ \__/ | |
− | + | 0 \__/ \__/ \__/ \__/ \__/ X | |
− | + | \__/ \__/ \__/ \__/ | |
− | + | \__/ \__/ \__/ | |
− | + | \__/ \__/ | |
− | + | \__/ | |
</pre> | </pre> | ||
Line 62: | Line 64: | ||
<pre> | <pre> | ||
− | A B C D E F G H I | + | A B C D E F G H I J K |
− | 1 . . . . . . . . . | + | 1 . . . . . . . . . . . |
− | 2 . . . . . . . V . | + | 2 . . . . . . . V . . . |
− | 3 . . V . . . . V . | + | 3 . . V . . . . V . . . |
− | 4 . . . V . . . . . | + | 4 . . . V . . . . . . . |
− | 5 . . . . . . V . . | + | 5 . . . . . . V . . . . |
− | 6 . . V H H H V . . | + | 6 . . V H H H V . . . . |
− | 7 . . . . . . H . . | + | 7 . . . . . . H . . . . |
− | 8 . H . V . H . . . | + | 8 . H . V . H . . . . . |
− | 9 . H . . . . . . . | + | 9 . H . . . . . . . . . |
+ | 10 . . . . . . . . . . . | ||
+ | 11 . . . . . . . . . . . | ||
+ | |||
+ | </pre> | ||
+ | |||
+ | <pre> | ||
+ | A B C D E F G H I J K | ||
+ | ■■■■■■■■■■■■■■■■■■■■■■■■ | ||
+ | 1 \ · · · · · · · · · · · \ | ||
+ | 2 \ · · · · · · · · · · · \ | ||
+ | 3 \ ● · · · · · · · · · · \ | ||
+ | 4 \ · · · · · · · · · · · \ | ||
+ | 5 \ · · · · · · ○ ○ · · · \ | ||
+ | 6 \ · · · · ● ○ ● · · · · \ | ||
+ | 7 \ · · · · ○ · · · · · · \ | ||
+ | 8 \ · · ● · · · · · ● ● · \ | ||
+ | 9 \ · · · · · · · ● ○ ○ · \ | ||
+ | 10 \ · · · · · ○ · · · · · \ | ||
+ | 11 \ · · · · · · ● · · · · \ | ||
+ | ■■■■■■■■■■■■■■■■■■■■■■■■ | ||
</pre> | </pre> | ||
Line 78: | Line 100: | ||
/. .\ | /. .\ | ||
/. . .\ | /. . .\ | ||
− | + | /. . . .\ | |
− | + | O /. . . . .\ X | |
/. . . O . .\ | /. . . O . .\ | ||
/. . O . . . .\ | /. . O . . . .\ | ||
/. . . . . . . .\ | /. . . . . . . .\ | ||
− | + | /. . X O X . . . .\ | |
+ | /. . . . . . . . . .\ | ||
+ | . . . . . . . . . . . | ||
+ | \. . . . X . . . . ./ | ||
+ | \. . . . . . . . ./ | ||
\. . . . . . . ./ | \. . . . . . . ./ | ||
− | \. . | + | \. . . . . . ./ |
\. . . . . ./ | \. . . . . ./ | ||
− | + | X \. . . . ./ O | |
− | + | \. . . ./ | |
\. . ./ | \. . ./ | ||
\. ./ | \. ./ | ||
\./ | \./ | ||
</pre> | </pre> | ||
+ | |||
+ | [[Category: Resources]] |
Latest revision as of 22:03, 7 November 2024
The board can be represented in ASCII or Unicode (with fixed-width fonts) using either the full or compact formats below.
For the stones, the usual ASCII convention is to use "X" for Black and "O" for White. Another convention is to use "V" for the vertical player (Black) and "H" for the horizontal player (White). With Unicode, the symbols "●", "○", and "⋅" can also be used for a black stone, white stone, and empty cell, respectively.
Full layouts
A B C D E F G H I J K __ __ __ __ __ __ __ __ __ __ __ / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ 1 1 \__/\__/\__/\__/\__/\__/\__/\__/\__/\__/\__/_ / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ 2 2 \__/\__/\__/\__/\__/\__/\__/\__/\__/\__/\__/_ / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ 3 3 \__/\__/\__/\__/\__/\__/\__/\__/\__/\__/\__/_ / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ 4 4 \__/\__/\__/\__/\__/\__/\__/\__/\__/\__/\__/_ / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ 5 5 \__/\__/\__/\__/\__/\__/\__/\__/\__/\__/\__/_ / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ 6 6 \__/\__/\__/\__/\__/\__/\__/\__/\__/\__/\__/_ / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ 7 7 \__/\__/\__/\__/\__/\__/\__/\__/\__/\__/\__/_ / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ 8 8 \__/\__/\__/\__/\__/\__/\__/\__/\__/\__/\__/_ / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ 9 9 \__/\__/\__/\__/\__/\__/\__/\__/\__/\__/\__/_ / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ 10 10 \__/\__/\__/\__/\__/\__/\__/\__/\__/\__/\__/_ / \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \ 11 11 \__/\__/\__/\__/\__/\__/\__/\__/\__/\__/\__/ A B C D E F G H I J K
__ __/ \__ __/ \__/ \__ __/ \__/ \__/ \__ __/ \__/ \__/ \__/ \__ X __/ \__/ \__/ \__/ \__/ \__ 0 __/ \__/ \__/ \__/ \__/ \__/ \__ __/ \__/ \__/ \__/ \__/ \__/ \__/ \__ __/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__ __/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__ __/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__ / \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ 0 \__/ \__/ \__/ \__/ \__/ X \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/ \__/
Compact layouts
A B C D E F G H I J K 1 . . . . . . . . . . . 2 . . . . . . . V . . . 3 . . V . . . . V . . . 4 . . . V . . . . . . . 5 . . . . . . V . . . . 6 . . V H H H V . . . . 7 . . . . . . H . . . . 8 . H . V . H . . . . . 9 . H . . . . . . . . . 10 . . . . . . . . . . . 11 . . . . . . . . . . .
A B C D E F G H I J K ■■■■■■■■■■■■■■■■■■■■■■■■ 1 \ · · · · · · · · · · · \ 2 \ · · · · · · · · · · · \ 3 \ ● · · · · · · · · · · \ 4 \ · · · · · · · · · · · \ 5 \ · · · · · · ○ ○ · · · \ 6 \ · · · · ● ○ ● · · · · \ 7 \ · · · · ○ · · · · · · \ 8 \ · · ● · · · · · ● ● · \ 9 \ · · · · · · · ● ○ ○ · \ 10 \ · · · · · ○ · · · · · \ 11 \ · · · · · · ● · · · · \ ■■■■■■■■■■■■■■■■■■■■■■■■
/.\ /. .\ /. . .\ /. . . .\ O /. . . . .\ X /. . . O . .\ /. . O . . . .\ /. . . . . . . .\ /. . X O X . . . .\ /. . . . . . . . . .\ . . . . . . . . . . . \. . . . X . . . . ./ \. . . . . . . . ./ \. . . . . . . ./ \. . . . . . ./ \. . . . . ./ X \. . . . ./ O \. . . ./ \. . ./ \. ./ \./