Check out Symmetric Chess, our featured variant for March, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Latest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Comments/Ratings for a Single Item

LatestLater Reverse Order EarlierEarliest
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, Nov 8, 2022 04:08 AM UTC:

For games using a Rank label of 0, the 0 rank is not displayed and any pieces starting there are shown as captured.


Daniel Zacharias wrote on Mon, Sep 19, 2022 12:37 AM UTC:

I tried starting a game with the following time settings

Spare Time 1 week
Grace Time 24 hours
Min Time 2 days
Bonus Time 12 hours
Max Time 2 weeks

It wouldn't work, saying that I shouldn't set Min time above Max time


Daniel Zacharias wrote on Sun, Sep 18, 2022 11:24 PM UTC:

Does the Alfaerie-Many set affect the time it takes to process a move? I've been working on a large preset and whenever I tried it using alfaerie-many it never even finished running the pre-game code.


H. G. Muller wrote on Tue, Sep 13, 2022 08:01 AM UTC in reply to Daniel Zacharias from 01:32 AM:

I don't think that would work. White could use his first turn to advance  its entire army 2 ranks, which would give him a significant space advantage.


Daniel Zacharias wrote on Tue, Sep 13, 2022 01:32 AM UTC in reply to Donn Cooks from Sat Sep 10 02:36 AM:

I'm not great with Game Code, so I might not have the best advice. I don't think there's any way to have real-time movement. Maybe you could approximate it by letting players take turns making any number of moves until a capture occurs.


Donn Cooks wrote on Sat, Sep 10, 2022 02:36 AM UTC:

Hey all, new user here. Question, I'm trying to program Senterej, the Ethiopian Chess variant into Game Courier. Would anyone have a recommendation for coding the mobilization phase? (where pieces can be moved freely until the initial capture)

I searched game courier to see if it was coded for play already and did not see it


Armin Liebhart wrote on Tue, Feb 22, 2022 09:54 AM UTC in reply to Fergus Duniho from Mon Feb 21 11:02 PM:

Thank you very much


🕸💡📝Fergus Duniho wrote on Mon, Feb 21, 2022 11:02 PM UTC in reply to Armin Liebhart from 08:20 PM:

Okay, I fixed the error, and the King can capture the piece on b2 now.


Armin Liebhart wrote on Mon, Feb 21, 2022 08:20 PM UTC in reply to Fergus Duniho from 05:51 PM:

Hello Fergus, it's in this game: lunaris-cvgameroom-2022-24-568 when i now try to capture with my king (a1-b2) this happens. Maybe there's something else wrong in the rules enforcement, but it shows this error message. I created this file based on shogi, meaning i edited the shogi preset.


🕸💡📝Fergus Duniho wrote on Mon, Feb 21, 2022 05:51 PM UTC in reply to Armin Liebhart from 11:12 AM:

Can you give me a link or a series of moves in which this error comes up?


Armin Liebhart wrote on Mon, Feb 21, 2022 11:12 AM UTC:

Hello, for some reason i get the following error message in a game of judkin shogi:

Syntax Error on line 587

The cond operator requires at least three arguments.

