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

Falcon King Chess. A shortrange variant on an 8x8 board featuring a pair of royal Falcons.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Sun, Jul 15, 2018 01:09 AM UTC:

If you append &submit=Edit to the URL, it will open up in Edit mode without trying to run the code. Both settings files are by Joe Joyce, and in each case, all he did was copy over the code for Chess without adapting it to these particular games. What the error message is complaining about is a line in which a function name is contructed from a piece name, but that function doesn't exist. The piece is identified by the label BI, and it looks like a bird. The particular function that the error message says is missing is one that would identify all the spaces this piece could potentially move to. But more functions that just this are missing. These games replace most of the Chess pieces with other pieces, and there is no code for these pieces. The required code is a set of functions for testing whether moves made by these pieces are legal, and a set of functions that indicate a set of spaces to check for potential legal moves. The former should be named after the pieces, and the latter should bear the names of pieces with L appended to the end. The BIL function would be one of this sort.