December 01, 2008, 10:06:50 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Look into the LINK section. Please add your favorite backgammon links.
 
  Home   Forum   Chat links PLAY NOW! Help Search Calendar Members Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: The Crawford Game  (Read 1693 times)
0 Members and 1 Guest are viewing this topic.
amarganth
Beginner
**
Offline Offline

Posts: 86



WWW
« on: April 30, 2004, 02:34:26 PM »

I like JavaFIBS very much.  Yes

During a match, I miss to see, if it's the crawford game. While playing, I have it in mind, but after a resume or by watching other players, I can't see it.  Sad

Will it be possible, to plan this feature in a future release of JavaFIBS?

Thanks in advance.

 
Logged

To be is to do
          Sokrates
To do is to be
          Sartre
Do be do be do
          Sinatra
FIBS Board backgammon forum
« on: April 30, 2004, 02:34:26 PM »



 Logged
cthulhu
Moderator
Beginner
*
Offline Offline

Posts: 99


« Reply #1 on: April 30, 2004, 03:48:02 PM »

I don't think if it's even possible to tell if the match is a crawford when you watch or resume because FIBS doesn't give you that information. I can be wrong of course.
Logged
amarganth
Beginner
**
Offline Offline

Posts: 86



WWW
« Reply #2 on: April 30, 2004, 03:59:46 PM »

I think, it's in the board-record of FIBS, but I'm not shure. I'll check that.  Cheesy  
Logged

To be is to do
          Sokrates
To do is to be
          Sartre
Do be do be do
          Sinatra
amarganth
Beginner
**
Offline Offline

Posts: 86



WWW
« Reply #3 on: April 30, 2004, 05:20:57 PM »

That's, what I've found out:

First, both of the players must accept the Crawford-Rule. This is done by the toggle command:
Quote
NAME
  toggle-crawford
VALUES
  YES: You insist on using the Crawford rule.
  NO:  You would like to play without it if your opponent agrees.
DEFAULT
  YES
SEE ALSO
  crawford
Second, the rawboard-command:
Quote
NAME
  rawboard - how to interpret the raw board output
DESCRIPTION
  If the rawboard toggle is set to yes you won't see the text representation
  of the board but a number of tokens separated by colons. The tokens sent
  by the server and their meaning are (the first token is always the
  word 'board'):  (tokens marked with + are new)
+ name         - the player's name
  name         - the opponent's name
  match length - match length or 9999 for unlimited matches
  player got   - player's points in the match so far
  opponent got - opponent's points in the match so far
  board        - 26 numbers giving the board. Positions 0 and 25 represent
                 the bars for the players (see below). Positive numbers
                 represent O's pieces negative numbers represent X's pieces
  turn         - -1 if it's X's turn, +1 if it's O's turn
                 0 if the game is over
  dice         - 2 numbers giving the player's dice. If it's the players
                 turn and she or he hasn't rolled, yet both numbers are 0
+ dice         - the opponent's dice (2 numbers)
  cube         - the number on the doubling cube
  may double   - 1 if player is allowed to double, 0 otherwise
+ may double   - the same for the opponent
  was doubled  - 1 if your opponent has just doubled, 0 otherwise
  color        - -1 if you are X, +1 if you are O
  direction    - -1 if you play from position 24 to position 1
                 +1 if you play from position 1 to position 24
  home         - 0 or 25 depending on direction (obsolete but included anyway)
  bar          - 25 or 0 (see home)
  on home      - number of pieces already removed from the board by player
+ on home      - same for opponent
  on bar       - number of player's pieces on the bar
+ on bar       - same for opponent
                 can move. This token is valid if it's your turn and you
                 have already rolled.
  did crawford - don't use this token
+ redoubles    - maximum number of instant redoubles in unlimited matches
SEE ALSO
  board, boardstyle
Hmm. Why that "did crawford - don't use this token"?

With this information, I think, you can see, if it's the Crawford game:
  • if both players have toggle crawford yes
  • if one of the players have a matchscore of (matchlen-1)
  • if both players cannot double (rawbord maydouble = 0)
  • if the cube value is 1
Is that the solution?

Greetings
amarganth
« Last Edit: April 30, 2004, 05:22:38 PM by amarganth » Logged

To be is to do
          Sokrates
To do is to be
          Sartre
Do be do be do
          Sinatra
cthulhu
Moderator
Beginner
*
Offline Offline

Posts: 99


« Reply #4 on: April 30, 2004, 08:31:33 PM »

Quote
With this information, I think, you can see, if it's the Crawford game:

    * if both players have toggle crawford yes
    * if one of the players have a matchscore of (matchlen-1)
    * if both players cannot double (rawbord maydouble = 0)
    * if the cube value is 1

I cannot tell if the opponent has toggled crawford with the toggle command. It only tells if you have. And I also know that the leading person is able to double during a crawford game on FIBS, so that information is unfortunately not enough. Atm I don't even know if the rawboard sets the maydouble flag to 0 during a crawford game either.
 
Logged
purol
Beginner
**
Offline Offline

Posts: 10


WWW
« Reply #5 on: May 01, 2004, 04:59:10 PM »

Hi Amarganth,


if that's an authentic Rietveld chair in your avatar,
it is worth A LOT of money ;-)


  -- purol
Logged
amarganth
Beginner
**
Offline Offline

Posts: 86



WWW
« Reply #6 on: May 02, 2004, 08:11:48 AM »

I've made two of them by hand, purol.  
They're nicer than the originals!
Wink

Talk to me at FIBS or by E-Mail, if you like to know more.
« Last Edit: May 02, 2004, 08:13:34 AM by amarganth » Logged

To be is to do
          Sokrates
To do is to be
          Sartre
Do be do be do
          Sinatra
Chris
Beginner
**
Offline Offline

Gender: Male
Posts: 35


« Reply #7 on: January 20, 2005, 10:48:09 PM »

Quote
Hmm. Why that "did crawford - don't use this token"?

I don't know why one shouldn't use this token ...
I have noticed that this token equals "1" in every postcrawford game and equals "0" in the whole rest, that means in precrawford games and in the crawford game itself.

Regards, Chris
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  



Loans - Loans - Mobile Phones - Internet Marketing
Terms & Conditions | Privacy policy
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!