summaryrefslogtreecommitdiff
path: root/web/web_match.c
Commit message (Collapse)AuthorAgeFilesLines
* web: add (incomplete) support for 3+ player matchesDavid Vazgenovich Shakaryan2022-05-201-1/+1
|
* web: store comp info as part of match player info instead of globallyDavid Vazgenovich Shakaryan2022-05-181-4/+42
| | | | | This allows us things like two computer players against one another, which I've also added for testing.
* web: move match info funcs to match fileDavid Vazgenovich Shakaryan2022-05-181-2/+45
|
* web: change winning player messageDavid Vazgenovich Shakaryan2022-05-181-1/+19
|
* web: remove active leg ptr; various cleanupDavid Vazgenovich Shakaryan2022-05-181-0/+7
|
* web: refactor undo logicDavid Vazgenovich Shakaryan2022-05-181-0/+1
|
* web: allow selection of starting points and user to throw firstDavid Vazgenovich Shakaryan2022-05-091-0/+7
| | | | | | | This new option selection code is a bit messy for now. It requires the options and their order to be in sync between the prompt functions and the corresponding submit functions. There's also a bit too much repetition of generic code that's applicable to all options.
* web: abstract away most EM_ASM calls to dom fileDavid Vazgenovich Shakaryan2022-05-041-1/+1
|
* web: split code into more filesDavid Vazgenovich Shakaryan2022-05-011-0/+20
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.