🕸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.
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.