🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Michael Glenn Wed, 30 Dec 1992 05:49
Gnuchess infinite loop?
#172
Author: Michael Glenn
Date: Wed, 30 Dec 1992 05:49
15 lines
869 bytes
I've tried compiling gnuchess4.0.pl60 with gcc 2.3.3, and I consistantly  
get an infinite loop (usually after 4-5 seconds of successful operation).   
It happens around line 54 of atak.c in the loop

          do
            {
              a[u] = ((a[u]+1) | c);
              u = ((color[u] == neutral) ? ppos[u] : pdir[u]);
          } while (u != sq);

Obviously u never gets to equal sq here.  Anyone else have such a problem,  
or is this old news?

Michael Glenn
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads