Link with other

Information sur les mises à jour, les améliorations demandées, en développement.

Plug-in, code and co

Link with other

Messagede wouf le Mer 6 Mai 2009 11:37

En étude : une liaison avec le très bon : http://chesstweets.com (twitter est au centre de ce travail)

In study: a link with the very good: http://chesstweets.com (twitter is central to this work)
“J’ai toujours senti une vague pitié pour l’homme qui ne connaît rien aux échecs, tout comme j’en aurais pour un homme ignorant de l’amour. Les Echecs, comme la musique ou comme l’amour, ont le pouvoir de rendre heureux.” DrTarrasch

Image
Avatar de l’utilisateur
wouf
Administrateur du site
 
Messages: 514
Inscription: Mar 28 Oct 2008 12:36

Re: Link with other : ChessTweets

Messagede wouf le Ven 8 Mai 2009 11:23

I want to send you positions like this :
Code: Tout sélectionner
http://chesstweets.com?chessdiag=RNBQKBNRPPPPPPPPsssssssssssssssssssssssssssssssspppppppprnbqkbnr

http://chesstweets.com?chessdiag=RNBQKB ... pprnbqkbnr

is-it possible for you ? tell me when ?

and you can send back position like this :
Code: Tout sélectionner
http://chessdiag.org/index.php?c=RNBQKBNRPPPPPPPPsssssssssssssssssssspsssssssssssppppsppprnbqkbnr

http://chessdiag.org/index.php?c=RNBQKB ... pprnbqkbnr
“J’ai toujours senti une vague pitié pour l’homme qui ne connaît rien aux échecs, tout comme j’en aurais pour un homme ignorant de l’amour. Les Echecs, comme la musique ou comme l’amour, ont le pouvoir de rendre heureux.” DrTarrasch

Image
Avatar de l’utilisateur
wouf
Administrateur du site
 
Messages: 514
Inscription: Mar 28 Oct 2008 12:36

Re: Link with other: ChessTweets

Messagede o0lit3 le Ven 8 Mai 2009 17:30

I can send positions when a move is made like:
Code: Tout sélectionner
http://chessdiag.org/index.php?c=RNBQKBNRPPPPPPPPsssssssssssssssssssspsssssssssssppppsppprnbqkbnr


...but I would prefer to receive moves instead of positions:
Code: Tout sélectionner
http://chesstweets.com/move?chessdiag=Ne4


What I was asking earlier: Is it strange or inconvenient on Twitter @ChessTweets to specify all moves in English?:
Code: Tout sélectionner
K = king, Q = queen, R = rook, B = bishop, N = knight


...rather than en français?:
Code: Tout sélectionner
R = roi, D = dame, T = tour, F = fou, C = cavalier
o0lit3
 
Messages: 43
Inscription: Mer 6 Mai 2009 16:33

Re: Link with other

Messagede o0lit3 le Ven 8 Mai 2009 17:34

Also, have you thought about using Fen notation for your board positions?

Code: Tout sélectionner
index.php?c=2k4r/ppp1bppp/2b5/3rP3/1P1p4/P4P2/2PK2PP/RNB4R


Lower-case r, n, b, q, k, p for Black, and Upper-case R, N, B, Q, K, P for White
o0lit3
 
Messages: 43
Inscription: Mer 6 Mai 2009 16:33

Re: Link with other

Messagede wouf le Ven 8 Mai 2009 23:22

1/ For the moment i don't take care of the game on PGN (it is a project) but only the board position.
2/ I'm working on a script to use FEN.


If chessdiag send a move to chesstweets, it is the first move of a game... But people come on chessdiag to make a board posisition, for a problem for instance... It woud be pleasant if they can begin a "game" on chesstweets with this board position...



Last thing :
What I was asking earlier: Is it strange or inconvenient on Twitter @ChessTweets to specify all moves in English?:


I'm using English notation too, but on chessdiag it's not realy important, the picture is.

It's midnight here, have a good day :)
“J’ai toujours senti une vague pitié pour l’homme qui ne connaît rien aux échecs, tout comme j’en aurais pour un homme ignorant de l’amour. Les Echecs, comme la musique ou comme l’amour, ont le pouvoir de rendre heureux.” DrTarrasch

Image
Avatar de l’utilisateur
wouf
Administrateur du site
 
Messages: 514
Inscription: Mar 28 Oct 2008 12:36

