Check out Alice Chess, our featured variant for June, 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 j_carrillo_vii

EarliestEarlier Reverse Order LaterLatest
Game Courier Logs. View the logs of games played on Game Courier.[All Comments] [Add Comment or Rating]
Jose Carrillo wrote on Tue, Jul 26, 2016 03:44 PM UTC:

Fergus, the other emails for regular moves (after the game has already started) look fine.

Right now the issue is only with the first email to confirm that the challenge has been acepted and that the game has started.


Jose Carrillo wrote on Fri, Jul 29, 2016 11:21 PM UTC:

No Fergus.

It didn't make a difference.

I got three emails for acepted invitations for the 3 games below, and for all of them had no body in the email, just an attachment called ATT001.

http://play.chessvariants.com/pbm/play.php?game=Ajax+Orthodox+Chess&log=j_carrillo_vii-tamandua-2016-207-067
 
http://play.chessvariants.com/pbm/play.php?game=Janggi&log=j_carrillo_vii-cvgameroom-2016-199-446

http://play.chessvariants.com/pbm/play.php?game=Chaturanga+-+Davidson+Variation&log=j_carrillo_vii-makov333-2016-206-997

= = =

on a 2nd note... I got again the error below for the last of the three games above (the one against makov).

lastmovenum = 0; movenum =

WARNING: As a safety precaution, you cannot move and take back a move at the same time.

If you mean to take back a move, do that before you move. This will let you see the board accurately when you do move.

If you did not mean to take back a move, set the drop-down box with the history of your moves to the last move made.

=

This is a new preset I created for Chaturanga - Davidson Variation, which enforces the rules.

Have I done something wrong in the preset instructions to cause this error?

I tested the preset extensively (PLAY mode), and I never got this error.

I checked the last time I got this error (on July 21st, Carlos Cetina had reported it too), and that time the values of the variables was different:

lastmovenum = ; movenum = 0


Jose Carrillo wrote on Sat, Jul 30, 2016 02:18 AM UTC:

Thanks Fergus,

Yes, the original error seems to be gone.

But now when I try the move, the board background changes from the original (astapada-marble2.jpg), and the astapada-marble2.jpg is not among the available options on the move Preview screen.

If I move, by default the board will change to: chess-greenbeige.png


Jose Carrillo wrote on Sat, Jul 30, 2016 03:31 PM UTC:

Excellent!!! Thanks Fergus.

Problems solved. Thanks for the "remind" hint.

I'll learn to live with the email issue. It only happens for the accepting of an invitation anyway.

Cheers, Jose

 


Korean Chess. Play Korea's regional Chess variant on Game Courier.[All Comments] [Add Comment or Rating]
Jose Carrillo wrote on Sun, Jul 31, 2016 01:59 PM UTC:

I just benefited from what I believe is a bug in the implementation of the Game Courier preset for Janggi, as Game Courier gave me a win in a position which I believe is not checkmate.

http://play.chessvariants.com/pbm/play.php?game=Janggi&log=vik-cvgameroom-2016-211-785

Game Courier credited me with a checkmate, however Red still had the Cannon move b8-d8 which would have blocked the check. Can the owner of the preset review the rules and correct this situation? Thanks.

Jose Carrillo wrote on Sun, Jul 31, 2016 05:04 PM UTC:Excellent ★★★★★

Thanks Fergus.


Latrunculi XXI. A 21st century variant on an ancient Chess-like game of the Roman empire. (10x8, Cells: 80) [All Comments] [Add Comment or Rating]
💡📝Jose Carrillo wrote on Sun, Jul 31, 2016 05:53 PM UTC:

Hello CVP Editors,

Can I please get one of you to review this variant? The page has been posted for over a month, and it hasn't been reviewed yet. Thanks in advance.


Hasami Shogi. Popular Japanese game, playable with Shogi set. (9x9, Cells: 81) [All Comments] [Add Comment or Rating]
Jose Carrillo wrote on Sun, Jul 31, 2016 06:33 PM UTC:

This game is similar to the classical Greek game Petteia or the Roman game Latrunculi (without Duxes).

Below is my new variation for the ancient games:

http://www.chessvariants.com/invention/latrunculi-petteia-xxi


New Latrunculi Variant[Subject Thread] [Add Response]
Jose Carrillo wrote on Mon, Aug 1, 2016 11:58 AM UTC:

Hello CVP Editors,

Can I please get one of you to review this variant?

http://www.chessvariants.com/invention/latrunculi-petteia-xxi

The page has been posted for over a month, and it hasn't been reviewed yet. Thanks in advance.


