Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move a bunch of general match logic from web to lib | David Vazgenovich Shakaryan | 2022-05-23 | 1 | -43/+36 |
| | |||||
* | web: remove hard-coded match modes | David Vazgenovich Shakaryan | 2022-05-21 | 1 | -10/+5 |
| | |||||
* | web: reimplement menus as a stack with more shared code | David Vazgenovich Shakaryan | 2022-05-21 | 1 | -42/+1 |
| | |||||
* | web: support visit log for 3+ player matches | David Vazgenovich Shakaryan | 2022-05-20 | 1 | -0/+8 |
| | | | | | The new match modes are for testing. They'll eventually be removed in favour of true configurability. | ||||
* | web: dynamically allocate player bufs | David Vazgenovich Shakaryan | 2022-05-20 | 1 | -1/+1 |
| | |||||
* | web: add (incomplete) support for 3+ player matches | David Vazgenovich Shakaryan | 2022-05-20 | 1 | -11/+11 |
| | |||||
* | web: display comp name in throwing prompt | David Vazgenovich Shakaryan | 2022-05-18 | 1 | -2/+2 |
| | |||||
* | web: store comp info as part of match player info instead of globally | David Vazgenovich Shakaryan | 2022-05-18 | 1 | -17/+18 |
| | | | | | This allows us things like two computer players against one another, which I've also added for testing. | ||||
* | web: remove assumption that comp is player 2 | David Vazgenovich Shakaryan | 2022-05-18 | 1 | -8/+7 |
| | |||||
* | web: fix bug when player 2 presses remaining key | David Vazgenovich Shakaryan | 2022-05-18 | 1 | -1/+1 |
| | |||||
* | web: use match info funcs instead of checking mode | David Vazgenovich Shakaryan | 2022-05-18 | 1 | -14/+10 |
| | |||||
* | web: move match info funcs to match file | David Vazgenovich Shakaryan | 2022-05-18 | 1 | -40/+6 |
| | |||||
* | web: change winning player message | David Vazgenovich Shakaryan | 2022-05-18 | 1 | -10/+2 |
| | |||||
* | web: remove active leg ptr; various cleanup | David Vazgenovich Shakaryan | 2022-05-18 | 1 | -8/+5 |
| | |||||
* | web: support first-visit undo when player 2 throws first | David Vazgenovich Shakaryan | 2022-05-18 | 1 | -2/+14 |
| | |||||
* | web: refactor undo logic | David Vazgenovich Shakaryan | 2022-05-18 | 1 | -52/+73 |
| | |||||
* | web: add throw animation | David Vazgenovich Shakaryan | 2022-05-16 | 1 | -1/+5 |
| | |||||
* | web: fix ending match mid-comp-throw and starting another quickly | David Vazgenovich Shakaryan | 2022-05-16 | 1 | -20/+17 |
| | |||||
* | web: clean up properly when match is ended while comp is throwing | David Vazgenovich Shakaryan | 2022-05-16 | 1 | -4/+22 |
| | |||||
* | web: support ending ongoing match; ui/colour tweaks | David Vazgenovich Shakaryan | 2022-05-16 | 1 | -0/+2 |
| | | | | | | Ending a match while the computer is throwing currently results in data being written to the prompt because any scheduled C calls are not being cleared yet. | ||||
* | web: use icons for settings; misc changes | David Vazgenovich Shakaryan | 2022-05-13 | 1 | -2/+2 |
| | |||||
* | web: add exit dialogue while match is active | David Vazgenovich Shakaryan | 2022-05-10 | 1 | -0/+4 |
| | |||||
* | web: fix post-match undo when bot is throwing second | David Vazgenovich Shakaryan | 2022-05-10 | 1 | -1/+5 |
| | |||||
* | web: allow selection of starting points and user to throw first | David Vazgenovich Shakaryan | 2022-05-09 | 1 | -14/+30 |
| | | | | | | | 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: fix memory bugs | David Vazgenovich Shakaryan | 2022-05-09 | 1 | -1/+1 |
| | |||||
* | web: abstract away most EM_ASM calls to dom file | David Vazgenovich Shakaryan | 2022-05-04 | 1 | -2/+2 |
| | |||||
* | web: fix averages after undo | David Vazgenovich Shakaryan | 2022-05-04 | 1 | -2/+2 |
| | |||||
* | formatting | David Vazgenovich Shakaryan | 2022-05-04 | 1 | -8/+8 |
| | |||||
* | web: oi from c | David Vazgenovich Shakaryan | 2022-05-03 | 1 | -4/+4 |
| | |||||
* | web: more use of generic JS functions | David Vazgenovich Shakaryan | 2022-05-03 | 1 | -4/+4 |
| | |||||
* | web: use generic JS functions for manipulating DOM | David Vazgenovich Shakaryan | 2022-05-03 | 1 | -1/+1 |
| | |||||
* | web: buffer and flush prompt | David Vazgenovich Shakaryan | 2022-05-03 | 1 | -4/+6 |
| | |||||
* | web: more renaming | David Vazgenovich Shakaryan | 2022-05-02 | 1 | -8/+8 |
| | |||||
* | web: move some stuff around | David Vazgenovich Shakaryan | 2022-05-02 | 1 | -0/+20 |
| | |||||
* | web: buffer player info and flush on state change | David Vazgenovich Shakaryan | 2022-05-02 | 1 | -8/+11 |
| | | | | | Constant calls from Wasm to JS to replace unchanged elements in the DOM is not very efficient. | ||||
* | web: minor cleanup of prompt code | David Vazgenovich Shakaryan | 2022-05-02 | 1 | -10/+5 |
| | |||||
* | web: move control logic to separate file | David Vazgenovich Shakaryan | 2022-05-02 | 1 | -0/+257 |