marc-white / floorscore Goto Github PK
View Code? Open in Web Editor NEWBasic JavaScript-driven scoreboard, designed for floorball
License: Other
Basic JavaScript-driven scoreboard, designed for floorball
License: Other
At the moment, if 'rolling clock' is selected, the clock automatically rolls onto the next time block, regardless of whether it is a new period or a period break.
There should be separate options for:
FloorScore is currently developed for and run in Firefox. It would be ideal if it could be run in any of the major browsers.
(This may also make it easier to auto-magically convert the web version into a desktop app via something like Nativefier.)
The illuminated colon/decimal point should also be made to blink while the clock is running, and return to being solid when the clock is stopped.
The code used to make the period transition arrows blink should be able to be repurposed for this.
The option should be given to go to an 'overtime' period at the end of a match.
This should:
The spacebar has already been stopped from triggering any button with focus by auto-removing focus from all form elements on click/select. However, the spacebar will still activate a button if the mouse happens to be hovering over it, which interferes with the start/stop timer on spacebar functionality. This needs to be fixed. Possible fixes include:
preventDefault
stopPropagation
A suite of buzzer sounds should be available, with the user able to select the current buzzer sound from the control window.
This is important for, e.g. multi-court tournaments, where the buzzer needs to be distinctive to each court.
Currently (after the merge switching to the big-n-bold display), the current period is shown as follows:
It would be clearer if the period display was altered to the following:
During the period: The period number should be displayed as a full-size hash mark inside the box, i.e. I, II, III:
Between periods: The previous and next period number should be displayed as smaller-sized hash marks, either side of a slash, i.e. I/II, II/III:
Overtime: Should display a full-size character in the period box, such as O, or possibly two characters, e.g., ET.
The control window is still a bit of a mess. It could use being tidied up and the layout optimized.
The code should be re-factored so that all the configuration options are clearly set out in a standalone config file.
Attempting to rebuild the period display by binding updateNoPeriods
to the change function of the period selection select causes a jQuery recursion error. The current fix is to just refresh the display screen on such a change, but it should be able to be rebuilt without a refresh.
Howler (https://openbase.com/js/howler) seems more up-to-date than the current lowLag.js library being used, and also has a 'preload' option that will hopefully reduce the number of buzzer delays. The system should be updated to use howler.js instead.
The option should be provided to go to a penalty shootout mode at the end of a match.
This should:
Now that Floorball ACT is using a tracking camera which can capture the scoreboard from a distance and insert it into replay footage, the scoreboard display needs to be redesigned to be clearer.
The proposed design would split the screen into two halves, one above the other.
Open questions:
Penalty times are an important part of floorball. The system should be able to:
The buzzer sounds sometimes do not work on certain computers/browsers, especially when a sound-capable HDMI output is being used to show the external display.
Further investigation is needed to work out if this is a limitation/issue with:
or, some combination of the above.
Many of the new updates to the 'standard' scoreboard (period formatting, sounds, control panel etc.) have not been pushed to the 'rolling' scoreboard. These changes should be taken across.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.