Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | web: remove assumption that comp is player 2 | David Vazgenovich Shakaryan | 2022-05-18 | 1 | -8/+7 |
| | |||||
* | web: fix bug when player 2 presses remaining key | David Vazgenovich Shakaryan | 2022-05-18 | 2 | -2/+2 |
| | |||||
* | web: use match info funcs instead of checking mode | David Vazgenovich Shakaryan | 2022-05-18 | 3 | -18/+14 |
| | |||||
* | web: move match info funcs to match file | David Vazgenovich Shakaryan | 2022-05-18 | 3 | -44/+58 |
| | |||||
* | web: change winning player message | David Vazgenovich Shakaryan | 2022-05-18 | 4 | -14/+28 |
| | |||||
* | web: remove active leg ptr; various cleanup | David Vazgenovich Shakaryan | 2022-05-18 | 6 | -23/+27 |
| | |||||
* | web: support first-visit undo when player 2 throws first | David Vazgenovich Shakaryan | 2022-05-18 | 2 | -3/+15 |
| | |||||
* | web: refactor undo logic | David Vazgenovich Shakaryan | 2022-05-18 | 3 | -53/+75 |
| | |||||
* | web: overlay virtual keyboard on chrome | David Vazgenovich Shakaryan | 2022-05-16 | 2 | -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 overflow | David Vazgenovich Shakaryan | 2022-05-16 | 4 | -12/+9 |
| | |||||
* | web: add favicon to local cache | David Vazgenovich Shakaryan | 2022-05-16 | 1 | -0/+1 |
| | |||||
* | web: add throw animation | David Vazgenovich Shakaryan | 2022-05-16 | 5 | -2/+25 |
| | |||||
* | web: change end match button styling | David Vazgenovich Shakaryan | 2022-05-16 | 1 | -3/+19 |
| | |||||
* | web: fix ending match mid-comp-throw and starting another quickly | David Vazgenovich Shakaryan | 2022-05-16 | 4 | -31/+19 |
| | |||||
* | web: clean up properly when match is ended while comp is throwing | David Vazgenovich Shakaryan | 2022-05-16 | 5 | -7/+31 |
| | |||||
* | web: support ending ongoing match; ui/colour tweaks | David Vazgenovich Shakaryan | 2022-05-16 | 10 | -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 menus | David Vazgenovich Shakaryan | 2022-05-15 | 2 | -1/+13 |
| | |||||
* | web: avoid setting stdev twice on load | David Vazgenovich Shakaryan | 2022-05-15 | 1 | -8/+9 |
| | |||||
* | web: implement difficulty abstraction for stdev | David Vazgenovich Shakaryan | 2022-05-15 | 4 | -24/+59 |
| | |||||
* | web: host fonts locally | David Vazgenovich Shakaryan | 2022-05-13 | 12 | -8/+235 |
| | |||||
* | web: use icons for settings; misc changes | David Vazgenovich Shakaryan | 2022-05-13 | 7 | -23/+21 |
| | |||||
* | web: disable back button when installed as a PWA | David Vazgenovich Shakaryan | 2022-05-13 | 2 | -1/+14 |
| | |||||
* | web: fix font path | David Vazgenovich Shakaryan | 2022-05-13 | 1 | -1/+1 |
| | |||||
* | web: add better icons for PWA | David Vazgenovich Shakaryan | 2022-05-13 | 21 | -31/+235 |
| | |||||
* | web: support installing as progressive web app™ | David Vazgenovich Shakaryan | 2022-05-12 | 12 | -0/+91 |
| | |||||
* | web: use subset font for dartboard numbers | David Vazgenovich Shakaryan | 2022-05-12 | 5 | -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 icons | David Vazgenovich Shakaryan | 2022-05-11 | 6 | -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 Shakaryan | 2022-05-10 | 2 | -4/+5 |
| | |||||
* | web: add exit dialogue while match is active | David Vazgenovich Shakaryan | 2022-05-10 | 4 | -0/+22 |
| | |||||
* | web: ui improvements, mainly for mobile | David Vazgenovich Shakaryan | 2022-05-10 | 3 | -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 height | David Vazgenovich Shakaryan | 2022-05-10 | 1 | -1/+29 |
| | | | | Bonus CSS shenanigans to create key gaps that behave. | ||||
* | web: display who throws first in visit log | David Vazgenovich Shakaryan | 2022-05-10 | 2 | -0/+6 |
| | |||||
* | web: fix post-match undo when bot is throwing second | David Vazgenovich Shakaryan | 2022-05-10 | 1 | -1/+5 |
| | |||||
* | web: allow selection of starting points and user to throw first | David Vazgenovich Shakaryan | 2022-05-09 | 7 | -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 query | David Vazgenovich Shakaryan | 2022-05-09 | 1 | -1/+1 |
| | |||||
* | web: add support for child DOM elements and text nodes | David Vazgenovich Shakaryan | 2022-05-09 | 4 | -23/+88 |
| | |||||
* | web: dynamically generate (list-mode) keypad keys | David Vazgenovich Shakaryan | 2022-05-09 | 5 | -22/+61 |
| | | | | | This is currently only for match mode selection, but we'll reuse it to implement more menus. | ||||
* | web: fix memory bugs | David Vazgenovich Shakaryan | 2022-05-09 | 2 | -2/+2 |
| | |||||
* | web: dynamically generate SVG and groups | David Vazgenovich Shakaryan | 2022-05-09 | 4 | -14/+49 |
| | |||||
* | web: fix ui bug | David Vazgenovich Shakaryan | 2022-05-07 | 1 | -5/+7 |
| | |||||
* | web: stylesheet cleanup | David Vazgenovich Shakaryan | 2022-05-07 | 3 | -247/+262 |
| | |||||
* | web: make bot darts less prominent | David Vazgenovich Shakaryan | 2022-05-07 | 1 | -4/+2 |
| | |||||
* | web: remember layout setting | David Vazgenovich Shakaryan | 2022-05-07 | 2 | -3/+7 |
| | |||||
* | web: minor ui/colour tweaks | David Vazgenovich Shakaryan | 2022-05-07 | 1 | -8/+6 |
| | |||||
* | web: landscape css should be default | David Vazgenovich Shakaryan | 2022-05-07 | 1 | -45/+38 |
| | |||||
* | web: minor styling | David Vazgenovich Shakaryan | 2022-05-07 | 1 | -4/+9 |
| | |||||
* | web: allow controls side to be chosen by user | David Vazgenovich Shakaryan | 2022-05-07 | 3 | -9/+30 |
| | |||||
* | web: flip landscape layout | David Vazgenovich Shakaryan | 2022-05-07 | 1 | -3/+3 |
| | |||||
* | web: add landscape layout | David Vazgenovich Shakaryan | 2022-05-07 | 3 | -10/+44 |
| | |||||
* | web: move scroll ellipses to CSS where they belong | David Vazgenovich Shakaryan | 2022-05-06 | 2 | -8/+9 |
| |