Yes. You are able to use the
quick_status and
quick_play suite to:
- connect your user (or set the cookies)
- use quick_status to retrieve your waiting games
- use SGF to download them
- use quick_play to do your moves.
- disconnect
Usage:
quick_play.php?gid=$gid&color=$color&board_prev=$prev&board_move=$move&message=$text
or:
quick_play.php?gid=$gid&color=$color&sgf_prev=$prev&sgf_move=$move&message=$text
The arguments for the usage of
quick_play are described by:
- $gid: game ID
- $color: color to play (W or B). This is your color. The same as returned by quick_status.
- $sgf_prev: the previous move coords. The one marked with a circle with normal Dragon interface.
- $sgf_move: the move coords you want to play.
- $sgf_prev and $sgf_move could be either "sgf" coordinates or "board" coordinates (independently).
For instance, with a 19x19 board, the upper left intersection is 'aa' in sgf coordinates and the lower right is 'ss'. In board coordinates, these 2 points are 'a19' and 't1' (take care about the skipped 'i'). Lowercase is needed.
- $message is an optional field containing a move message. Take note, that for long texts you should consider using a HTTP-POST instead of a HTTP-GET to transfer your data.
Clocks, prisoners and ko are handled by the code in the normal way.
So, you can only use
quick_play to answer a move WITH coords by a move WITH coords. This excludes all particular steps of the game like placing handicap stones, passing, resigning and scoring (and messages, check them with the
sgf.php?gid=$gid&owned_comments=1&quick_mode=1 ). Use the conventionnal manual Dragon interface to resolve these steps.
A full session of "quick" features is, for instance:
login.php?quick_mode=1&userid=$nam&passwd=$pwd
quick_status.php
sgf.php?gid=$gid&owned_comments=1&quick_mode=1
quick_play.php?gid=$gid&color=$color&sgf_prev=$prev&board_move=$move
Standalone
quick_status.php:
A "not-logged-in" feature had been added. You may obtain the list of games of any user by specifying the players ID (
?uid=... ) or his nick name (
?user=... ).
For instance:
quick_status.php?user=guest
Important note:Be aware that with this "not-logged-in" features, all times are GMT because DGS can't know YOUR timezone. In fact, this assumes that you are logged in as guest.