Author: Ernst A. Heinz
Date: 10:05:21 06/05/00
Go up one level in this thread
On June 05, 2000 at 07:49:11, Steffen Jakob wrote:
>Hi programmers!
>
>I would like to see how you print an ASCII chess board. At the moment my ASCII
>board looks like this:
>
> +---+---+---+---+---+---+---+---+
>8 |=R=|=N=|=B=|=Q=|=K=|=B=|=N=|=R=|
> +---+---+---+---+---+---+---+---+ Black: Steffen (1800)
>7 |=P=|=P=|=P=|=P=|=P=|=P=|=P=|=P=|
> +---+---+---+---+---+---+---+---+ Black material: 41.72
>6 | | | | | | | | |
> +---+---+---+---+---+---+---+---+
>5 | | | | | | | | |
> +---+---+---+---+---+---+---+---+ White to move
>4 | | | | | | | | |
> +---+---+---+---+---+---+---+---+
>3 | | | | | | | | |
> +---+---+---+---+---+---+---+---+ White material: 41.72
>2 | P | P | P | P | P | P | P | P |
> +---+---+---+---+---+---+---+---+ White: Hossa v1.81 (C) (2400)
>1 | R | N | B | Q | K | B | N | R |
> +---+---+---+---+---+---+---+---+
> a b c d e f g h
Hi Steffen,
After using an ASCII layout very similar to yours as shown above
for quite a while, I designed my own new one for "DarkThought"
with better space-efficiency in mind.
////////////////////////////////////////////////////////////////
kqKQ -
+------------------------+
8 |*R *N:*B *Q:*K *B:*N *R:|
7 |*P:*P *P:*P *P:*P *P:*P |
6 | ::: ::: ::: :::|
5 |::: ::: ::: ::: |
4 | ::: ::: ::: :::|
3 |::: ::: ::: ::: |
2 | P :P: P :P: P :P: P :P:|
1 |:R: N :B: Q :K: B :N: R |
+------------------------+
a b c d e f g h
////////////////////////////////////////////////////////////////
=Ernst=
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.