Check out Atomic Chess, our featured variant for November, 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 ]

Comments/Ratings for a Single Item

Earlier Reverse Order Later
Hannibal Chess (GC preset with enforced rules). A Game Courier Preset for Hannibal Chess with enforced rules.[All Comments] [Add Comment or Rating]
💡Kevin Pacey wrote on Wed, Jan 11, 2023 06:02 PM UTC:

@ Fergus (or Jean-Louis):

In the following game log I tried to move my Black elephant to f6, but the preset won't allow it for some reason:

https://www.chessvariants.com/play/pbm/play.php?game=Hannibal%2520Chess&log=panther-cvgameroom-2022-341-932&userid=panther

Also, in the following finished game, the preset does not seem to display everything beyond the diagram and the declaration of a draw by repetition:

https://www.chessvariants.com/play/pbm/play.php?game=Hannibal+Chess&log=panther-cvgameroom-2022-341-933


🕸Fergus Duniho wrote on Wed, Jan 11, 2023 06:31 PM UTC in reply to Kevin Pacey from 06:02 PM:

I did not encounter the same problem. It could have been a temporary bug I introduced while streamlining how legal moves are stored just earlier today.


💡Kevin Pacey wrote on Wed, Jan 11, 2023 09:44 PM UTC in reply to Fergus Duniho from 06:31 PM:

I could move okay with my elephant now, in the log I indicated.

However, the presentation of the finished game log (for Hannibal Chess) that I also gave still looks incorrect, it seems. For example, the names of the two players are not showing in it, and I cannot scroll down much farther at all when I get to the bottom of the diagram. [edit: I see that all finished game logs for CVs sort of look that way now - they did not always, as I was able to review the games from start to finish before]


🕸Fergus Duniho wrote on Thu, Jan 12, 2023 12:11 AM UTC in reply to Kevin Pacey from Wed Jan 11 09:44 PM:

That's now fixed. Since finished games have no legal moves left, $legalmoves was null, and then $legalList got assigned to null, which threw a fatal error a little further down. It now gets assigned to an empty array if $legalmoves is null, which allows things to work correctly.


4 comments displayed

Earlier Reverse Order Later

Permalink to the exact comments currently displayed.