Game Courier Logs. View the logs of games played on Game Courier.[All Comments] [Add Comment or Rating]
Jose Carrillo wrote on Tue, Aug 2, 2016 12:48 AM UTC:

Hi Fergus,

I'm trying to review the following game with Erik: (which supposedly I just won)

http://play.chessvariants.com/pbm/play.php?game=Janggi&log=erik-cvgameroom-2016-157-768

but I get the error:

You may not move your General into check


10x10 Boards[Subject Thread] [Add Response]
Jose Carrillo wrote on Tue, Aug 2, 2016 01:02 AM UTC:

I sell 10x10 vinyl boards. If anyone is interested below is my website.

http://www.modern.chess.variants.tripod.com/international_chess_variants_board.html


Game Courier Logs. View the logs of games played on Game Courier.[All Comments] [Add Comment or Rating]
Jose Carrillo wrote on Tue, Aug 2, 2016 03:25 AM UTC:

Thanks Fergus.

= = =

On a different note, I'm trying to borrow the Bare King code from your Shatranj preset for my Chaturanga - Davidson Variation preset, and I think I found a copy and paste problem on the Shatranj preset.

In the very first first section of the Post-Game 2 (for the Black player), it says "Bare King! White Wins!"

if == 1 count onlyupper:
  set enemies onlylower;
  if > count #enemies 2:
    say Bare King! White Wins!;
    won;
  else:

It should say Black wins not white.


Jose Carrillo wrote on Tue, Aug 2, 2016 04:01 AM UTC:

Fergus,

On a secondary note, the Bare King code logic for two Bare Kings being a draw, doesn't seem to be working.

I tested it in your Shatranj preset and when the first king was bared, it gave the win to one side, and still allowed me to play and bare the other king, giving a win to the 2nd side.


Jose Carrillo wrote on Tue, Aug 2, 2016 05:46 PM UTC:

No Fergus, I tried it, and didn't work.

I just setup a random position where one King would bare the other, and the other lone King could bare the first on his next move. Based on a quick view of your new code in Shatranj, I expected it to end the game saying that: "Both Kings Bared on Next Move! Game Drawn!", but this didn't happen. The game carried on.

I used a different approach in my Chaturanga Davidson's Variation: (Below is the code for Post-Game 1, for white)

if == 1 count onlylower:
  set enemies onlyupper;
  if > count #enemies 2:
    say Bare King! White Wins!;
    won;
  elseif == count #enemies 1:
    say Both Kings Bared! Game Drawn!;
    drawn;
  endif;
endif;
if == 1 count onlyupper:
  set enemies onlylower;
  if >= count #enemies 2:
    say Bare King! Black Wins!;
    lost;
  endif;
endif;

I'm actually allowing the Lone King to play one more move. If he can bare the opponent's King, the game is a draw. If the lone King cannot bare the opponent on the next move, then he automatically losses the game.

 

 


Jose Carrillo wrote on Tue, Aug 2, 2016 06:14 PM UTC:

Fergus, here is the link:

http://play.chessvariants.com/pbm/play.php?game%3DShatranj%26settings%3DAlfaerie-CSS-test

I just tested it again, and it worked for when White bared Black without giving check: 1.Rxe4 draw.

But it didn't work when I tried a "check" scenario (which happened to be the one I first tried last time): 1.Kf3 Rxf4+ and the game continues.

Now I believe the issue is more related to the "check" than the Bare code.

 


Jose Carrillo wrote on Tue, Aug 2, 2016 06:41 PM UTC:

I see now how is it working.

If after the check: 1.Kf3 Rxf4+

white takes the checking piece: 2.Kxf4 the game is automatically a draw. (this makes sense)

But if white didn't take, say he played 2.Ke2 then Black wins after his next move 2... Kd4 0-1 (Bare King Rule)

The question now is, whether the game should have been an automatic draw right from the begining, after 1... Rxf4+, without white having to play (like it is the case now, when a player bares the other but without check).


Jose Carrillo wrote on Tue, Aug 2, 2016 07:52 PM UTC:

Thanks Fergus for updating the code, and for the hint on passing positions to existing presets.

You can delete the preset I created for Shatranj during this excersize.

Cheers!

 


Jose Carrillo wrote on Wed, Aug 3, 2016 01:06 PM UTC:

Hi Fergus,

In reviewing your solution for the Bare King rule problem, I see a variable called "status" which I can't find where in the Shatranj code is previous set. Is this a global variable? How does it work?

Thanks.

= = =

set checks sub checks #k;
if sub checkmated #k #checks and var checks:
  say Checkmate! White has won!;
  won;
elseif var checks:
  say Check!;
