Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: ASCII chess boards

Author: Rémi Coulom

Date: 00:31:44 06/06/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.

     a b c d e f g h

  8  r n b q k b n r  8
  7  = = = = = = = =  7
  6  .   .   .   .    6
  5    .   .   .   .  5
  4  .   .   .   .    4
  3    .   .   .   .  3
  2  # # # # # # # #  2
  1  R N B Q K B N R  1

     a b c d e f g h

Remi





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.