Check out Janggi (Korean Chess), our featured variant for December, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

GAME code table-driven move generator[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Tue, Jul 28, 2020 08:04 PM UTC in reply to H. G. Muller from 07:22 PM:

It seems the 0 at location 31 did not get into the array. That does not seem kosher to me...

That's now fixed. In some early preprocessing of the lines, it checked for an empty line, which would return true when the line equaled "0". I changed it to check the length of the string, and it now works.