🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #67

New file for terminal display of Gnuchess: nuxdisp.c

#67
From: Christopher North-Keys
Date: Tue, 12 Dec 1989 05:05
72 lines
3773 bytes
8    /////     /////     /////     /////|
 =R= /=N=/ =B= /=Q=/ =K= /=B=/ =N= /=R=/|   Computer
     /////     /////     /////     /////|
7////     /////     /////     /////     |
/=P=/ =P= /=P=/ =P= /=P=/ =P= /=P=/ =P= |
/////     /////     /////     /////     |
6    /////     /////     /////     /////|
     /////     /////     /////     /////|
     /////     /////     /////     /////|
5////     /////     /////     /////     |   GNUchess display (Nov 89)
/////     /////     /////     /////     |
/////     /////     /////     /////     |
4    /////     /////     /////     /////|
     /////     /////     /////     /////|
     /////     /////     /////     /////|
3////     /////     /////     /////     |
/////     /////     /////     /////     |
/////     /////     /////     /////     |
2    /////     /////     /////     /////|   Your move is?
 [P] /[P]/ [P] /[P]/ [P] /[P]/ [P] /[P]/|
     /////     /////     /////     /////|
1////     /////     /////     /////     |
/[R]/ [N] /[B]/ [Q] /[K]/ [B] /[N]/ [R] |   Human
////a    b////c    d////e    f////g    h|

White is across the bottom.  This display was accessed via "rv".
Coo"rdinates are toggled by "coords"
Piece colour is indicated by surrounding three spaces if in initial mode.
Board and Pieces use of inverse can be toggled independently with "brv", "prv".
Dynamic heuristics are available via "p" (position information).

Position information looks like:

8  2 /////  20 /  0/ -10 /////     /  4/|
 =R= ///// =B= /=Q=/ =K= /////     /=R=/|   Computer       4:53
     /////     /////     /////     /////|
7  9/   9 /  4/   0 /////   4 /  9/   9 |   Depth= 3
/=P=/ =P= /=P=/ =P= ///// =P= /=P=/ =P= |
/////     /////     /////     /////     |
6    /////  32 /////     / 32/     /////|
     ///// =N= /////     /=N=/     /////|
     /////     /////     /////     /////|
5////     /////     /-11/     /////     |
/////     /////     /=P=/     /////     |
/////     /////     /////     /////     |
4    / 53/     /  8/  16 /////     /////|
     /=B=/     /[P]/ [P] /////     /////|    5:   WHITE
     /////     /////     /////     /////|
3////     / 26/     /////  32 /////     |
/////     /[N]/     ///// [N] /////     |   My move is: f8b4
/////     /////     /////     /////     |
2  9 /  9/   4 /////     /  4/   9 /  9/|   Your move is?
 [P] /[P]/ [P] /////     /[P]/ [P] /[P]/|
     /////     /////     /////     /////|
1  2/     / 30/  12 /-10/  30 /////   2 |
/[R]/     /[B]/ [Q] /[K]/ [B] ///// [R] |   Human          3:32
////a    b////c    d////e    f////g    h|   Score= 24

It is possible that the earlier starring convention was more
legible, but since I haven't used it much, I haven't bothered to check.

I prefer the output of the following commands:
	"brv" "p"
for actual play.

Hope someone likes this.  :-)


------------------------------------/\----------------------------------------
Seo:  Harp[@Mcc.Com]               /  \/\ ^*^           Christopher North-Keys
Tha mi gu trang a'cluich.         /    \ \         Assoc. Systems Analyst, MCC
--------------------------------(disclaimer)----------------------------------
Technical Details
Message-ID: <22256@ut-emx.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!uunet!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!ut-emx!walt.cc.utexas.edu!erlkonig
References: <22254@ut-emx.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!uunet!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!ut-emx!walt.cc.utexas.edu!erlkonig
From: erlkonig@walt.cc.utexas.edu (Christopher North-Keys)
Newsgroups: gnu.chess
Subject: New file for terminal display of Gnuchess:  nuxdisp.c
Keywords: gnuchess, gnu, chess, nuxdsp.c, source
Message-ID: <22256@ut-emx.UUCP>
Date: 12 Dec 89 05:05:53 GMT
References: <22254@ut-emx.UUCP>
Sender: news@ut-emx.UUCP
Reply-To: erlkonig@walt.cc.utexas.edu (Christopher North-Keys)
Organization: Packaging/Interconnect, M.C.C.
Lines: 72