summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* web: display darts for comp as player 1David Vazgenovich Shakaryan2022-05-196-23/+75
|
* web: display comp name in throwing promptDavid Vazgenovich Shakaryan2022-05-183-7/+10
|
* web: store comp info as part of match player info instead of globallyDavid Vazgenovich Shakaryan2022-05-185-25/+79
| | | | | This allows us things like two computer players against one another, which I've also added for testing.
* web: remove assumption that comp is player 2David Vazgenovich Shakaryan2022-05-181-8/+7
|
* web: fix bug when player 2 presses remaining keyDavid Vazgenovich Shakaryan2022-05-182-2/+2
|
* web: use match info funcs instead of checking modeDavid Vazgenovich Shakaryan2022-05-183-18/+14
|
* web: move match info funcs to match fileDavid Vazgenovich Shakaryan2022-05-183-44/+58
|
* web: change winning player messageDavid Vazgenovich Shakaryan2022-05-184-14/+28
|
* web: remove active leg ptr; various cleanupDavid Vazgenovich Shakaryan2022-05-186-23/+27
|
* web: support first-visit undo when player 2 throws firstDavid Vazgenovich Shakaryan2022-05-182-3/+15
|
* web: refactor undo logicDavid Vazgenovich Shakaryan2022-05-183-53/+75
|
* web: overlay virtual keyboard on chromeDavid Vazgenovich Shakaryan2022-05-162-1/+4
| | | | | | This prevents everything from getting resized when an input field is focused. Ideally we'd make the page scrollable when the keyboard appears, but the inputs are all at the top so it's not crucial.
* web: display svg overflowDavid Vazgenovich Shakaryan2022-05-164-12/+9
|
* web: add favicon to local cacheDavid Vazgenovich Shakaryan2022-05-161-0/+1
|
* web: add throw animationDavid Vazgenovich Shakaryan2022-05-165-2/+25
|
* web: change end match button stylingDavid Vazgenovich Shakaryan2022-05-161-3/+19
|
* web: fix ending match mid-comp-throw and starting another quicklyDavid Vazgenovich Shakaryan2022-05-164-31/+19
|
* web: clean up properly when match is ended while comp is throwingDavid Vazgenovich Shakaryan2022-05-165-7/+31
|
* web: support ending ongoing match; ui/colour tweaksDavid Vazgenovich Shakaryan2022-05-1610-65/+127
| | | | | | Ending a match while the computer is throwing currently results in data being written to the prompt because any scheduled C calls are not being cleared yet.
* web: add back button to option menusDavid Vazgenovich Shakaryan2022-05-152-1/+13
|
* web: avoid setting stdev twice on loadDavid Vazgenovich Shakaryan2022-05-151-8/+9
|
* web: implement difficulty abstraction for stdevDavid Vazgenovich Shakaryan2022-05-154-24/+59
|
* web: host fonts locallyDavid Vazgenovich Shakaryan2022-05-1312-8/+235
|
* web: use icons for settings; misc changesDavid Vazgenovich Shakaryan2022-05-137-23/+21
|
* web: disable back button when installed as a PWADavid Vazgenovich Shakaryan2022-05-132-1/+14
|
* web: fix font pathDavid Vazgenovich Shakaryan2022-05-131-1/+1
|
* web: add better icons for PWADavid Vazgenovich Shakaryan2022-05-1321-31/+235
|
* web: support installing as progressive web app™David Vazgenovich Shakaryan2022-05-1212-0/+91
|
* web: use subset font for dartboard numbersDavid Vazgenovich Shakaryan2022-05-125-3/+102
| | | | | | | | Inter is under a permissive font and we use the number glyphs only, so it makes sense to use a subset font to avoid loading the rest of the glyphs. Also removing the name table from the icons font to further reduce size.
* web: add prettier iconsDavid Vazgenovich Shakaryan2022-05-116-6/+42
| | | | | | | The icons come from the lovely people at Bootstrap, who've shared them under a permissive licence. To avoid loading a large file consisting almost entirely of icons we'll never display, I've generated the icon font myself, limiting it to only the glyphs we use.
* web: bloody chromium…David Vazgenovich Shakaryan2022-05-102-4/+5
|
* web: add exit dialogue while match is activeDavid Vazgenovich Shakaryan2022-05-104-0/+22
|
* web: ui improvements, mainly for mobileDavid Vazgenovich Shakaryan2022-05-103-9/+22
| | | | | | | | Using a `100vh' height results in the bottom bit of the UI being cropped until scrolling down, while using `100%' results in the address bar always wasting space. By combining these with a fixed-position element, we're able to have the UI grow and shrink as the address bar visibility changes.
* web: give keypad list keys a max heightDavid Vazgenovich Shakaryan2022-05-101-1/+29
| | | | Bonus CSS shenanigans to create key gaps that behave.
* web: display who throws first in visit logDavid Vazgenovich Shakaryan2022-05-102-0/+6
|
* web: fix post-match undo when bot is throwing secondDavid Vazgenovich Shakaryan2022-05-101-1/+5
|
* web: allow selection of starting points and user to throw firstDavid Vazgenovich Shakaryan2022-05-097-23/+184
| | | | | | | This new option selection code is a bit messy for now. It requires the options and their order to be in sync between the prompt functions and the corresponding submit functions. There's also a bit too much repetition of generic code that's applicable to all options.
* web: fix CSS media queryDavid Vazgenovich Shakaryan2022-05-091-1/+1
|
* web: add support for child DOM elements and text nodesDavid Vazgenovich Shakaryan2022-05-094-23/+88
|
* web: dynamically generate (list-mode) keypad keysDavid Vazgenovich Shakaryan2022-05-095-22/+61
| | | | | This is currently only for match mode selection, but we'll reuse it to implement more menus.
* web: fix memory bugsDavid Vazgenovich Shakaryan2022-05-092-2/+2
|
* web: dynamically generate SVG and groupsDavid Vazgenovich Shakaryan2022-05-094-14/+49
|
* web: fix ui bugDavid Vazgenovich Shakaryan2022-05-071-5/+7
|
* web: stylesheet cleanupDavid Vazgenovich Shakaryan2022-05-073-247/+262
|
* web: make bot darts less prominentDavid Vazgenovich Shakaryan2022-05-071-4/+2
|
* web: remember layout settingDavid Vazgenovich Shakaryan2022-05-072-3/+7
|
* web: minor ui/colour tweaksDavid Vazgenovich Shakaryan2022-05-071-8/+6
|
* web: landscape css should be defaultDavid Vazgenovich Shakaryan2022-05-071-45/+38
|
* web: minor stylingDavid Vazgenovich Shakaryan2022-05-071-4/+9
|
* web: allow controls side to be chosen by userDavid Vazgenovich Shakaryan2022-05-073-9/+30
|