elseif sub stalemated #k:
  say Stalemate! White has won!;
  won;
endif;
if == 1 count onlylower and == status Ongoing:
  set mypieces onlyupper;
  switch count #mypieces:
    case 1:
      say Both Kings Bared! Game Drawn!;
      drawn;
      break;
    case 2:
      foreach (from piece) #mypieces:
        if == #piece K:
          continue;
        elseif not fn k #k #from or fn K #K #from:
          say Bare King!! White Wins!!;
          won;
          break;
        else:
          say Both Kings Bared on Next Move! Game Drawn!;
          drawn;
          break;
        endif;
      next;
      break;     
    default:
      say Bare King! White Wins!;
      won;
      break;
  endswitch;
endif;

 


Jose Carrillo wrote on Thu, Aug 4, 2016 02:21 AM UTC:

Thanks Fergus.

= = =

Another question... What triggers a preset to display the legal moves when one clicks on a piece?

I created two presets enforcing the rules of the game, and based on the Shatranj include file.

However onedisplays legal moves, and the other doesn't.

The Makruk one below, shows the legal moves:

http://play.chessvariants.com/pbm/play.php?game%3DMakruk+%28Thai+chess%29%26settings%3DAlfaerie2r

The Chaturanga - Davidson Variation doesn't display the legal moves (even though it's enforcing them right):

http://play.chessvariants.com/pbm/play.php?game%3DChaturanga+-+Davidson+Variation%26settings%3DAlfaerie

What is the trigger to display the legal moves?

Thanks.

 


Jose Carrillo wrote on Thu, Aug 4, 2016 03:14 AM UTC:

Thanks Fergus.

Now that makes sense (that my preset is not displaying legal moves), because that varitation (Charturanga - Davidson's Variation) doesn't have neither checkmate nor stalemate. A win is determined by capturing the enemy King.

I'll read the tutorial to see how to emulate that effect in my code. Thanks.


How to Display Legal Moves in Game Courier - A Tutorial. A Game Courier Tutorial.[All Comments] [Add Comment or Rating]
Jose Carrillo wrote on Fri, Aug 5, 2016 08:58 PM UTC:

Fergus,

This might be an unusual request, but is it possible to clear the moves previously set as legal?

I'm trying to leverage code you have already written in the chess include file to determine that a position is a stalemate, so that I can display a message that even though the position is a stalemate, the King still needs to move (as Kings are allowed to move into check in this variant).

The setlegal is useful to determine the stalemate, but complicates other situations for me, so I rather not see the legal moves when a player clicks on a piece on the board (but I still want to benefit from the setlegal moves functionality to determine stalemate (and checkmate) )

Is there an easy way to wipe out the legal moves array as a command to be used in the Pre-Move sections of a preset?

Thanks.


Game Courier Logs. View the logs of games played on Game Courier.[All Comments] [Add Comment or Rating]
Jose Carrillo wrote on Tue, Aug 9, 2016 03:03 PM UTC:

Fergus,

I'm playing the chess game below with Carlos Cetina, and I'm trying to do a long castle, but the preset is giving me this error:

You may not move a K from e1 to c1

http://play.chessvariants.com/pbm/play.php?game=Chess&log=sissa-cvgameroom-2016-216-017

Can you please review the logic? Thanks.


Latrunculi XXI. A 21st century variant on an ancient Chess-like game of the Roman empire. (10x8, Cells: 80) [All Comments] [Add Comment or Rating]
💡📝Jose Carrillo wrote on Sat, Aug 20, 2016 12:36 AM UTC:

Thanks for the feedback Fergus.

I have done some cleanup and reorganization as requested.

Let me know if further changes are required.

Thanks.

 


New Latrunculi Variant[Subject Thread] [Add Response]
Jose Carrillo wrote on Sat, Aug 20, 2016 01:02 AM UTC:

Fergus can you please review my Latrunculi page again?

I did updates to the page as per your recommendation.

http://www.chessvariants.com/invention/latrunculi-petteia-xxi

Thanks


Game Courier Logs. View the logs of games played on Game Courier.[All Comments] [Add Comment or Rating]
Jose Carrillo wrote on Sat, Aug 20, 2016 12:01 PM UTC:

Fergus,

Another captured pieces counting bug. In the game below, brown has two promoted kings, and the count between the captured pieces for brown and his pieces on the board add up to 18, which is two more pieces than when the game started. 

http://play.chessvariants.com/pbm/play.php?game=Gothic+Checkers&log=j_carrillo_vii-cvgameroom-2016-213-548


25 comments displayed

EarliestEarlier Reverse Order LaterLatest

Permalink to the exact comments currently displayed.