[ 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 Sun, Aug 2, 2020 04:23 PM UTC in reply to H. G. Muller from 11:04 AM:Okay, I corrected two problems with it, and it works now. I changed the while condition at the end from $space[$c] != "@" to $space[$c] == "@", and I added a break at the end to keep it from executing the code after the next case statement.
Okay, I corrected two problems with it, and it works now. I changed the while condition at the end from
$space[$c] != "@"
to$space[$c] == "@"
, and I added abreak
at the end to keep it from executing the code after the next case statement.