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 by arx

EarliestEarlier Reverse Order LaterLatest
About Game Courier. Web-based system for playing many different variants by email or in real-time.[All Comments] [Add Comment or Rating]
Daniel Zacharias wrote on Tue, Jan 3, 2023 10:32 PM UTC:

This same problem is also in this preset, using this code:

set mypieces ();
set mypieces.k $pieces.k;
set mypieces.K $pieces.K;
set mypieces.q $pieces.q;
set mypieces.Q $pieces.Q;
set mypieces.r $pieces.r;
set mypieces.R $pieces.R;
set mypieces.b $pieces.b;
set mypieces.B $pieces.B;
set mypieces.n $pieces.n;
set mypieces.N $pieces.N;
set mypieces.p $pieces.p;
set mypieces.P $pieces.P;
if == pieceset alfaerie-allsvg:
  set mypieces.A pieceimg .W;
  set mypieces.a pieceimg .w;
  set mypieces.G pieceimg .P;
  set mypieces.g pieceimg .p;
  set mypieces.T $pieces.T;
  set mypieces.t $pieces.t;
  set mypieces.S $pieces.GG;
  set mypieces.s $pieces.gg;
  set mypieces.U $pieces.U;
  set mypieces.u $pieces.u;
  set mypieces.D pieceimg .D;
  set mypieces.d pieceimg .d;
endif;
setsystem pieces #mypieces;

I tried changing pieceset to $pieceset, but that just caused the pieces defined in the if condition to be replaced with black circles.


Daniel Zacharias wrote on Wed, Jan 4, 2023 12:22 AM UTC in reply to Fergus Duniho from 12:05 AM:

It doesn't happen when I use the Play button, but when I use Move and try to move pieces the images change. Also, in this ongoing game I see it after each move, but before I move it all looks ok.


Daniel Zacharias wrote on Wed, Jan 4, 2023 04:02 AM UTC in reply to Fergus Duniho from 03:27 AM:

I'm not sure what is going on. However, switching to the use of aliases should fix this.

Yeah, I can do that. I just wish it weren't necessary since it means modifying every preset that uses this method, which was working perfectly until just recently. It seems to only happen with HTML Table rendering, so it could be circumvented by settings affected presets to use a different method by default. That still means modifying a lot of broken presets to fix this.


Daniel Zacharias wrote on Wed, Jan 4, 2023 07:08 PM UTC in reply to Fergus Duniho from 05:26 PM:

Now the images are reverted still, but all the pieces also have black backgrounds


Daniel Zacharias wrote on Wed, Jan 4, 2023 10:28 PM UTC in reply to Fergus Duniho from 08:28 PM:

It appears to be fixed now


ChessV. Program for playing numerous Chess variants against your PC.[All Comments] [Add Comment or Rating]
Daniel Zacharias wrote on Sat, Jan 7, 2023 09:23 PM UTC:

What would be good settings for evaluating the balance of a different armies variant? I've tried some tests with 0:30+10 and Medium variation but got conflicting results.


Daniel Zacharias wrote on Sun, Jan 8, 2023 12:24 AM UTC in reply to Greg Strong from Sat Jan 7 11:24 PM:

How many is a lot? I did one set of 200 games and had a final score of -2, but then I tried a second set and by the time it got to 106 games the score was 62.


Daniel Zacharias wrote on Sun, Jan 8, 2023 06:34 PM UTC in reply to H. G. Muller from 09:05 AM:

So for 106 games it would be around 4%, so that the 62/106 (=58.5%) score is about two standard deviations above equality

What I meant was that white won 62 games more than black. The actual numbers were 80 white wins, 18 black wins, and 8 draws. This was very different from the first test, where black won more, but with a much smaller margin.


Musketeer Chess. A game that adds extra pieces to Chess, playable online with Game Courier.[All Comments] [Add Comment or Rating]
Daniel Zacharias wrote on Sun, Jan 8, 2023 06:45 PM UTC:

The cannon's move in this preset is rotated 90° from what is described in the rules.


@ Mirko Mirko[All Comments] [Add Comment or Rating]
Daniel Zacharias wrote on Mon, Jan 9, 2023 02:07 AM UTC in reply to Mirko Mirko from Sun Jan 8 10:36 PM:

That looks like a good one


The Fairychess Include File Tutorial. How to use the fairychess include file to program games for Game Courier.[All Comments] [Add Comment or Rating]
Daniel Zacharias wrote on Wed, Jan 11, 2023 12:18 AM UTC:

Would the fairychess include file work with hexagonal boards, or might there be difficulties with that?


Siege. Missing description (10x8, Cells: 72) [All Comments] [Add Comment or Rating]
Daniel Zacharias wrote on Wed, Jan 11, 2023 02:06 AM UTC:

This game might be good, but the presentation is horrible. It really needs paragraphs.


A Wizard for GAME-Code Generation. A tutorial on using the Play-Test Applet for automating Game Courier presets.[All Comments] [Add Comment or Rating]
Daniel Zacharias wrote on Thu, Jan 12, 2023 03:44 AM UTC:

Generated-code games are now giving an error saying "You may not set $extralegal with setsystem."


About Game Courier. Web-based system for playing many different variants by email or in real-time.[All Comments] [Add Comment or Rating]
Daniel Zacharias wrote on Thu, Jan 12, 2023 03:54 AM UTC:

