Giter Site home page Giter Site logo

floorscore's People

Contributors

marc-white avatar

Watchers

 avatar  avatar  avatar

floorscore's Issues

Improve cross-browser compatibility

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.)

Blink timer when running

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.

Add ability to go to overtime

The option should be given to go to an 'overtime' period at the end of a match.

This should:

  • Add an extra 'period box' on the display screen marked 'OT' and highlight it;
  • Have another select box on the control screen to set the length of the overtime period;
  • The button to go to overtime should only appear once the normal part of the game is 'complete'.

Stop spacebar press from activating a button the mouse hovers over

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

Multiple buzzer sounds

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.

Alter how periods are displayed

Currently (after the merge switching to the big-n-bold display), the current period is shown as follows:

  • Current period number is shown in Arabic numerals (1, 2, 3) in the period box
  • In period breaks, the number of the next period is show, with a short arrow blinking to the left of the box

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.

Tidy up control windows

The control window is still a bit of a mess. It could use being tidied up and the layout optimized.

Separate configuration file

The code should be re-factored so that all the configuration options are clearly set out in a standalone config file.

Correctly re-build periods display when number of periods changes

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.

Add ability to go to penalty shootout

The option should be provided to go to a penalty shootout mode at the end of a match.

This should:

  • Alter the display screen to a 'penalty shootout' format;
  • Provide the ability to specify:
    • Which teams shoots first;
    • What 'best-of' the penalty shootout is;
  • Record a goal/miss for each penalty shot in turn.

Re-design scoreboard display

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.

  • Top half: Clock on the left 2/3 of the half, period number on the right 1/3.
  • Bottom half: Each teams logo, colours and score, 1/2 and 1/2 across the bottom.

Open questions:

  • How to display the total number of periods in this system?
  • How/where/if to display sponsor logos?
  • How would this re-design impact other issue requests, particularly #14 ?

Add ability to show penalty times

Penalty times are an important part of floorball. The system should be able to:

  • Hold and display the remaining penalty time against a given player number/initials;
  • Only display actively running penalties (only two bench penalties per team can be measured at once, and only one bench penalty per player at once);
  • There must be a separate button to 'queue' penalties, and then 'start' all queued penalties (penalties do not commence until the game resumes, but the clock may keep running during the down time);
  • Penalty time is synchronized to game time (i.e. penalty time must start/stop with the main game clock)

Sound does not work under certain HDMI setups

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:

  • The lowlag.js system used to play the audio, and/or its implementation in FloorScore;
  • Certain operating systems;
  • Certain web browsers;
  • Certain external displays (e.g. TVs, monitors, etc);

or, some combination of the above.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.