Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | web: display darts for comp as player 1 | David Vazgenovich Shakaryan | 2022-05-19 | 1 | -0/+9 |
| | |||||
* | web: overlay virtual keyboard on chrome | David Vazgenovich Shakaryan | 2022-05-16 | 1 | -0/+3 |
| | | | | | | 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: support ending ongoing match; ui/colour tweaks | David Vazgenovich Shakaryan | 2022-05-16 | 1 | -0/+1 |
| | | | | | | 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: disable back button when installed as a PWA | David Vazgenovich Shakaryan | 2022-05-13 | 1 | -0/+13 |
| | |||||
* | web: support installing as progressive web app™ | David Vazgenovich Shakaryan | 2022-05-12 | 1 | -0/+3 |
| | |||||
* | web: add prettier icons | David Vazgenovich Shakaryan | 2022-05-11 | 1 | -1/+1 |
| | | | | | | | 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 | 1 | -3/+4 |
| | |||||
* | web: add exit dialogue while match is active | David Vazgenovich Shakaryan | 2022-05-10 | 1 | -0/+11 |
| | |||||
* | web: ui improvements, mainly for mobile | David Vazgenovich Shakaryan | 2022-05-10 | 1 | -2/+3 |
| | | | | | | | | 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: add support for child DOM elements and text nodes | David Vazgenovich Shakaryan | 2022-05-09 | 1 | -11/+29 |
| | |||||
* | web: dynamically generate (list-mode) keypad keys | David Vazgenovich Shakaryan | 2022-05-09 | 1 | -3/+6 |
| | | | | | This is currently only for match mode selection, but we'll reuse it to implement more menus. | ||||
* | web: remember layout setting | David Vazgenovich Shakaryan | 2022-05-07 | 1 | -2/+6 |
| | |||||
* | web: allow controls side to be chosen by user | David Vazgenovich Shakaryan | 2022-05-07 | 1 | -2/+9 |
| | |||||
* | formatting | David Vazgenovich Shakaryan | 2022-05-04 | 1 | -7/+14 |
| | |||||
* | web: move opt logic to c | David Vazgenovich Shakaryan | 2022-05-04 | 1 | -14/+8 |
| | |||||
* | web: oi from c | David Vazgenovich Shakaryan | 2022-05-03 | 1 | -17/+1 |
| | |||||
* | web: use generic JS function for updating opt elems | David Vazgenovich Shakaryan | 2022-05-03 | 1 | -14/+10 |
| | |||||
* | web: reuse elem array appending for drawing visits | David Vazgenovich Shakaryan | 2022-05-03 | 1 | -23/+11 |
| | |||||
* | web: bloody JS scope… | David Vazgenovich Shakaryan | 2022-05-03 | 1 | -1/+1 |
| | |||||
* | web: more use of generic JS functions | David Vazgenovich Shakaryan | 2022-05-03 | 1 | -19/+7 |
| | |||||
* | web: use generic JS functions for manipulating DOM | David Vazgenovich Shakaryan | 2022-05-03 | 1 | -62/+24 |
| | |||||
* | web: buffer and flush prompt | David Vazgenovich Shakaryan | 2022-05-03 | 1 | -9/+9 |
| | |||||
* | web: more renaming | David Vazgenovich Shakaryan | 2022-05-02 | 1 | -2/+2 |
| | |||||
* | web: buffer player info and flush on state change | David Vazgenovich Shakaryan | 2022-05-02 | 1 | -3/+3 |
| | | | | | Constant calls from Wasm to JS to replace unchanged elements in the DOM is not very efficient. | ||||
* | web: clean up svg generation code | David Vazgenovich Shakaryan | 2022-04-29 | 1 | -23/+3 |
| | |||||
* | web: javascript needs more pointers | David Vazgenovich Shakaryan | 2022-04-29 | 1 | -0/+24 |
| | |||||
* | web: less javascript, more c | David Vazgenovich Shakaryan | 2022-04-28 | 1 | -0/+24 |
| | |||||
* | web: the bot should have his own dartboard | David Vazgenovich Shakaryan | 2022-04-28 | 1 | -18/+19 |
| | |||||
* | web: use technical terminology | David Vazgenovich Shakaryan | 2022-04-27 | 1 | -1/+1 |
| | |||||
* | web: no need to expose horizontal and vertical stdevs individually | David Vazgenovich Shakaryan | 2022-04-27 | 1 | -4/+2 |
| | |||||
* | web: use targeted event listeners | David Vazgenovich Shakaryan | 2022-04-27 | 1 | -29/+22 |
| | |||||
* | web: use short alias for selectors; make key label function generic | David Vazgenovich Shakaryan | 2022-04-27 | 1 | -49/+42 |
| | |||||
* | web: let's use our new function | David Vazgenovich Shakaryan | 2022-04-27 | 1 | -15/+11 |
| | |||||
* | web: malloc c strings explicitly; pass null pointer when empty | David Vazgenovich Shakaryan | 2022-04-27 | 1 | -1/+13 |
| | |||||
* | web: move some memory management to c; use ccall wrapper less | David Vazgenovich Shakaryan | 2022-04-27 | 1 | -14/+6 |
| | |||||
* | web: handle race condition on load | David Vazgenovich Shakaryan | 2022-04-27 | 1 | -0/+8 |
| | | | | | This is incredibly unlikely to ever matter unless your browser is a potato. | ||||
* | web: rid HTML of inline JS | David Vazgenovich Shakaryan | 2022-04-26 | 1 | -6/+21 |
| | | | | | Maybe I'll change this to use targeted event listeners when I'm not lazy. | ||||
* | web: expand on help text | David Vazgenovich Shakaryan | 2022-04-26 | 1 | -4/+0 |
| | |||||
* | web: prevent player info boxes flashing on load | David Vazgenovich Shakaryan | 2022-04-26 | 1 | -11/+7 |
| | |||||
* | web: round away floating-point nonsense | David Vazgenovich Shakaryan | 2022-04-26 | 1 | -1/+2 |
| | |||||
* | web: support quick rematch, fix checkout points | David Vazgenovich Shakaryan | 2022-04-26 | 1 | -19/+30 |
| | |||||
* | web: rewrite prompt handlers in c | David Vazgenovich Shakaryan | 2022-04-26 | 1 | -108/+27 |
| | |||||
* | web: more cleanup | David Vazgenovich Shakaryan | 2022-04-25 | 1 | -2/+2 |
| | |||||
* | web: use a common function to determine the next action | David Vazgenovich Shakaryan | 2022-04-25 | 1 | -4/+4 |
| | |||||
* | web: better separate match control and display logic | David Vazgenovich Shakaryan | 2022-04-25 | 1 | -4/+4 |
| | |||||
* | web: refactor parts of c code | David Vazgenovich Shakaryan | 2022-04-24 | 1 | -1/+1 |
| | |||||
* | web: enforce double out; hide suggested for bot; ui updates | David Vazgenovich Shakaryan | 2022-04-24 | 1 | -48/+50 |
| | |||||
* | web: change colours | David Vazgenovich Shakaryan | 2022-04-24 | 1 | -1/+1 |
| | |||||
* | web: make active prompt more prominent | David Vazgenovich Shakaryan | 2022-04-24 | 1 | -0/+2 |
| | |||||
* | web: minor style updates | David Vazgenovich Shakaryan | 2022-04-24 | 1 | -4/+8 |
| |