The Grey Labyrinth is a collection of puzzles, riddles, mind games, paradoxes and other intellectually challenging diversions. Related topics: puzzle games, logic puzzles, lateral thinking puzzles, philosophy, mind benders, brain teasers, word problems, conundrums, 3d puzzles, spatial reasoning, intelligence tests, mathematical diversions, paradoxes, physics problems, reasoning, math, science.

   
The Grey Labyrinth Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    RegisterRegister  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Chess Tags

 
Reply to topic    The Grey Labyrinth Forum Index -> Feature Requests / Site Problems
View previous topic :: View next topic  
Author Message
jeep
Daedalian Member



PostPosted: Sun Nov 28, 2004 11:35 pm    Post subject: 1 Reply with quote

Hello,

I'm almost done with Chess Tags. However I have some questions on the format. I currently allow SAN and the old style GL ToFrom format.

Questions
  1. How do you promote in the GL ToFrom format? I just implemented =<piece> (a7a8=Q, to promote to queen...)
  2. What is the syntax to simply add a piece in the old GL tags? I would use <piece><*|'><square>, but that is just because I play Shogi. (ex. Q*a2 to place a Q on a2...)
  3. Syntax to remove a piece? I'd probably do <-><square>
  4. On the GL, we had a user "Chess" that people would use, but it's not as easy to switch user on this forum. Any ideas on the logistics to use these tags?

ToDo:
  • Flag to start with empty board
  • Flag to enforce rules or not (currently movement rules are enforced)
  • Piece drops/removals
  • Starting FEN
  • Add Player Names


Last edited by jeep on Thu Dec 02, 2004 10:40 am; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mathgrant
A very tilted cell member



PostPosted: Mon Nov 29, 2004 1:04 am    Post subject: 2 Reply with quote

The syntax for add-a-piece was WP@a2. This syntax was usually used for promotions, as well: a7a8 WQ@a8.

It's surprising that I would remember this, considering that I hate chess. Felicitous

*edit* I forgot that the pieces have COLOURS!
_________________
My logic puzzle blog


Last edited by mathgrant on Mon Nov 29, 2004 4:29 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mith
Pitbull of Truth



PostPosted: Mon Nov 29, 2004 2:58 pm    Post subject: 3 Reply with quote

1. I don't ever remembering promoting in any of my games. My natural tendency would be =Q though.
2/3. That's fine with me.
4. Well, I think there should be something added to replying/editing anyway where you can put in username/password and post under a different name. That would solve this problem, but I don't know how hard it would be to do. The other obvious way would be to add a field telling who else can edit your post.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jeep
Daedalian Member



PostPosted: Tue Nov 30, 2004 1:00 pm    Post subject: 4 Reply with quote


8lrbdnblbbdqblkbdbblnbdrb
7dpblpbdpblpbdpblpbdpblpb
6leedeeleedeeleedeeleedee
5deeleedeeleedeeleedeelee
4leedeeleedpwleedeeleedee
3deeleedeeleedeeleedeelee
2lpwdpwlpwdeelpwdpwlpwdpw
1drwlnwdbwlqwdkwlbwdnwlrw


1. Pd4


9
8
7
6
5
4
3
2
1
0abcdefghj


When you can see the board, you'll know Chess tags work. Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Lucky Wizard
Daedalian Member



PostPosted: Wed Dec 01, 2004 8:01 am    Post subject: 5 Reply with quote

What are SAN and FEN?

Oh, and this is one reason why I, like mith, have suggested putting a username/password field on the "edit" and "reply" screens so people can change their login there.
Back to top
View user's profile Send private message
jeep
Daedalian Member



PostPosted: Wed Dec 01, 2004 10:02 am    Post subject: 6 Reply with quote

SAN: Short Algebraic Notation is a method of recording a game.
FEN: Forsyth-Edwards Notation is a method for recording a game state. (doesn't include moves, just the position of the board, if castling is allowed on each side, if there is an en passant square, etc.)

-JEEP
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jeep
Daedalian Member



PostPosted: Wed Dec 01, 2004 10:57 am    Post subject: 7 Reply with quote

It's not perfect, but it's a start... Check out the news forum for more details.

-JEEP
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CrystyB
Misunderstood Guy



PostPosted: Fri Feb 17, 2006 8:58 pm    Post subject: 8 Reply with quote

Could anyone help me? How can i set up a chessvariant initial board? I know how jeep said i should, but i am unable to make it happen. Melancholy

Resources:
http://www.greylabyrinth.com/discussion/viewtopic.php?p=273339#273339
http://www.mafiascum.net/cgi-bin/wiki.pl?GameTags

Note: The following code (<chessvariant><FEN ".../.-./..."></chessvariant>) produces "Warning: Empty regular expression in /usr/www/users/wx3qs/greylab/discussion/includes/gamemods.php on line 1935"... Melancholy
abc
3emptyemptyempty3
2emptyemptyempty2
1emptyemptyempty1
abc
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
jeep
Daedalian Member



PostPosted: Wed Feb 22, 2006 6:47 pm    Post subject: 9 Reply with quote

The reg_exp issue was a bug. I was fixing something and wound up screwing it up. I'll fix it now.

As to the variant, I'll look at it in a minute.

-JEEP
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jeep
Daedalian Member



PostPosted: Thu Feb 23, 2006 7:24 am    Post subject: 10 Reply with quote

Wow, so regular expressions suddnely turned on their ear! There was one bug that I injected (deleted an "s"). But somehow the escaping of quotes is not working in php...

SO... for now, the FEN tag must not have the quotes.

-JEEP
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CrystyB
Misunderstood Guy



PostPosted: Thu Feb 23, 2006 12:16 pm    Post subject: 11 Reply with quote

loi @ escaping quotes...

LOL... you somehow managed to make CR+LF turn into white kings! Q.v. http://www.greylabyrinth.com/discussion/viewtopic.php?t=9203 If you know what caused that, i'd like to request that the code ignore them. Wink
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
jeep
Daedalian Member



PostPosted: Sun Feb 26, 2006 8:01 pm    Post subject: 12 Reply with quote

Yeah, that was me being dumb.

-JEEP
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous: by   
Reply to topic    The Grey Labyrinth Forum Index -> Feature Requests / Site Problems All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Site Design by Wx3