Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: ASCII chess boards

Author: Robert Hyatt

Date: 09:00:38 06/05/00

Go up one level in this thread


On June 05, 2000 at 10:57:04, Albert Silver wrote:

>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.
>
>Here is the one from Chess Assistant 5:
>
>   +---+---+---+---+---+---+---+---+
> 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
>
>
>                                      Albert Silver


I copied this from the chess servers several years ago:

       +---+---+---+---+---+---+---+---+
    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



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.