| View previous topic :: View next topic |
| Author |
Message |
jeep
Daedalian Member
|
Posted: Sun Nov 28, 2004 11:35 pm Post subject: 1 |
|
|
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
- How do you promote in the GL ToFrom format? I just implemented =<piece> (a7a8=Q, to promote to queen...)
- 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...)
- Syntax to remove a piece? I'd probably do <-><square>
- 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 |
|
 |
mathgrant
A very tilted cell member
|
Posted: Mon Nov 29, 2004 1:04 am Post subject: 2 |
|
|
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.
*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 |
|
 |
mith
Pitbull of Truth
|
Posted: Mon Nov 29, 2004 2:58 pm Post subject: 3 |
|
|
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 |
|
 |
jeep
Daedalian Member
|
Posted: Tue Nov 30, 2004 1:00 pm Post subject: 4 |
|
|
When you can see the board, you'll know Chess tags work.  |
|
| Back to top |
|
 |
Lucky Wizard
Daedalian Member
|
Posted: Wed Dec 01, 2004 8:01 am Post subject: 5 |
|
|
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 |
|
 |
jeep
Daedalian Member
|
Posted: Wed Dec 01, 2004 10:02 am Post subject: 6 |
|
|
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 |
|
 |
jeep
Daedalian Member
|
Posted: Wed Dec 01, 2004 10:57 am Post subject: 7 |
|
|
It's not perfect, but it's a start... Check out the news forum for more details.
-JEEP |
|
| Back to top |
|
 |
CrystyB
Misunderstood Guy
|
|
| Back to top |
|
 |
jeep
Daedalian Member
|
Posted: Wed Feb 22, 2006 6:47 pm Post subject: 9 |
|
|
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 |
|
 |
jeep
Daedalian Member
|
Posted: Thu Feb 23, 2006 7:24 am Post subject: 10 |
|
|
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 |
|
 |
CrystyB
Misunderstood Guy
|
|
| Back to top |
|
 |
jeep
Daedalian Member
|
Posted: Sun Feb 26, 2006 8:01 pm Post subject: 12 |
|
|
Yeah, that was me being dumb.
-JEEP |
|
| Back to top |
|
 |
|