A clock/timer for duplicate bridge clubs
This is a minimal, fully self-contained, pure HTML5/Javascript bridge clock intended for use in bridge clubs, e.g. via a chromecast dongle attached to a TV in the club.
1. Open the bridge clock page in Chrome.
Note you must use Chrome and not another browser such as Microsoft Edge, Firefox, or Safari. You can probably find extensions for those browsers that support chromecast however that is outside the scope of these instructions.
E.g. click in the text boxes and edit the numbers to change the duration of the rounds or set the number of rounds to be played.
This TV must have a chromecast dongle attached; see Google's chromecast support page for details on installing and configuring it.
Press the cast button at the top-right of the browser window or select the "Cast..." option from the menu. See Google's chrome tab cast support page for more details.
Note that if you have adjusted the clock settings you will need to click the mouse button outside of the text box that is being edited first so the space bar does not get captured by that.
You can minimise the browser window or switch to another tab without interfering with the clock display on the TV. If you wish to pause the clock you can do so by pressing space (after switching to the clock tab if required). Note that the time is greyed out while the clock is paused. Pressing space again will unpause it.
Further controls are detailed on the clock's initial settings screen.
- Unit tests!
- Allowing space to start the clock when editting a numeric text field.
- Integrate a cast button directly into the page via the Google Cast SDK 3.