danvk / dds.js

Bridge Double Dummy Solver in JavaScript
Apache License 2.0
9 stars 5 forks source link

Support copy/paste from BridgeComposer #19

Open danvk opened 9 years ago

danvk commented 9 years ago

This would be a convenient way to load boards from ACBL results pages, e.g. http://clubresults.acbl.org/Results/232132/2015/11/151102E.HTM

danvk commented 9 years ago

When copy/pasted, boards look like this:

Board 2
East Deals
N-S Vul 
♠ 10 8 4 3
♥ K 4
♦ K 10 8 5 3
♣ 7 3
♠ A K 6
♥ A 10 5
♦ A 9 7
♣ A Q 10 4
N
W       E
S
♠ J 9 7
♥ J 7 6 3
♦ 6 4 2
♣ K J 5
♠ Q 5 2
♥ Q 9 8 2
♦ Q J
♣ 9 8 6 2

Here's one with some voids:


Board 3
South Deals
E-W Vul 
♠ —
♥ J 4 2
♦ A J 8 5 4 3
♣ 7 6 4 2
♠ A 7 3
♥ A Q
♦ 10 2
♣ A K Q J 10 8
N
W       E
S
♠ Q J 8 6 5
♥ K 9 8 7
♦ Q
♣ 9 5 3
♠ K 10 9 4 2
♥ 10 6 5 3
♦ K 9 7 6
♣ —
danvk commented 9 years ago

An alternative take on this is: write a browser extension that turns the double-dummy analysis text into links on clubresults.acbl.org.