summaryrefslogtreecommitdiff
path: root/web
Commit message (Collapse)AuthorAgeFilesLines
* web: use generic JS function for updating opt elemsDavid Vazgenovich Shakaryan2022-05-032-16/+27
|
* web: move elem construction to shared dom fileDavid Vazgenovich Shakaryan2022-05-034-80/+90
|
* web: reuse elem array appending for drawing visitsDavid Vazgenovich Shakaryan2022-05-033-66/+99
|
* web: bloody JS scopeā€¦David Vazgenovich Shakaryan2022-05-031-1/+1
|
* web: more use of generic JS functionsDavid Vazgenovich Shakaryan2022-05-037-33/+54
|
* web: use generic JS functions for manipulating DOMDavid Vazgenovich Shakaryan2022-05-036-97/+91
|
* web: buffer and flush promptDavid Vazgenovich Shakaryan2022-05-034-26/+95
|
* web: move reading opts to opts fileDavid Vazgenovich Shakaryan2022-05-033-4/+10
|
* web: more renamingDavid Vazgenovich Shakaryan2022-05-027-37/+37
|
* web: move some stuff aroundDavid Vazgenovich Shakaryan2022-05-024-61/+56
|
* web: buffer player info and flush on state changeDavid Vazgenovich Shakaryan2022-05-024-18/+113
| | | | | Constant calls from Wasm to JS to replace unchanged elements in the DOM is not very efficient.
* web: minor cleanup of prompt codeDavid Vazgenovich Shakaryan2022-05-025-18/+23
|
* web: generate all required files in new dirDavid Vazgenovich Shakaryan2022-05-023-3/+6
|
* web: move control logic to separate fileDavid Vazgenovich Shakaryan2022-05-025-309/+329
|
* web: add MakefileDavid Vazgenovich Shakaryan2022-05-021-0/+21
|
* web: split opts and prompt handlers into separate filesDavid Vazgenovich Shakaryan2022-05-025-185/+238
| | | | | Currently using a bunch of forward declarations in prompt.c that should be cleaned up later.
* web: split code into more filesDavid Vazgenovich Shakaryan2022-05-017-157/+208
| | | | | | This is currently very messy with all the files interdependent on one another and a lot of the logic still in the main file. It will take some time to refactor and clean up.
* move valid points check to match fileDavid Vazgenovich Shakaryan2022-05-011-8/+1
|
* make name consistent; minor file organisationDavid Vazgenovich Shakaryan2022-05-014-12/+19
|
* web: increase default delay since the bot's dartboard is so prettyDavid Vazgenovich Shakaryan2022-04-301-1/+1
|
* grow memory for visits as neededDavid Vazgenovich Shakaryan2022-04-301-0/+2
|
* web: clean up svg generation codeDavid Vazgenovich Shakaryan2022-04-293-67/+36
|
* web: javascript needs more pointersDavid Vazgenovich Shakaryan2022-04-292-46/+57
|
* web: less javascript, more cDavid Vazgenovich Shakaryan2022-04-285-156/+311
|
* web: the bot should have his own dartboardDavid Vazgenovich Shakaryan2022-04-285-31/+213
|
* web: use technical terminologyDavid Vazgenovich Shakaryan2022-04-272-2/+2
|
* web: no need to expose horizontal and vertical stdevs individuallyDavid Vazgenovich Shakaryan2022-04-272-9/+5
|
* 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-272-57/+50
|
* 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-272-21/+15
|
* web: handle race condition on loadDavid Vazgenovich Shakaryan2022-04-272-1/+14
| | | | | This is incredibly unlikely to ever matter unless your browser is a potato.
* web: rid HTML of inline JSDavid Vazgenovich Shakaryan2022-04-263-38/+53
| | | | | Maybe I'll change this to use targeted event listeners when I'm not lazy.
* web: expand on help textDavid Vazgenovich Shakaryan2022-04-263-6/+6
|
* web: prevent player info boxes flashing on loadDavid Vazgenovich Shakaryan2022-04-263-19/+24
|
* web: round away floating-point nonsenseDavid Vazgenovich Shakaryan2022-04-261-1/+2
|
* web: prevent stdev from being set to NaNDavid Vazgenovich Shakaryan2022-04-261-2/+5
|
* web: support quick rematch, fix checkout pointsDavid Vazgenovich Shakaryan2022-04-264-36/+83
|
* web: set dark colour scheme (mostly for scrollbars)David Vazgenovich Shakaryan2022-04-261-0/+1
|
* web: start shrinking font only when used part of display shrinksDavid Vazgenovich Shakaryan2022-04-261-4/+4
|
* web: fix prompt not clearing before bot throwDavid Vazgenovich Shakaryan2022-04-262-3/+2
|
* web: fix data types in HTML onclick scriptsDavid Vazgenovich Shakaryan2022-04-261-13/+13
|
* web: rewrite prompt handlers in cDavid Vazgenovich Shakaryan2022-04-262-113/+188
|
* web: undo after num darts prompt should go back to num darts promptDavid Vazgenovich Shakaryan2022-04-251-2/+12
|
* web: more cleanupDavid Vazgenovich Shakaryan2022-04-254-105/+117
|
* web: use a common function to determine the next actionDavid Vazgenovich Shakaryan2022-04-254-40/+62
|
* web: simplify active user tracking and relevant promptsDavid Vazgenovich Shakaryan2022-04-251-55/+29
|
* web: fix missing prompt at start of matchDavid Vazgenovich Shakaryan2022-04-251-1/+1
|
* web: better separate match control and display logicDavid Vazgenovich Shakaryan2022-04-252-161/+168
|