Now the default presets for Glinksi's and McCooey's Hexagonal Chesses are broken. Neither one shows any legal moves.

Separately, this preset just shows the board but the rest of the game interface is missing.


The Fairychess Include File Tutorial. How to use the fairychess include file to program games for Game Courier.[All Comments] [Add Comment or Rating]
Daniel Zacharias wrote on Thu, Jan 12, 2023 09:51 PM UTC in reply to Fergus Duniho from 05:55 PM:

There was some delay in fixing betza.txt, because it is not in the includes directory, and I didn't see the bug report on it until my computer was off

That's my fault I suppose. I should have mentioned it together with the other problems.


Shogi. Play the Japanese form of Chess, in which captured pieces can be dropped back as your own. (Recognized!)[All Comments] [Add Comment or Rating]
Daniel Zacharias wrote on Fri, Jan 13, 2023 01:20 AM UTC:

There's a bug with this preset now where when you select a piece to drop no squares are highlighted as legal moves


Suzumu Shogi. 16x16 variant based on Tenjiku Shogi. (16x16, Cells: 256) [All Comments] [Add Comment or Rating]
Daniel Zacharias wrote on Wed, Jan 18, 2023 01:14 AM UTC in reply to A. M. DeWitt from Tue Jan 17 09:19 PM:

I've also changed the Heavenly Tetrarch's move so that it freezes (immobilizes) all adjacent enemy pieces except other Heavenly Tetrarches.

Is that instead of burning? That's an interesting addition


Glinski's Hexagonal Chess. Chess on a board made out of hexagons. (Recognized!)[All Comments] [Add Comment or Rating]
Daniel Zacharias wrote on Wed, Jan 18, 2023 05:33 PM UTC:

The preset reached through the Official Glinski Coordinates button here is not displaying properly


How to Enforce Rules in Game Courier. A tutorial on programming a rule-enforcing preset in the GAME Code language.[All Comments] [Add Comment or Rating]
Daniel Zacharias wrote on Thu, Jan 19, 2023 02:17 AM UTC:

I'm trying to follow these instructions to enforce the rules for this game, but I've run into trouble with my pawn subroutine. I want the pawns to capture by jumping over one piece to an empty space, but the hopping move isn't accepted as legal.

sub P from to;
    verify > rank #to rank #from;
    if capture:
        die "A Pawn may only capture by jumping over a piece immediately in front of itself.";
    elseif == distance #from #to 2: 
        verify checkahop #from #to -1 1 or checkahop #from #to 0 1 and islower screen;
        capture screen;
    else:
         verify checkaride #from #to -1 1 or checkaride #from #to 0 1;
    endif;
    if onboard where #to 0 #pzs or onboard where #to -1 #pzs:
        if != space #to moved:
            die "You may not promote a Pawn until it reaches the promotion zone.";
        endif;
    elseif == P space #to:
        askpromote #wprom;
    elseif not match space #to var wprom:
        set np space #to;
        die "You may not promote your Pawn to a" #np;
    endif;
    set nopvc 0;
    return true;
endsub;

Daniel Zacharias wrote on Thu, Jan 19, 2023 05:04 AM UTC in reply to Fergus Duniho from 02:47 AM:

That helped a lot! Now I have this, which does capture, but the check for whether the destination is empty doesn't work, and I haven't found a way to have the post-move code check the value of the piece captured in this way.

sub P from to;
    verify > rank #to rank #from;
    verify (empty #to);
    verify or (checkaride #from #to -1 1 or checkaride #from #to 0 1) (and == distance #from #to 2 or checkahop #from #to -1 1 checkahop #from #to 0 1);
    set hopped screen;
    if (not empty #hopped):
        capture #hopped;
    endif;

Daniel Zacharias wrote on Thu, Jan 19, 2023 07:32 PM UTC:

Is there any reason for the pawn function to include non-capturing moves since the actual movement is handled by the subroutine?


Game Courier Developer's Guide. Learn how to design and program Chess variants for Game Courier.[All Comments] [Add Comment or Rating]
Daniel Zacharias wrote on Thu, Jan 19, 2023 09:20 PM UTC:

Would it work to combine direction with where like this?

where c3 logic direction a1 c3


Daniel Zacharias wrote on Thu, Jan 19, 2023 10:01 PM UTC in reply to Fergus Duniho from 09:35 PM:

I was just trying direction to see what kind of outputs it gives on a horizontal hexagonal board. This is the code

set north direction g7 g8;
set northeast direction g7 h7;
set northwest direction g7 f8;
set south direction g7 g6;
set southeast direction g7 h6;
set southwest direction g7 f7;
print #north #northeast #northwest #south #southeast #southwest;

and the output was

Array
(
    [0] => w
    [1] => se
    [2] => s
    [3] => nw
    [4] => e
    [5] => #north
)

What is happening with #north?


Daniel Zacharias wrote on Thu, Jan 19, 2023 10:26 PM UTC in reply to Fergus Duniho from 10:15 PM:

Ok, I left out a semicolon somewhere.


Daniel Zacharias wrote on Fri, Jan 20, 2023 04:16 AM UTC:

I tried using logical directions. I would expect it to return d5. Instead, it simply prints d4;


map n 0 1 w -1 0 e 1 0 s 0 -1;
print where d4 logic n;

25 comments displayed

EarliestEarlier Reverse Order LaterLatest

Permalink to the exact comments currently displayed.