Since that line is from the shogi include file, which i suppose was well checked, i don't know how i could possibly correct that. Who can tell me, what's the problem? I copy and paste the relevant part (from the pawndropcheckmate subroutine - even though i didn't use a pawn in my move) the relevant line is the one with an arrow.

sub pawndropcheckmate pawn spot:
    my allies;
    local king kingmoves black test to;
    verify empty #spot and onboard #spot;
    if == #pawn P:
        set king where #spot 0 -1;
        set black true;
    else:
        set king where #spot 0 1;
        set black false;
    endif;
    verify == space #king cond #black k K;
    set kingmoves merge leaps #king 1 0 leaps # 1 1;
    for to #kingmoves:
------>     if not cond #black islower isupper space #to or empty #to and onboard #to:
            move #king #to;
            set checked fn cond #black ATTACKEDBYW ATTACKEDBYB #to;
            restore;
            verify #checked;
        endif;

Thank you, Armin


Jean-Louis Cazaux wrote on Sat, Nov 20, 2021 10:56 PM UTC in reply to Ben Reiniger from 09:59 PM:

Thanks a lot, I didn't know that function. :=)


Ben Reiniger wrote on Sat, Nov 20, 2021 09:59 PM UTC in reply to Jean-Louis Cazaux from 08:10 PM:

@Jean-Louis, you type drawn into the Moves text field (instead of clicking anything).


Jean-Louis Cazaux wrote on Sat, Nov 20, 2021 08:10 PM UTC in reply to H. G. Muller from 07:39 PM:

I've never seen this possibility in the games I have played. I don't know how to do, when I do a move, I move a piece, how can I enter "drawn"?


H. G. Muller wrote on Sat, Nov 20, 2021 07:39 PM UTC in reply to Jean-Louis Cazaux from 07:20 PM:

I think you have to submit drawn as a move. In a rule-enforcing preset you have to make sure the preset would accept that GAME-code command.


Jean-Louis Cazaux wrote on Sat, Nov 20, 2021 07:20 PM UTC:

I imagine the question has been asked in the past. Sorry to ask again, I don't know the answer:

Is there any way to propose a draw, null, to an opponent on Game Courier?

(Resigning is not really a solution because if a game is going to no end, it is unfair to give a "lost" at the player who resigns and "has won" to the other player.)

Thanks


Daniel Zacharias wrote on Fri, Nov 19, 2021 06:50 AM UTC:

https://www.chessvariants.com/play/pbm/play.php?game=Pocket+Shogi+Copper&log=panther-cvgameroom-2021-304-264

In this pocket shogi copper game I'm trying to make the move k 8g-9h and I get an error

Syntax Error on line 376

The cond operator requires at least three arguments.

A. M. DeWitt wrote on Wed, Oct 20, 2021 04:06 AM UTC in reply to Fergus Duniho from 01:55 AM:

I saw your comment after I fixed the error in the preset's code, but thank you for posting the information anyway. I'm guessing the errors above the subroutine error in the log were the main cause of the Error 524 problem, but it could be that the preset was just so big that it took too long to spot the error and print the log. After all, Taishin Shogi's GC preset is the largest GC preset with full rule enforcement and display of legal moves that I know of (in terms of board size (25x25), number of piece types (232 in total), and number of lines of code (total is probably close to or over 1000 as of right now)).


🕸💡📝Fergus Duniho wrote on Wed, Oct 20, 2021 01:55 AM UTC in reply to A. M. DeWitt from Tue Oct 19 09:18 PM:

Is it just me, or is the latest version of my Taishin Shogi GC preset overloading this whole site? Whenever I click on my settings file to play it, I get nothing but 524 errors for a while.

When I first tried loading it, I checked the error log and got

PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/chessvariants/public_html/play/pbm/gamecode.php on line 2524

I fixed some of the errors above it, but I still get a maximum execution time exceeded error. There is one persisting and multiply-repeating warning that I think is due to your own code:

PHP Warning: Undefined array key 897 in /home/chessvariants/public_html/play/pbm/gamecode.php on line 1122

The line in question, line 1122, is part of the code for the "sub" command, which indicates the beginning of a subroutine definition, and it says:

$linenum = $links[$linenum];

This refers to an array that is calculated before any line of GAME Code is executed. This comes from analyzing the structure of the code. So, I would recommend looking for a structural problem in one of your subroutines. Perhaps a block of code wasn't closed off properly, causing endsub to not be expected yet when it appeared. The problem might be around line 897 of your code, since that was the value for $linenum in the warning that kept repeating.


A. M. DeWitt wrote on Tue, Oct 19, 2021 09:18 PM UTC:

Is it just me, or is the latest version of my Taishin Shogi GC preset overloading this whole site? Whenever I click on my settings file to play it, I get nothing but 524 errors for a while.

I will admit that the thing is one of the biggest GC presets out there in terms of file size (if not the biggest) since there are so many piece types, as well as special promotion rules (i.e. contagious pieces), and all manner of multi-part moves, but I haven't had problems like this before.

Edit: I found the problem. It was a tiny syntax error in the isdoublemove subroutine. Everything works fine now.


🕸💡📝Fergus Duniho wrote on Mon, Oct 4, 2021 08:41 PM UTC in reply to Jean-Louis Cazaux from 07:12 PM:

There was a syntax error in one line. It's now corrected.


Daniel Zacharias wrote on Mon, Oct 4, 2021 07:31 PM UTC in reply to Jean-Louis Cazaux from 07:12 PM:

I can't either, so it's not just you.


Jean-Louis Cazaux wrote on Mon, Oct 4, 2021 07:12 PM UTC:

The problems seem to come again. I cannot access to any of my on-going games. Just me?


🕸💡📝Fergus Duniho wrote on Sun, Oct 3, 2021 01:23 PM UTC in reply to Daniel Zacharias from 04:42 AM:

I was looking for a global way to eliminate some PHP warnings, but that requirement proved to be too restrictive. So, I have removed it.

I then tried requiring minimal argument counts instead, but even that caused problems for unary, binary, and mixed unary/binary operators. But since they seemed to work with operators requiring 3 or more arguments, I left those minimal argument count requirements in.


Jean-Louis Cazaux wrote on Sun, Oct 3, 2021 12:20 PM UTC in reply to Daniel Zacharias from 04:42 AM:

It was general. I think it's back OK now.


25 comments displayed

LatestLater Reverse Order EarlierEarliest

Permalink to the exact comments currently displayed.