Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | web: show full visit log when player 3 or higher starts | David Vazgenovich Shakaryan | 2022-05-21 | 1 | -3/+5 |
| | |||||
* | web: don't try checking player 2 visits when there is only one player | David Vazgenovich Shakaryan | 2022-05-21 | 1 | -3/+4 |
| | |||||
* | web: remove hard-coded match modes | David Vazgenovich Shakaryan | 2022-05-21 | 4 | -66/+77 |
| | |||||
* | web: reimplement menus as a stack with more shared code | David Vazgenovich Shakaryan | 2022-05-21 | 4 | -189/+216 |
| | |||||
* | web: support visit log for 3+ player matches | David Vazgenovich Shakaryan | 2022-05-20 | 8 | -34/+177 |
| | | | | | The new match modes are for testing. They'll eventually be removed in favour of true configurability. | ||||
* | web: use configured number of slots in navigation functions | David Vazgenovich Shakaryan | 2022-05-20 | 1 | -22/+19 |
| | |||||
* | web: use configured number of slots in show function | David Vazgenovich Shakaryan | 2022-05-20 | 1 | -6/+6 |
| | |||||
* | web: dynamically allocate player bufs | David Vazgenovich Shakaryan | 2022-05-20 | 4 | -26/+22 |
| | |||||
* | web: use generic player slots in HTML/CSS | David Vazgenovich Shakaryan | 2022-05-20 | 3 | -31/+29 |
| | |||||
* | web: add (incomplete) support for 3+ player matches | David Vazgenovich Shakaryan | 2022-05-20 | 10 | -28/+193 |
| | |||||
* | web: display darts for comp as player 1 | David Vazgenovich Shakaryan | 2022-05-19 | 6 | -23/+75 |
| | |||||
* | web: display comp name in throwing prompt | David Vazgenovich Shakaryan | 2022-05-18 | 3 | -7/+10 |
| | |||||
* | web: store comp info as part of match player info instead of globally | David Vazgenovich Shakaryan | 2022-05-18 | 5 | -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 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. |