Check out Janggi (Korean Chess), our featured variant for December, 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 by ChessShogi

EarliestEarlier Reverse Order LaterLatest
Play-test applet for chess variants. Applet you can play your own variant against.[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Wed, Aug 19, 2020 04:17 PM EDT in reply to H. G. Muller from Tue Aug 18 05:00 PM:

Here's a preset I made using code from the Play-Test Applet:

Yangsi


About Game Courier. Web-based system for playing many different variants by email or in real-time.[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Wed, Aug 19, 2020 06:32 PM EDT:

When I click on a piece to move it in a Game Courier preset, the selected piece doesn't get surrounded by a black square. You can still tell which piece is selected by looking at the Moves Field though. Personally, I prefer to be able to see which piece I have selected on the board without having to refer to the Moves field.


A. M. DeWitt wrote on Fri, Aug 21, 2020 12:37 PM EDT:

There is a bug in Game Courier that prevents you from deselecting an empty square that can be reached by a friendly piece. When such a square is selected, everything works normally (aside from not showing a black box on the selected square), but if you then try to deselect it or click another square, it will instead append that coords of the square you clicked directly to the end of whatever's in the Moves Field.


Game Courier. PHP script for playing Chess variants online.[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Sat, Aug 22, 2020 09:17 PM EDT:

There seems to be a bug in my rule-enforcing presets for large Shogi variants (except for Shosu Shogi) that makes the legal moves displayed for a piece repeat after ten squares. For example, in the Suzumu Shogi preset, if I click on the black Vice General in the starting position, Game Courier will display the normal legal move to 16e, but it will also show another legal move on 6e (which is still treated as illegal by the preset). I have no idea how this is happening, as I haven't changed the code for displaying legal moves (which is based on stalemated subroutines from teh chess3 and shogi include files) in any of these presets. Any help I can get would be greatly appreciated.

[Edit] I also found another bug that prevents Game Courier from displaying legal moves after trying to make an illegal move by the mouse and then cancelling it.


A. M. DeWitt wrote on Sun, Aug 23, 2020 10:16 AM EDT:

I also found another bug that prevents Game Courier from displaying legal moves after trying to make an illegal move with the mouse and then cancelling it with the popup.


A. M. DeWitt wrote on Sun, Aug 23, 2020 12:24 PM EDT in reply to Fergus Duniho from 11:41 AM:

I refreshed my browser cache. The Moves field works fine, but Game Courier still isn't displaying legal moves on the board after I try to make an illegal move with the mouse and then cancel it with the popup.


A. M. DeWitt wrote on Sun, Sep 13, 2020 11:47 AM EDT:

I encountered a bug when using presets I made for large Shogi variants such as Chu Shogi. The bug prevents the blue boxes that highlight legal moves from being displayed for the second part of a double move. Apart from that, everything works normally. I also tried this with the Balanced Marseillais Chess preset, but the bug was not present there. Any ideas as to what's causing this?

Also, the Marseillais Chess preset is exiting with an error as soon as you click the button for it on the game's Game Courier Preset page.


MSsuzumu-shogi[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Wed, Sep 23, 2020 10:38 AM EDT:

The rule against perpetual check was intentional back in 2019. It was meant to compensate for stalemate being a win for the stalemating player. In Chess, if you're in a lost position, then the stalemate rule can save you. The rule against perpetual check had the same purpose. However, I removed it from all of my Shogi variants some time ago, as I believed it would add nothing but confusion as to why someone lost a game.


Game Courier Settings Files. Keep track of all the settings files you have written for Game Courier.[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Mon, Nov 2, 2020 11:04 AM EST:

I would like the presets listed below deleted. All of them are mine, so you do not need someone else's permission to delete them.

The default preset for Hanten Shogi

The default preset for Gyaku-sama Shogi

In case you are wondering why I want them deleted, I have decided to delete their related articles from the Chess Variant Pages, as I have lost interest in them.


Interactive diagrams. (Updated!) Diagrams that interactively show piece moves.[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Fri, Dec 11, 2020 08:09 PM EST:

In making my own interactive diagrams, I decided to add functions for getting FEN codes from board positions and loading positions from FEN codes. They work pretty flawlessly, provided you use an ID w/ at least one letter for each piece. It even works w/ multi-character IDs, which are enclosed in curly brackets in the FEN code.

I also made functions for getting and loading game moves using a more specialized notation, w/ each element of the move separated by hyphens. Though it isn't standard algebraic notation, I have tested this system and it works very well.

If you would like, I can send you a text document w/ the functions.


A. M. DeWitt wrote on Mon, Dec 14, 2020 02:34 PM EST in reply to H. G. Muller from Sat Dec 12 10:21 AM:

Your program for pasting games works pretty well. To be honest, I didn't expect you to pull that off, though you probably aren't one to give up easily.

The problem with SAN is that it is very vague. It only shows you the piece ID, where that piece moved to, if it captured, a letter and/or number for disambiguation, and promotion choices, if any (and possibly if en passant capture was used). Basically, it shows you the minimum amount of information that required. However, this also makes parsing the moves very complicated (but not impossible). Game Courier has to deal with this same problem at an even larger scale, as some presets use different coordinate systems compared to SAN (i.e. Shogi and its variants). This is why Game Courier uses the notation it does. The notation my functions use an even simpler notation, with each move being a list of coordinates (and sometimes piece IDs) separated by hyphens, a character unlikely to be used in an actual piece ID. This allows the moves to be parsed quite easily using the following process:

  • Split move string into components and pass to an array, with a space as the delimiter.
  • For each move in the array, split into its components and pass to another array, with a hyphen as the delimiter.
    • Process the move based on the length of the array. Unless stated otherwise, all elements must be coordinates. Piece IDs are uppercase for White and lowercase for Black, and setting the shogiMode flag reverses this.
      • If length 2, single move or drop. First element may be a piece ID or a coordinate.
      • If length 3, single move with promotion or double move. Last element may be a piece ID or a coordinate.
      • If length 4 or more, multiple move with or without promotion. Last element may be a piece ID or a coordinate.
    • If an error occurs, exit loop without moving anything for this move and print an error message (moves successfully parsed before the error are still executed). Otherwise, make the move accordingly

As for FEN code, I am not sure how else to print the current position to and load positions from strings. It seemed like the best system to use for this when I made the functions, since none of my games involved random shuffling of the initial position.


Jocly. An html-based web platform for playing 2-player abstract stategy games.[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Wed, Feb 10, 2021 04:36 PM EST:

They actually managed to get the site back up. I though Jocly was permanently down.


MSchushin-shogi[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Sun, Feb 14, 2021 03:52 PM EST in reply to Eric Silverman from Thu Feb 11 11:06 AM:

This page is now finished and waiting to be approved.

Game Courier presets for my larger games are theoretically possible. I have the tools necessary, and creating the PHP file shouldn't be that hard, but I am unsure how I would get that to work. The sets that Game Courier currently has either don't have enough pieces, have pieces which don't accurately represent the pieces in my large shogi variants, or have pieces whose names are too complicated for me to effectively implement them into Game Courier.

That's not to say I don't want to make presets for these games. If I could create the proper PHP files for the pieces and get them added to Game Courier, that would allow me to create presets for these games with proper representation of the pieces, which would be great. If you are an editor, perhaps you could help me with that when I finish the PHP files?

As for Hanten Shogi and Gyaku-sama Shogi, I am in the process of reviving them.


Five-Minute Poppy Shogi. Small shogi variant on a 4 by 5 board. (4x5, Cells: 20) [All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Fri, Mar 12, 2021 10:26 PM EST:

I assume all piece moves are the same as in standard Shogi?


MShanten-shogi[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Mon, Apr 5, 2021 10:12 AM EDT in reply to Eric Silverman from Wed Mar 10 09:34 PM EST:

I will have the blue coloration come back sometime, although I will probably reverse the colors to save me time if I need to update any graphics.

Kyoto Shogi style switchbacks could be interesting. But there is a problem: the instant a Pawn or Drunk Elephant moves, it would be forced to promote, which boosts defense early on and makes the game less interesting in my opinion. Of course, this can be easily solved by including exceptions to this rule for those pieces, and providing some sort of visual cue to match. But to me, the condition that promotion/demotion only happens on captures makes more sense, as you would need less visual cues for it.

You can find the preset for Hanten shogi in the Computer Play section of the notes.


A. M. DeWitt wrote on Mon, Apr 5, 2021 11:07 AM EDT:

I have now added blue versions for the Prince and Tokin. For their Mnemonic versions, the inside of the cross/dot is hollow.


Interactive diagrams. (Updated!) Diagrams that interactively show piece moves.[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Mon, Apr 5, 2021 11:46 AM EDT:

I've been working on a side project of mine called the Universal Chessboard, a stand-alone application designed to support as many chess variants as possible, within certain parameters. It is somewhat similar to and inspired by these interactive diagrams - for example it uses the same general format for its presets as the format that is used to parse these diagrams (albeit with some parameters added/missing/different). Although it is still very much in its infancy (as it is currently at version Alpha 0.0), it already has many basic features implemented. You can move pieces with the mouse or with text, navigate through the game, undo moves. reset the board, load board positions, load game presets, etc.

You can check out the application in its current state as an Eclipse IDE project or a runnable .jar file here: https://github.com/amdewitt/Universal-Chessboard.


A. M. DeWitt wrote on Sat, Apr 10, 2021 10:49 AM EDT in reply to Greg Strong from Tue Apr 6 10:28 AM:

It shouldn't be too hard to implement the majority of the features. The main problem I am currently facing is how to implement the display of legal moves from XBetza notation, which becomes quite complicated, especially when you take into account the way multi-moves work. Once the display of legal moves is fully implemented, the Universal Chessboard will enter its Beta stage.


About Game Courier. Web-based system for playing many different variants by email or in real-time.[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Sat, May 1, 2021 06:04 PM EDT:

I have a new piece set file for my large shogi variants that I want to test out in Game Courier. Who should I contact to get it uploaded to the site and linked to the list of piece sets?

 


A. M. DeWitt wrote on Sun, May 2, 2021 11:23 AM EDT:

I am inclined to agree. Also, I would like to know how to group sets together. If my set file for my large is correct, I will have two more uploaded. All three of these sets would, logically, be in a group called Taishin Shogi Pieces, with the set names being Taishin Shogi - Mnemonic Pieces, Taishin Shogi - Shogi Pieces, and Taishin Shogi - Abb. Shogi Pieces.


Play-test applet for chess variants. Applet you can play your own variant against.[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Tue, May 4, 2021 09:32 PM EDT in reply to H. G. Muller from Tue Feb 16 12:43 PM EST:

Are you using the aliases as the piece IDs instead of the original piece IDs specified by the set file being used? If so, that will not work. You need to use the piece IDs originally specified by the set file, as the alias command only makes a visual change to the piece ID (it does not change the internal ID used in the code).


Game Courier. PHP script for playing Chess variants online.[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Wed, May 5, 2021 03:16 PM EDT:

I would like to request that the presets default2 and promotest for Suzumu Shogi be deleted, as they are excess presets and no known games for Suzumu Shogi have been found. (promotest was made to try and work around an internal bug in Game Courier, and default2 was made when I thought I would need to update the default preset for the game, only to find that it was safe to change the original).


About Game Courier. Web-based system for playing many different variants by email or in real-time.[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Fri, May 7, 2021 01:39 PM EDT in reply to Greg Strong from Tue May 4 09:18 PM:

@Greg Strong and Ben Reiniger - Since you two seem to be the one that I should contact for uploading set files, should I send my set file to one of you via email? Also, would having a plus sign (+) in a piece label cause any problems for Game Courier? It seems to work fine when I use code in the presets to change the labels, but I want to make sure the same is true when there is a plus sign in the label coming from the set file, as all the promoted piece labels have plus signs in them.

I will only be sending the first one for now, as I want to make sure it works as intended before uploading the other two.


A. M. DeWitt wrote on Fri, May 7, 2021 06:17 PM EDT in reply to Greg Strong from 02:33 PM:

I have just sent the set file to you via email. If the plus signs cause problens, let me know.

Also, I took a quick look at the Alfaerie: Many piece set, and the plus sign did not appear to be used in any of the piece labels, though this of course means little, as plus signs can be used in piece IDs by replacing the labels without the alias command.


Variants playable against the diagram's AI. (Updated!) Index of variants that can be played against the interactive diagram.[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Fri, May 7, 2021 07:54 PM EDT:

This is a very nice index you have so far. However, I noticed that Ryugi was missing. While it is admittedly not my favourite game, it is just as simple for AI to play as Yangsi, if not simpler. If you can add Ryugi to the list that would be great.

Also, my larger Shogi variants have diagrams that an AI can play as well, though not including these is sort of understandable, as the AI would of course take a very long time to make a move. I actually had the AI play a game of Taishin Shogi (my largest game) for the first 60 or so moves, and in the worst case it took upwards of 9 hours for the AI to make a move due to the sheer size and complexity of the game, which only increased as more moves were made, although this would theoretically lessen as the board thins.

 


25 comments displayed

EarliestEarlier Reverse Order LaterLatest

Permalink to the exact comments currently displayed.