Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | web: add one-player scoreboard mode | David Vazgenovich Shakaryan | 2022-04-24 | 1 | -0/+8 |
| | |||||
* | web: reduce repetition in prompt handlers | David Vazgenovich Shakaryan | 2022-04-24 | 1 | -114/+75 |
| | |||||
* | web: allow undo for complete matches | David Vazgenovich Shakaryan | 2022-04-23 | 1 | -0/+11 |
| | |||||
* | web: implement prompt-aware keypad | David Vazgenovich Shakaryan | 2022-04-23 | 1 | -0/+14 |
| | |||||
* | web: support two-player scoreboard mode | David Vazgenovich Shakaryan | 2022-04-23 | 1 | -1/+17 |
| | |||||
* | web: support clearing prompt input via keyboard | David Vazgenovich Shakaryan | 2022-04-23 | 1 | -0/+2 |
| | |||||
* | web: clear prompt when undo is pressed | David Vazgenovich Shakaryan | 2022-04-23 | 1 | -0/+1 |
| | |||||
* | web: add undo ability; simplify prompt handlers | David Vazgenovich Shakaryan | 2022-04-23 | 1 | -28/+31 |
| | | | | Undo currently works only for ongoing matches. |