This repository contains the web pages for the various screens that are displayed at the competition.
Create a file called config.json
based on config.example.json
.
Dependencies are managed with Yarn, therefore you must install them in the normal way:
$ yarn install
The best way to test these screens is to run an HTTP server in the root of your clone and navigate to it with your web browser.
$ python3 -m http.server
The canonical platform for these screens is the browsers available on the current version of Raspbian and as configured by srcomp-kiosk. This generally means Firefox and Chromium.
Current versions of Firefox and Chromium should also work, primarily so that development is easy without a Raspberry Pi.
Microsoft Edge (pre-Chromium) is known not to work, due to a lack of support
for the EventSource
API.
Here are the screens that are in this repository.
This screen is displayed in each corner of the arena.
You can configure which corner the screen should be displaying by altering the query parameters:
/arena.html?<arena>,<corner>
This screen is available to competitors at some strategic points around the competition venue. It displays information such as the current leaderboard, the match schedule, the scores and the knockout diagram.
The screens use Web Components and
Polymer to make the code more maintainable,
flexible and reusable. They are stored in the components
folder.