BBO Discussion Forums: 解读定约卡(*.bss) - BBO Discussion Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

解读定约卡(*.bss)

#1 User is offline   U19 

  • PipPipPipPip
  • Group: Full Members
  • Posts: 155
  • Joined: 2012-June-10
  • Gender:Male

Posted 2012-November-08, 22:11

*00{Test}=NYYYYYYdefend undoubled
001D=NNYNNNN024no agreement
001H=NNNYNNN108signoff
001S=NNNNNNY208non-forcing
001N=NYYYYYY3construtive
002C=NNYYNYY478invitational
002D=NNNNNYN548forcing
002H=NNNYNNN608forcing to game
002S=NYNNNNY705slam try
002N=NNYYNYN8control bid
003C=NYNNYYY978preemptive
003D=NYYNNNYA24transfer
003H=NYYNYNNB08puppet
003S=NYYYYYYC25relay
003N=NNYNYNYDasking bid
004C=NYYYYYNE38asking bid responce

上面是bss文件用文本打开的示范文本格式,
第一行,是define时填写的定义内容
后面开始的是每个定约叫品的内容,
一般是从“00”开始的,
每行开始的第一位数字表示的是:“开叫位置”
0:any
1:第一家开叫
2:第二家开叫
3:第三家开叫
4:第四家开叫
5:第一二家开叫
6:第三四家开叫

每行的开始的第二位数字表示的是:“局况”
0:any
1:none vul
2:only we vul
3:only they vul
4:both vul
5:we not vul
6:we vul
7:they not vul
8:they vul

第三位数字到“=”前面是叫牌进程,
其中包括对方的pass用“P”来显示,加倍是“D”,再加倍是“R”
在“=”后的第一位一般是“N”
如果是“Y”的是,显示的是:artificial,的选项是否打勾了
第二个字母开始的6个“N”或“Y”
有“Y”的,按顺序分别表示的是示选花色:
C-D-H-S-NT-Def
注:Def:defend undoubled:防守未加倍
“=”后的第8位字母是0~9,A,B,C,D,E
分别表示的叫品的状态:
0:no agreement
1:signoff
2:non-forcing
3:construtive
4:invitational
5:forcing
6:forcing to game
7:slam try
8:control bid
9:preemptive
A:transfer
B:puppet
C:relay
D:asking bid
E:asking bid responce
再后面的就是数字了,NT叫品后是没的
表示的是填写的花色的长度
第一位是起始长度,第二位是最长长度,
如果选8,那么就表示无上限,打开bss,显示的是:“+”
后面直接跟的是:写的文字说明

并且试过的方法是,直接在文本软件里改,
最后再存成*.bss的文件后,能正常打开
0

#2 User is offline   shingkit 

  • PipPipPipPip
  • Group: Full Members
  • Posts: 149
  • Joined: 2011-August-02
  • Gender:Male
  • Location:Beijing, China

Posted 2012-November-08, 23:00

楼主考虑过用某神人开发的BML来做约定卡吗?我觉得还挺方便的


0

#3 User is offline   U19 

  • PipPipPipPip
  • Group: Full Members
  • Posts: 155
  • Joined: 2012-June-10
  • Gender:Male

Posted 2012-November-08, 23:09

View Postshingkit, on 2012-November-08, 23:00, said:

楼主考虑过用某神人开发的BML来做约定卡吗?我觉得还挺方便的




愿闻其详,写定约卡,还是能找到个比较明了的东西,bss那一层一层的,比较繁琐;
但,看定约卡,其实,用上面的方法,还是有一定的好处的,就是一个层面就通了,
而且能打开的软件,像notepad,word上面的都可以,只要理解里面的天书就行!
0

#4 User is offline   yunlongg 

  • PipPip
  • Group: Members
  • Posts: 44
  • Joined: 2012-May-22
  • Gender:Male

Posted 2012-November-09, 00:26

补充:

*00{SAYC with bergen capp smolen}=NNNNNNNSAYC plus bergen capp smolen
%BBEECDDDDBBBBBBBBBBBBBBDEECDDDDCBBBBBBBBBFIFIABFIBFIFIABFIsuits:3/5 and 0/1 lead\\nt:4th and 0/1 lead\\standard o/e
$Bridge Base Basic.bss
+convention_bergen-12.bss
+convention_cappelletti.bss
+convention_smolen.bss

%后面的大写字母是防守信号以及首攻牌张选择,小些字母是防守信号的说明,其中\\产生一个换行。

