Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: ASCII chess boards

Author: Steffen Jakob

Date: 12:30:51 06/06/00

Go up one level in this thread


On June 06, 2000 at 13:14:16, David Paulowich 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:
>>
>DELETED
>>
>>Best wishes,
>>Steffen.
>
>I like to mark the black squares on my ASCII board.  Of course,
>you cannot do this for squares occupied by black pieces,

Hi David!

Good idea! I think I will implement this and test it a while to see if I still
like it...


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

Best wishes,
Steffen.



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.