Check out Smess, our featured variant for February, 2025.


[ 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

EarliestEarlier Reverse Order Later
Butterfly Chess. Large board chess with butterflies (not Ns), advancers (not Qs) & flying dragons added. (10x10, Cells: 100) [All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Thu, Jan 11, 2024 05:42 PM UTC in reply to Kevin Pacey from Wed Jan 10 09:11 PM:

Do you think it's worth changing the preset's 'Sides' to 'White Blue' from 'White Black'?

No, the $sides variable merely contains the names of the sides in the game.

It may break the game log between Joe and myself, but hopefully the change will fix the problem with the circled question marks appearing after Black/Blue makes his turns - and also show that it's Joe's turns to move (instead of always mine as White) if we try another game where I take White again.

Yes, it may break your game, but it definitely will not fix your problem. Using different color names in Sides will not change the actual color of pieces.


💡📝Kevin Pacey wrote on Thu, Jan 11, 2024 05:48 PM UTC in reply to Fergus Duniho from 05:37 PM:

Hi Fergus.

Daniel's Tigrey preset (and Play Tester's Frog Chess preset) may have this inconsistency also, if I understand a little of what you are writing, and yet both their presets work. Is there some key difference you can see with my preset, when you look at either of their presets, when in edit mode?


🕸Fergus Duniho wrote on Thu, Jan 11, 2024 05:54 PM UTC in reply to Kevin Pacey from 05:48 PM:

Your preset is using alfaerie-many, which has $flip set to true and an entirely populated $flipped array. When it is black's turn, $rightsideup is set to false, and this triggers it to use the piece name from $flipped instead of $pieces when $flip is true and $flipped has an element with the provided array key. Although you have rewritten $pieces to use .png images, you have not rewritten $flipped. So, it is using the piece names already supplied in alfaerie-many, which are all .gif file names. If you set $flip to false, this may fix things, though I still don't see any point in you using alfaerie-many if you are internally defining a set using .png pieces.


💡📝Kevin Pacey wrote on Thu, Jan 11, 2024 06:17 PM UTC in reply to Fergus Duniho from 05:54 PM:

@ Fergus:

I don't see the expression $flip anywhere in my Butterfly Chess preset's coding boxes, that I pasted stuff into from the Play-Test Applet. Do you mean I should set something by another name (or something saying 1) to false (or 0)? I'm pretty clueless about Game Courier coding/programming still.


🕸Fergus Duniho wrote on Thu, Jan 11, 2024 06:30 PM UTC in reply to Kevin Pacey from 06:17 PM:

$flip is normally set within a set file. Since you are trying to override the value given to $pieces in your set file, you would need to set it explicitly in your code like you are doing with $pieces. But if you change your piece set to something using .png images and use aliases instead of trying to define your own set internally, you wouldn't need to change the value of $flip.


💡📝Kevin Pacey wrote on Thu, Jan 11, 2024 06:33 PM UTC in reply to Fergus Duniho from 05:54 PM:

Daniel/Play Tester used some sort of Alfaerie Sets (not 'Many'), without having the buggy issue I did. At the moment I cannot find an Alfaerie Set that's not png, nevermind having all the piece figurine pictures I want for Butterfly Chess, if it becomes necessary/possible (for the sake of simplicity, in my case) to replace my chosen Piece Set in this preset of mine.


🕸Fergus Duniho wrote on Thu, Jan 11, 2024 06:46 PM UTC in reply to Kevin Pacey from 06:33 PM:

Daniel/Play Tester used some sort of Alfaerie Sets (not 'Many'), without having the buggy issue I did.

Yes, it's not the use of Alfaerie images that lies at the root of your problems with alfaerie-many.

At the moment I cannot find an Alfaerie Set that's not png,

alfaerie-many is not png, and that is part of the problem you are having with it, because you have set $dir to /graphics.dir/alfaeriePNG in your code.

nevermind having all the piece figurine pictures I want for Butterfly Chess, if it becomes necessary/possible (for the sake of simplicity, in my case) to replace my chosen Piece Set in this preset of mine.

If all the pieces you want for it can be found in /graphics.dir/alfaeriePNG, then the misnamed alfaerie-allsvg might do. If not, auto-alfaeriePNG should have everything you need.


💡📝Kevin Pacey wrote on Thu, Jan 11, 2024 07:26 PM UTC:

I went with now using the Auto-Alfaerie PGN set for my enforcing preset, and otherwise left things the way Fergus recommended against (still, thanks Fergus). The preset seems to work now, at the least in Move mode. However, the game log I have with Joe was unaffected, and I guess would be best deleted, and we might play another test game.


💡📝Kevin Pacey wrote on Thu, Jan 11, 2024 09:40 PM UTC in reply to Kevin Pacey from 07:26 PM:

One minor(?) point. In my written rules as displayed by the preset I still call a Caliph a Flying Dragon (another standard name for it), as on my rules page for Butterfly Chess. So I still showed a picture of a dragon in the displayed rules - but the Applet may insist on using a standard Caliph figurine (bishop+camel compound generated by Alfaerie piece sets) in any [preset] diagram [during play], I suppose it's possible (speaking as a layman), as the Applet abbreviates Caliph with a C in the coding as well as its offered FEN.

edit: I think I vaguely know what to do to get a dragon figurine from the applet, since it is (fortunately in this case) in the Applet's piece figurine table. It would involve substituting a dragon from the table for a caliph, somehow. Note that on my laptop, I couldn't see the table's sidebar to scroll by, unless I reduced my screen view by going [ctrl -] to get it to 90% factor (from normal 100%). It may also be the Applet can still use a standard Caliph symbol, and then I could have somehow substituted a dragon for it in my preset's diagram for during play - if I can wrap my head around how Fergus (or maybe H.G.) have already maybe explained well enough elsewhere.


💡📝Kevin Pacey wrote on Thu, Jan 11, 2024 10:21 PM UTC in reply to Kevin Pacey from 09:40 PM:

I've added an edit to my last post.


💡📝Kevin Pacey wrote on Thu, Jan 11, 2024 11:12 PM UTC in reply to Kevin Pacey from 09:40 PM:

Based on a prior post by Fergus, without looking at GC documentation, I think maybe all it takes to substitute a Dragon for a C (Applet's Caliph) in a preset is (using Auto Alfaerie PGN set):

Alias ...C D c d...

Where D stands for Dragon and d stands for dragon, in the Auto Alfaerie PGN set.

Leaving out some stuff (with ...), but I hope Fergus (and H.G.) get my drift.


🕸Fergus Duniho wrote on Fri, Jan 12, 2024 01:55 AM UTC in reply to Kevin Pacey from Thu Jan 11 11:12 PM:

When using aliases, you also have to make sure that your code does the proper translations between the aliases used for notation and the piece labels used for displaying the pieces. Since the code in betza.txt does not contain the keywords alias or realname, I expect it is working with the assumption that there are no aliases. The tutorial for the fairychess include file explains how aliases may be used, which may be of help to H. G. if he chooses to add support for them. In the meantime, you would probably break your generated preset if you tried to use aliases with it.


🔔Notification on Fri, Feb 2, 2024 03:07 AM UTC:

The author, Kevin Pacey, has updated this page.


13 comments displayed

EarliestEarlier Reverse Order Later

Permalink to the exact comments currently displayed.