Author: Pete Galati
Date: 08:10:18 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
>
>Best wishes,
>Steffen.
John Stanback's SCP:
bRbNbBbQbKbBbNbR
bPbPbPbPbPbPbPbP
:: :: :: ::
:: :: :: ::
:: :: :: ::
:: :: :: ::
wPwPwPwPwPwPwPwP
wRwNwBwQwKwBwNwR
Tom Kerrigan's TSCP:
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
The program that Eugene Nalimov posted the code from:
0 r n b q k b n r
10 p p p p p p p p
20 - - - - - - - -
30 - - - - - - - -
40 - - - - - - - -
50 - - - - - - - -
60 P P P P P P P P
70 R N B Q K B N R
0 1 2 3 4 5 6 7
1 0 0 >
But I like what you have, it's very easy to identify the black pieces.
Pete
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.