Jump to content

GIB double dummy analysis


Recommended Posts

Hi

 

Does anyone know if I can do double dummy analysis for multiple hands from one file.

 

I am using something like

 

bridge -dq hand.txt

 

Where hand.txt has a hand in the following format:

 

w q.qj74.t4.aqjt94

n t63.9832.q8.8765

e ak9754.t.aj732.3

s j82.ak65.k965.k2

w s

hq

 

However when I add a second hand to the file it does not work. Is this a limitation?

 

Thanks

Link to comment
Share on other sites

I don't think you can do it with GIB by itself, but you can easily write a shell script to do it:

 

#!/bin/sh
while read line1 && read line2 && read line3 && read line4 && read line5 && read line6; do
   printf "%s\n%s\n%s\n%s\n%s\n%s\n" line1 line2 line3 line4 line5 line6 | bridge -dq
done < hand.txt

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...