Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: ASCII Board representation

Author: Peter Fendrich

Date: 14:50:31 12/08/03

Go up one level in this thread


On December 08, 2003 at 16:04:36, Steffen Jakob wrote:

>On December 08, 2003 at 15:42:47, Andreas Guettinger wrote:
>
>>Does somebody know a good representation to print the board in the Console?
>>I currently use
>>
>>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
>>
>>(ok, imagine we had proportional fonts), but especially the diagonals are hard
>>to see. Can somebody point me towards a good example?
>>I like the Crafty representation, but I don't want to create a Crafty clone
>>(really no offense meant).
>
>Here is mine:
>
>  +---+---+---+---+---+---+---+---+
>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
>
>
>Greetings,
>Steffen.

A very good one Steffen. I think i would like steel it too!
How about this little adjustments:
  +---+---+---+---+---+---+---+---+
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

Makes it easier to follow the diagonals. At least for me...

/Peter



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.