summaryrefslogtreecommitdiff
path: root/web/static/dartboat.js
Commit message (Collapse)AuthorAgeFilesLines
* web: move opt logic to cDavid Vazgenovich Shakaryan2022-05-041-14/+8
|
* web: oi from cDavid Vazgenovich Shakaryan2022-05-031-17/+1
|
* web: use generic JS function for updating opt elemsDavid Vazgenovich Shakaryan2022-05-031-14/+10
|
* web: reuse elem array appending for drawing visitsDavid Vazgenovich Shakaryan2022-05-031-23/+11
|
* web: bloody JS scopeā€¦David Vazgenovich Shakaryan2022-05-031-1/+1
|
* web: more use of generic JS functionsDavid Vazgenovich Shakaryan2022-05-031-19/+7
|
* web: use generic JS functions for manipulating DOMDavid Vazgenovich Shakaryan2022-05-031-62/+24
|
* web: buffer and flush promptDavid Vazgenovich Shakaryan2022-05-031-9/+9
|
* web: more renamingDavid Vazgenovich Shakaryan2022-05-021-2/+2
|
* web: buffer player info and flush on state changeDavid Vazgenovich Shakaryan2022-05-021-3/+3
| | | | | Constant calls from Wasm to JS to replace unchanged elements in the DOM is not very efficient.
* web: clean up svg generation codeDavid Vazgenovich Shakaryan2022-04-291-23/+3
|
* web: javascript needs more pointersDavid Vazgenovich Shakaryan2022-04-291-0/+24
|
* web: less javascript, more cDavid Vazgenovich Shakaryan2022-04-281-0/+24
|
* web: the bot should have his own dartboardDavid Vazgenovich Shakaryan2022-04-281-18/+19
|
* web: use technical terminologyDavid Vazgenovich Shakaryan2022-04-271-1/+1
|
* web: no need to expose horizontal and vertical stdevs individuallyDavid Vazgenovich Shakaryan2022-04-271-4/+2
|
* web: use targeted event listenersDavid Vazgenovich Shakaryan2022-04-271-29/+22
|
* web: use short alias for selectors; make key label function genericDavid Vazgenovich Shakaryan2022-04-271-49/+42
|
* web: let's use our new functionDavid Vazgenovich Shakaryan2022-04-271-15/+11
|
* web: malloc c strings explicitly; pass null pointer when emptyDavid Vazgenovich Shakaryan2022-04-271-1/+13
|
* web: move some memory management to c; use ccall wrapper lessDavid Vazgenovich Shakaryan2022-04-271-14/+6
|
* web: handle race condition on loadDavid Vazgenovich Shakaryan2022-04-271-0/+8
| | | | | This is incredibly unlikely to ever matter unless your browser is a potato.
* web: rid HTML of inline JSDavid Vazgenovich Shakaryan2022-04-261-6/+21
| | | | | Maybe I'll change this to use targeted event listeners when I'm not lazy.
* web: expand on help textDavid Vazgenovich Shakaryan2022-04-261-4/+0
|
* web: prevent player info boxes flashing on loadDavid Vazgenovich Shakaryan2022-04-261-11/+7
|
* web: round away floating-point nonsenseDavid Vazgenovich Shakaryan2022-04-261-1/+2
|
* web: support quick rematch, fix checkout pointsDavid Vazgenovich Shakaryan2022-04-261-19/+30
|
* web: rewrite prompt handlers in cDavid Vazgenovich Shakaryan2022-04-261-108/+27
|
* web: more cleanupDavid Vazgenovich Shakaryan2022-04-251-2/+2
|
* web: use a common function to determine the next actionDavid Vazgenovich Shakaryan2022-04-251-4/+4
|
* web: better separate match control and display logicDavid Vazgenovich Shakaryan2022-04-251-4/+4
|
* web: refactor parts of c codeDavid Vazgenovich Shakaryan2022-04-241-1/+1
|
* web: enforce double out; hide suggested for bot; ui updatesDavid Vazgenovich Shakaryan2022-04-241-48/+50
|
* web: change coloursDavid Vazgenovich Shakaryan2022-04-241-1/+1
|
* web: make active prompt more prominentDavid Vazgenovich Shakaryan2022-04-241-0/+2
|
* web: minor style updatesDavid Vazgenovich Shakaryan2022-04-241-4/+8
|
* web: add one-player scoreboard modeDavid Vazgenovich Shakaryan2022-04-241-0/+8
|
* web: reduce repetition in prompt handlersDavid Vazgenovich Shakaryan2022-04-241-114/+75
|
* web: allow undo for complete matchesDavid Vazgenovich Shakaryan2022-04-231-0/+11
|
* web: implement prompt-aware keypadDavid Vazgenovich Shakaryan2022-04-231-0/+14
|
* web: support two-player scoreboard modeDavid Vazgenovich Shakaryan2022-04-231-1/+17
|
* web: support clearing prompt input via keyboardDavid Vazgenovich Shakaryan2022-04-231-0/+2
|
* web: clear prompt when undo is pressedDavid Vazgenovich Shakaryan2022-04-231-0/+1
|
* web: add undo ability; simplify prompt handlersDavid Vazgenovich Shakaryan2022-04-231-28/+31
| | | | Undo currently works only for ongoing matches.
* web: store user opts in browser storageDavid Vazgenovich Shakaryan2022-04-231-2/+14
|
* misc web ui cleanupDavid Vazgenovich Shakaryan2022-04-231-87/+88
|
* use common functions for updating player statesDavid Vazgenovich Shakaryan2022-04-231-37/+11
|
* implement generic ccall scheduler in web jsDavid Vazgenovich Shakaryan2022-04-221-17/+12
|
* handle web remaining state from c codeDavid Vazgenovich Shakaryan2022-04-221-21/+8
|
* more web ui refactoringDavid Vazgenovich Shakaryan2022-04-221-104/+104
|