BBO Discussion Forums: Pete Matthews software to create table guide cards - BBO Discussion Forums

Jump to content

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

Pete Matthews software to create table guide cards

#1 User is offline   BudH 

  • PipPipPipPip
  • Group: Full Members
  • Posts: 475
  • Joined: 2004-April-18
  • Gender:Male
  • Location:South Bend, Indiana, USA
  • Interests:Operations Supervisor/Technical Advisor at nuclear power plant, soccer and basketball referee for more than 25 years; GLM; Ex-Head (Game) Director at South Bend (Indiana) Bridge Club; avid student of bridge law and game movements

Posted 2015-November-03, 14:17

I've been trying to use Pete Matthew's Bridgemats software and directions which involve Perl to create table guide cards for about a dozen different game movements (external pair movements in ACBLscore). (See website http://web.mit.edu/m...mats/index.html .)

Alas, I cannot understand the directions on how to create these, and how to use a Perl script.

Embarassing for me, because I am reasonably literate using computers, being in my early 50s, but this topic is kicking my butt.

Does anyone have better or more detailed instructions on how to make guide cards using this method?

Thanks in advance.

Bud H
0

#2 User is offline   hrothgar 

  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 15,488
  • Joined: 2003-February-13
  • Gender:Male
  • Location:Natick, MA
  • Interests:Travel
    Cooking
    Brewing
    Hiking

Posted 2015-November-03, 16:33

View PostBudH, on 2015-November-03, 14:17, said:

I've been trying to use Pete Matthew's Bridgemats software and directions which involve Perl to create table guide cards for about a dozen different game movements (external pair movements in ACBLscore). (See website http://web.mit.edu/m...mats/index.html .)

Alas, I cannot understand the directions on how to create these, and how to use a Perl script.

Embarassing for me, because I am reasonably literate using computers, being in my early 50s, but this topic is kicking my butt.

Does anyone have better or more detailed instructions on how to make guide cards using this method?

Thanks in advance.

Bud H


I dropped an email to Pete and gave him a pointer to this forum.

I think that he is directing tonight, so don't expect an immediate reply.
Alderaan delenda est
0

#3 User is offline   RMB1 

  • PipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 1,841
  • Joined: 2007-January-18
  • Gender:Male
  • Location:Exeter, UK
  • Interests:EBU/EBL TD
    Bridge, Cinema, Theatre, Food,
    [Walking - not so much]

Posted 2015-November-03, 17:06

View PostBudH, on 2015-November-03, 14:17, said:

..., and how to use a Perl script.


I can do that bit.
You need to install perl, on Window that means downloading Active Perl (or strawberry perl).
Then in a command tool
> perl -w BridgeMats.pl

But in Windows you have more work to install GhostScript and GSview to convert .ps to .pdf
Robin

"Robin Barker is a mathematician. ... All highly skilled in their respective fields and clearly accomplished bridge players."
0

#4 User is offline   Vampyr 

  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 10,611
  • Joined: 2009-September-15
  • Gender:Female
  • Location:London

Posted 2015-November-03, 17:31

Here we print out guide cards as needed, and they are often discarded after the session. They are small though, not like those big centre-of-the-table ones that the ACBL use.

However, perhaps trees can be saved if people get into the habit of just following the instructions on the Bridgemates.
I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones -- Albert Einstein
0

#5 User is offline   blackshoe 

  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 17,693
  • Joined: 2006-April-17
  • Gender:Male
  • Location:Rochester, NY

Posted 2015-November-03, 17:36

Here, the instructions on the Bridgepads are typically ignored. I've had opponents, given the bridgepad to review and approve the score, just hit the next button several times without even looking at the display, which takes you past the movement instructions for the next round. I've also had them glance at the display, put the pad down without approving anything, and leave the table.

To be fair, I've also forgotten to get the score for a board approved until I find, when I go to enter the contract for the next board, that I forgot to put the previous one in. :o
--------------------
As for tv, screw it. You aren't missing anything. -- Ken Berg
I have come to realise it is futile to expect or hope a regular club game will be run in accordance with the laws. -- Jillybean
0

#6 User is offline   Vampyr 

  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 10,611
  • Joined: 2009-September-15
  • Gender:Female
  • Location:London

Posted 2015-November-03, 17:43

View Postblackshoe, on 2015-November-03, 17:36, said:

Here, the instructions on the Bridgepads are typically ignored. I've had opponents, given the bridgepad to review and approve the score, just hit the next button several times without even looking at the display, which takes you past the movement instructions for the next round. I've also had them glance at the display, put the pad down without approving anything, and leave the table.

To be fair, I've also forgotten to get the score for a board approved until I find, when I go to enter the contract for the next board, that I forgot to put the previous one in. :o


Well, better habits are clearly needed.
I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones -- Albert Einstein
0

#7 User is offline   mycroft 

  • Secretary Bird
  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 7,428
  • Joined: 2003-July-12
  • Gender:Male
  • Location:Calgary, D18; Chapala, D16

Posted 2015-November-04, 11:42

That's one of the issue with Bridgepads - every button is "next". The Bridgemates have an Accept key that is different from the "next" OK key to stop this (and to stop Norths who put in the score and then mash on next, thus approving their own score. Whether they do that through ignorance, impatience or "why would anyone doubt *me*?", it's frustrating).

But you use the tools you use, and take the benefits and the downsides of them in as much stride as you can.
When I go to sea, don't fear for me, Fear For The Storm -- Birdie and the Swansong (tSCoSI)
0

#8 User is offline   blackshoe 

  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 17,693
  • Joined: 2006-April-17
  • Gender:Male
  • Location:Rochester, NY

Posted 2015-November-04, 16:14

Today, I sat North. Three times the defender to whom I handed the bridgepad did not press "next" or otherwise accept the score, although one of them did actually look at it before he got up and left the table. Whether he actually saw anything when he did so is another question.
--------------------
As for tv, screw it. You aren't missing anything. -- Ken Berg
I have come to realise it is futile to expect or hope a regular club game will be run in accordance with the laws. -- Jillybean
0

#9 User is offline   Vampyr 

  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 10,611
  • Joined: 2009-September-15
  • Gender:Female
  • Location:London

Posted 2015-November-05, 05:57

View Postblackshoe, on 2015-November-04, 16:14, said:

Today, I sat North. Three times the defender to whom I handed the bridgepad did not press "next" or otherwise accept the score, although one of them did actually look at it before he got up and left the table. Whether he actually saw anything when he did so is another question.


So often a useful procedure or solution is suggested, and people chime in to say "our players don't/won't comply". That, it seems to me, is probably a bigger problem than whatever the original one was.

I have had a thought about Bridgemates. It seems to me that it would save time if the protocol was that dummy entered the info and not North. Does anyone agree?
I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones -- Albert Einstein
2

#10 User is offline   BudH 

  • PipPipPipPip
  • Group: Full Members
  • Posts: 475
  • Joined: 2004-April-18
  • Gender:Male
  • Location:South Bend, Indiana, USA
  • Interests:Operations Supervisor/Technical Advisor at nuclear power plant, soccer and basketball referee for more than 25 years; GLM; Ex-Head (Game) Director at South Bend (Indiana) Bridge Club; avid student of bridge law and game movements

Posted 2015-November-05, 07:07

View PostVampyr, on 2015-November-05, 05:57, said:

So often a use fool procedure or solution is suggested, and people chime in to say "our players don't/won't comply". That, it seems to me, is probably a bigger problem than whatever the original one was.

I have had a thought about Bridgemates. It seems to me that it would save time if the protocol was that dummy entered the info and not North. Does anyone agree?


I am constantly urging the North players to put the contract in IMMEDIATELY after the auction, keep the Bridgemate in hand, then enter the opening lead as soon as it is made. Then all you need to enter is the result in a one or two keystrokes and give it to East for approval.

The alternate approach of giving it to (presumed) dummy sounds like another excellent approach, although he will need to put his cards down on the table, but he can enter information after the opening lead and dummy is displayed.
0

#11 User is offline   pran 

  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 5,344
  • Joined: 2009-September-14
  • Location:Ski, Norway

Posted 2015-November-05, 12:10

View PostBudH, on 2015-November-05, 07:07, said:

I am constantly urging the North players to put the contract in IMMEDIATELY after the auction, keep the Bridgemate in hand, then enter the opening lead as soon as it is made. Then all you need to enter is the result in a one or two keystrokes and give it to East for approval.

After more than ten years of experience with Bridgemate being used in all my events I urge North (!!!)

1: to enter the board number before anybody takes any card from the board. (This prevents players from taking a board already played, or not scheduled for them in that round)

2: to enter the contract immediately after the auction is completed (while their memory is fresh)

3: to enter the opening lead (if required) immediately when faced (while their memory is fresh)

4: to enter the resulting number of tricks before any cards are restored to the board, and have East confirm. (so that any disagreement can be solved in the proper way)

5: Never consider a round completed without having seen "End of Round" or "End of Session" on the Bridgemate display. (In order to avoid late play penalties because of missing boards or missing results on the last board)

I strictly enforce the principle that late play penalties are invoked based on the time when the last board in the round was registered on the Bridgemate (as can be verified from the Bridgemate control log), the fact that the only failure was just forgetting to press "Confirm" on the Bridgemate is immaterial, a board has not been completed until the result is properly reported.

I agree that players often ignore such instructions, but if any discussion on what should have been entered develops they will have to find some good answers why they did not obey to the instructions given by me as Director.

And the general response to my way of running events appears to be satisfaction.

View PostBudH, on 2015-November-05, 07:07, said:

The alternate approach of giving it to (presumed) dummy sounds like another excellent approach, although he will need to put his cards down on the table, but he can enter information after the opening lead and dummy is displayed.

Based on my own experience I consider this a very unfortunate idea.
0

#12 User is offline   blackshoe 

  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 17,693
  • Joined: 2006-April-17
  • Gender:Male
  • Location:Rochester, NY

Posted 2015-November-05, 18:50

What do we do if North is dummy?

IMO no player should enter anything in a bridgemate or bridgepad or write anything down anywhere until he has fulfilled any obligations he may have wrt making the opening lead, asking or answering questions, or facing the dummy.
--------------------
As for tv, screw it. You aren't missing anything. -- Ken Berg
I have come to realise it is futile to expect or hope a regular club game will be run in accordance with the laws. -- Jillybean
1

#13 User is offline   BudH 

  • PipPipPipPip
  • Group: Full Members
  • Posts: 475
  • Joined: 2004-April-18
  • Gender:Male
  • Location:South Bend, Indiana, USA
  • Interests:Operations Supervisor/Technical Advisor at nuclear power plant, soccer and basketball referee for more than 25 years; GLM; Ex-Head (Game) Director at South Bend (Indiana) Bridge Club; avid student of bridge law and game movements

Posted 2015-November-21, 07:50

View PostRMB1, on 2015-November-03, 17:06, said:

I can do that bit.
You need to install perl, on Window that means downloading Active Perl (or strawberry perl).
Then in a command tool
> perl -w BridgeMats.pl

But in Windows you have more work to install GhostScript and GSview to convert .ps to .pdf



I installed GhostScript, GSView, and ActivePerl on my 64-bit Windows 7 computer.

So, assuming I have an ACBLscore external file called "movement.MOV", in which folder do I need to copy the movement.MOV file and what folder do I need to be in before using the command prompt? And what specifically would be typed into the command prompt?
0

#14 User is offline   mycroft 

  • Secretary Bird
  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 7,428
  • Joined: 2003-July-12
  • Gender:Male
  • Location:Calgary, D18; Chapala, D16

Posted 2015-November-23, 17:29

Now it's time to RTFM: but since "reading man pages" isn't exactly a standard bridge training lecture, let's see if I can distill enough to get you on your way.

All the quotes from http://web.mit.edu/m.../BridgeMats.txt .

"For best results, the current working directory should contain
the movement file (whose extension must be .MOV, .BAM, or .IND),
BridgeMats.pl, BridgeMats.ps, and BridgeMats.sw. Movements
normally come from C:\ACBLSCOR\MOV, \BAM or \IND - or
wherever you saved them from ACBLscore."

So, either copy all of those movement files into some directory (and put the BridgeMats files in there too) or put the BridgeMats files in the directory of the movements, and run it from there. The computer user in me winces at the latter (because these extra files "shouldn't be there" and could disappear at any upgrade, or anybody else touching the club computer), but the director in me winces at the former (because having two copies of the same thing is almost always bad, and really bad when either a new one shows up somewhere or one gets changed). It would be really nice if BridgeMats could be given a parameter that gives the directory of the MOV files, but that's just me.

After you've decided where you're going to work, either open a command prompt and navigate to that folder or go to that folder and open a command prompt from there (shift-rightclick in the folder, it will be one of the options in the menu: Windows Vista and up, not XP, sorry).

Once you're at the command prompt in that folder, start by getting the usage information:

> perl BridgeMats.pl -h

You should get something big and ugly like
Spoiler


Now, that's more than you'll ever want to know, but it's also everything you will want to know (and proves you have everything set up properly - perl, the scripts, ...)

It looks like at least to start, you should just run

> perl BridgeMats.pl <movement file>

and see what you get. It *should* be a decent default.

> perl BridgeMats.pl H0608.MOV

is the 8x3 6-table Howell; should be a good test.

You should get a .ps file (I'm guessing H0608.ps, if you used my example) in that same directory; you should be able to open that in GSView to see what you got. Convert to PDF if you want and print.

Good luck!
When I go to sea, don't fear for me, Fear For The Storm -- Birdie and the Swansong (tSCoSI)
0

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

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