Comments/Ratings for a Single Item
Thanks! I think I fixed it now.
Edit: Actually I didn't. I think the problem is that a mouse move can be interpreted both ways (origin-dest or dest-origin) in the mouse interface, because of how pawn moves can be entered. So it thinks a swapper piece moving onto a friendly pawn, and the pawn reappearing swapped, was a pawn move the other way around. But somehow my code for the swap gets correctly run, but there seems to be some kind of post-autocorrect on the written move that even overwrites my 'rewritemove' code.
Edit 2: Actually it's better now with the 'rewritemove' code running. Sometimes the notation turns out correct. And anyway, maybe the two things are equivalent, so the game record isn't really corrupted, you could say.
Edit 3: It works with moves where the dest coord is more up-right than the origin coord. Probably because of some internal ordering of the mouse entered coords or something.
Edit 4: So in the mouse interface, origin-dest and dest-origin are really the same thing. And perhaps the Post-Move code even gets run twice to determine this (which it was)? And you're supposed to use the 'swap' command when you want a swap effect. But in my game, there might be some situations where origin-dest and dest-origin doesn't mean quite the same thing. So is there a way to turn off the dest-origin way of entering mouse moves?
Edit 5: I found a way around it in my code. And I don't think there are any ambiguous situations in my game where origin-dest and dest-origin mean different things (friendly swaps give the same result independent of direction). So I'm happy now. :)

One amendment to your ‘fine print’ would be in order: you mention that pawns can promote to swappers, but not whether that includes swappers that were not introduced in the setup phase. I'd guess yes would be in the spirit, but since you're being explicit about details anyway…
Overall a nicely‐written page though, and interesting‐looking game
Thank you! I've updated the page per your suggestion.
I can't edit the page anymore. It says I have no userID. It happened after I closed my web browser.
I would like both of my submissions to be deleted. They're not good enough. For some reason, I can't edit or delete the pages anymore.
Since some time has gone since my deletion request, and I'm in another mood, I retract my deletion request. Sorry for the drama.
I still can't edit my pages, though. It says I have no User ID, even though I'm logged in.
For some reason, now I could edit my pages again. And thanks to bug fix help from HaruN Y, there is now a working interactive diagram of an example setup for the game!
9 comments displayed
Permalink to the exact comments currently displayed.
The rewritemove command should be used only once per move, and if you don't mean to use it on all moves, you should use it conditionally. To use it on each move only once, you should use it only in the Post-Game sections. To use it conditionally, you should use it within the scope of an if statement.