Re: Link with other

Messagede o0lit3 le Sam 9 Mai 2009 01:07

wouf a écrit:... But people come on chessdiag to make a board posisition, for a problem for instance... It woud be pleasant if they can begin a "game" on chesstweets with this board position...


I like this idea a lot.

In this situation, would you want the community to answer what is the best move from the given position? Would the "game" continue past the next move, and if so, who would send the future moves? Would they come in from chessdiag:
Code: Tout sélectionner
http://chesstweets.com?board=new_postition


wouf a écrit:It's midnight here, have a good day :)


Yes, we are on very different world schedules!
o0lit3
 
Messages: 43
Inscription: Mer 6 Mai 2009 16:33

Re: Link with other

Messagede wouf le Sam 9 Mai 2009 08:05

yes! i love that:

Code: Tout sélectionner
http://chesstweets.com?board=new_postition


and people could do everything by chesstweets :
  • twitt the board to community,
  • play a move and twitt the move

I'll work on FEN or you can accept my own system ?

we play here ? http://chessdiag.org/chessdiag-forum/wouf-o0lit3-mai-2009-t68.html
“J’ai toujours senti une vague pitié pour l’homme qui ne connaît rien aux échecs, tout comme j’en aurais pour un homme ignorant de l’amour. Les Echecs, comme la musique ou comme l’amour, ont le pouvoir de rendre heureux.” DrTarrasch

Image
Avatar de l’utilisateur
wouf
Administrateur du site
 
Messages: 514
Inscription: Mar 28 Oct 2008 12:36

Re: Link with other

Messagede o0lit3 le Dim 10 Mai 2009 17:03

wouf a écrit:yes! i love that:
Code: Tout sélectionner
http://chesstweets.com?board=new_postition


I only allow one submission per user for the public game, so the format may need to be:

Code: Tout sélectionner
http://chesstweets.com?user=chessdiag_username&board=new_postition or
http://chesstweets.com?user=twitter_username&board=new_postition


...and since I am working in MVC famework (http://en.wikipedia.org/wiki/Model-view-controller), I would prefer:

Code: Tout sélectionner
http://chesstweets.com/move/user:chessdiag_username/board:new_position




I attempted a move, but I do not understand the readme. Only white is supposed to place the chess diag?
o0lit3
 
Messages: 43
Inscription: Mer 6 Mai 2009 16:33

Re: Link with other

Messagede wouf le Dim 10 Mai 2009 21:09

On chessdiag, players are not logged (correct ?) to edit a board.

so something like :
Code: Tout sélectionner
http://chesstweets.com/from_chessiag:new_position


and people have to log here.


I attempted a move, but I do not understand the readme. Only white is supposed to place the chess diag?


My readme in english is so bad ?
Blacks and Whites both use the diag editor but only Whites have to write algebric notation move.

To put the diagram just copy the code for forum (3)

Image
“J’ai toujours senti une vague pitié pour l’homme qui ne connaît rien aux échecs, tout comme j’en aurais pour un homme ignorant de l’amour. Les Echecs, comme la musique ou comme l’amour, ont le pouvoir de rendre heureux.” DrTarrasch

Image
Avatar de l’utilisateur
wouf
Administrateur du site
 
Messages: 514
Inscription: Mar 28 Oct 2008 12:36

Re: Link with other

Messagede o0lit3 le Lun 11 Mai 2009 02:34

wouf a écrit:On chessdiag, players are not logged (correct ?) to edit a board.

We may be thinking of different types of cooperation. I picture these two types of processes:
  • Move is made to public game on chesstweets
  • New board is sent from chesstweets to chessdiag to be displayed on the forums
  • Chessdiag players use chessdiag to create a move
  • New board state is sent from chessdiag to chesstweets as a public "vote" for the next move
  • repeat

...and for private games.
  • Chessdiag player uses chessdiag to create a move in an existing game (or to start a new game)
  • New board state is sent from chessdiag to chesstweets
  • Opponent makes move on chesstweets.
  • New board state is sent from chesstweets to chessdiag to be displayed on forums
  • repeat

wouf a écrit:To put the diagram just copy the code for forum (3)

I understand now. I believed [diag] tags to work here also.
o0lit3
 
Messages: 43
Inscription: Mer 6 Mai 2009 16:33

Suivante

Retourner vers Développement

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités

cron
Un site de Wouf