$后面是该约定卡使用的约定卡主体的文件名,该文件应该在default convards目录下,本例中是使用的标准的SAYC约定卡。

+后面是在该约定卡里附加的约定叫文件名,该文件应该在convention目录下。任何约定卡都可以使用这种方式增加约定叫。

上面例子的全部含义是。使用BBO标准的SAYC约定卡,并在SAYC约定卡的基础上增加1) 12家开叫使用Bergen加叫,2)Capp约定叫,3)Smolen约定叫。该约定卡使用 花色 3/5 0/1、NT 长4 0/1 首攻,标准姿态和花色选择信号,o/e 垫牌信号。
道,天与之。大人慎而求之,疑而避之,信而行之。无为,有为。
0

#5 User is offline   shingkit 

  • PipPipPipPip
  • Group: Full Members
  • Posts: 149
  • Joined: 2011-August-02
  • Gender:Male
  • Location:Beijing, China

Posted 2012-November-09, 00:55

BML 全称是Bridge Markup Language 是外国BBO论坛坛友Kungsgeten(应该是一名大学生)编写的编译器,可以将与我们记下来的叫牌进程编译成BSS格式。下面是他的原文


View PostKungsgeten, on 2012-April-15, 15:02, said:

Hi!

I recently discovered the Full disclosure system on BBO. I tried using bidedit for a while, but found it pretty slow to work with. I've created a markup language which I call Bridge Bidding Markup Language (BML for short).

BML is intended to be easy to write and easy to read. Right now I also have a program written in Python which can convert BML files to BSS (the format used by BBO), and these files can be used while playing online.

All features of the Full Disclosure system isn't implemented yet, but the most useful ones (according to me) are. I would be happy if you tried it out and gave me some thoughts. You can download the manual and the converting program from here

Just to give you an example, here's what a BML file can look like (including a basic description of a No Trump structure):

SAYC
A natural system with 5 card majors and best minor

1C; 3+!c, 11+ hcp
1D; 3+!d, 11+ hcp
1H; 5+!h, 11+ hcp
1S; 5+!s, 11+ hcp
1N; 15-17 bal
2C; ARTIFICIAL. Game-forcing or 22-24 bal
2D; Weak
2H; Weak
2S; Weak
2N; 20-21 bal

1N;
2C ARTIFICIAL. Stayman
   2D ARTIFICIAL. No 4 card major
   2H NON-FORCING. 4+!h
   2S NON-FORCING. 4+!s
2D TRANSFER. 5+!h
   2H NON-FORCING.
   3H NON-FORCING. Super accept
2H TRANSFER. 5+!s
   2S NON-FORCING.
   3S NON-FORCING. Super accept
2S ARTIFICIAL. Minor suit Stayman
2N INVITATIONAL.


Edit 2012-07-20:
BML has been updated to version 0.3. Changes include variables and support for BSS suit lengths and outcomes. The manual has also been updated and now has information on bids depending on seat and/or vulnerability.





0

#6 User is offline   madongjun 

  • China
  • PipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 1,724
  • Joined: 2012-August-05
  • Gender:Male
  • Location:taiyuan/shanxi/China
  • Interests:Economics、sports

Posted 2012-November-09, 02:01

看上去相当复杂,看来应该是软件工程师才能干的活。
0

#7 User is offline   shingkit 

  • PipPipPipPip
  • Group: Full Members
  • Posts: 149
  • Joined: 2011-August-02
  • Gender:Male
  • Location:Beijing, China

Posted 2012-November-09, 14:12

View PostU19, on 2012-November-08, 23:09, said:

愿闻其详,写定约卡,还是能找到个比较明了的东西,bss那一层一层的,比较繁琐;
但,看定约卡,其实,用上面的方法,还是有一定的好处的,就是一个层面就通了,
而且能打开的软件,像notepad,word上面的都可以,只要理解里面的天书就行!



啊,没看清楚你说的,我上面介绍的是写约定卡的,不能看。我马上去建议了那个同学做个反编译器,可以把BSS变成BML,不知道行不行。。。
0

#8 User is offline   gamebridge 

  • PipPipPipPip
  • Group: Full Members
  • Posts: 109
  • Joined: 2011-October-14

Posted 2012-November-09, 21:49

菜单栏
==>Settings
==>Editor 打上勾

就是自带的编辑器。
点叫品右边的浅色框 弹出 叫品释义编辑框。
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

3 User(s) are reading this topic
0 members, 3 guests, 0 anonymous users