summaryrefslogtreecommitdiff
path: root/web/dartboat_wasm.c
Commit message (Collapse)AuthorAgeFilesLines
* web: generate all required files in new dirDavid Vazgenovich Shakaryan2022-05-021-31/+0
|
* web: move control logic to separate fileDavid Vazgenovich Shakaryan2022-05-021-300/+1
|
* web: split opts and prompt handlers into separate filesDavid Vazgenovich Shakaryan2022-05-021-185/+23
| | | | | 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-011-154/+4
| | | | | | 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-011-4/+4
|
* 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-291-1/+1
|
* web: less javascript, more cDavid Vazgenovich Shakaryan2022-04-281-2/+5
|
* web: the bot should have his own dartboardDavid Vazgenovich Shakaryan2022-04-281-12/+15
|
* web: use technical terminologyDavid Vazgenovich Shakaryan2022-04-271-1/+1
|
* web: no need to expose horizontal and vertical stdevs individuallyDavid Vazgenovich Shakaryan2022-04-271-5/+3
|
* web: use short alias for selectors; make key label function genericDavid Vazgenovich Shakaryan2022-04-271-8/+8
|
* web: move some memory management to c; use ccall wrapper lessDavid Vazgenovich Shakaryan2022-04-271-7/+9
|
* web: handle race condition on loadDavid Vazgenovich Shakaryan2022-04-271-1/+6
| | | | | This is incredibly unlikely to ever matter unless your browser is a potato.
* web: rid HTML of inline JSDavid Vazgenovich Shakaryan2022-04-261-12/+12
| | | | | Maybe I'll change this to use targeted event listeners when I'm not lazy.
* web: expand on help textDavid Vazgenovich Shakaryan2022-04-261-1/+1
|
* web: prevent stdev from being set to NaNDavid Vazgenovich Shakaryan2022-04-261-2/+5
|
* web: support quick rematch, fix checkout pointsDavid Vazgenovich Shakaryan2022-04-261-11/+49
|
* web: fix prompt not clearing before bot throwDavid Vazgenovich Shakaryan2022-04-261-2/+2
|
* web: rewrite prompt handlers in cDavid Vazgenovich Shakaryan2022-04-261-5/+161
|
* 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-251-101/+113
|
* web: use a common function to determine the next actionDavid Vazgenovich Shakaryan2022-04-251-34/+56
|
* 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-251-157/+164
|
* web: refactor parts of c codeDavid Vazgenovich Shakaryan2022-04-241-84/+68
|
* web: error on negative visit scoreDavid Vazgenovich Shakaryan2022-04-241-2/+1
|
* web: enforce double out; hide suggested for bot; ui updatesDavid Vazgenovich Shakaryan2022-04-241-6/+8
|
* web: minor style updatesDavid Vazgenovich Shakaryan2022-04-241-13/+9
|
* web: clear match display after match is overDavid Vazgenovich Shakaryan2022-04-241-6/+14
|
* web: display user as active when undoing after bot winDavid Vazgenovich Shakaryan2022-04-241-0/+3
|
* web: add one-player scoreboard modeDavid Vazgenovich Shakaryan2022-04-241-3/+8
|
* web: allow undo for complete matchesDavid Vazgenovich Shakaryan2022-04-231-3/+9
|
* web: implement prompt-aware keypadDavid Vazgenovich Shakaryan2022-04-231-5/+9
|
* web: support two-player scoreboard modeDavid Vazgenovich Shakaryan2022-04-231-34/+75
|
* web: fix undo state carrying over into next matchDavid Vazgenovich Shakaryan2022-04-231-6/+5
|
* web: fix memory leak when undone match ends in fewer visitsDavid Vazgenovich Shakaryan2022-04-231-2/+5
|
* web: update match info to match undone stateDavid Vazgenovich Shakaryan2022-04-231-6/+18
|
* web: reset averages at start of matchDavid Vazgenovich Shakaryan2022-04-231-0/+2
|
* web: add undo ability; simplify prompt handlersDavid Vazgenovich Shakaryan2022-04-231-3/+25
| | | | Undo currently works only for ongoing matches.
* web: store user opts in browser storageDavid Vazgenovich Shakaryan2022-04-231-0/+1
|
* misc web ui cleanupDavid Vazgenovich Shakaryan2022-04-231-16/+16
|
* use common functions for updating player statesDavid Vazgenovich Shakaryan2022-04-231-17/+17
|
* implement generic ccall scheduler in web jsDavid Vazgenovich Shakaryan2022-04-221-29/+16
|
* handle web remaining state from c codeDavid Vazgenovich Shakaryan2022-04-221-6/+43
|
* more web ui refactoringDavid Vazgenovich Shakaryan2022-04-221-7/+9
|
* move remainder of match control code out of JSDavid Vazgenovich Shakaryan2022-04-221-49/+66
|