Commit Graph

50 Commits

Author SHA1 Message Date
Andrio Celos
5dfd7b6a44 Rework deck editor page and allow drag/drop of decks and cards 2023-08-31 12:26:03 +10:00
Andrio Celos
252b326262 Add a sort button to the deck editor 2023-08-30 19:21:30 +10:00
Andrio Celos
235d3ac25a Show win counts in the lobby too 2023-08-13 22:49:27 +10:00
Andrio Celos
dcb669490c Multiple-game sets
This allows any number of games to be played in a room.
Each player bar will show the number of games that player has won. If a goal win count is selected in More Options, the set will end when someone reaches that many wins. Otherwise, players can start a new game after the game ends.
2023-08-13 22:20:23 +10:00
Andrio Celos
38fc94f4e4 Replace the loading spinner with the Splatoon one
The asset isn't included in this repository for copyright reasons, but will be available on the live site
2023-08-12 18:09:13 +10:00
Andrio Celos
07e046f669 Correct an element ID 2023-07-14 17:53:41 +10:00
Andrio Celos
e417b148c6 Add import from screenshot and import/export multiple decks at once 2023-06-28 15:55:51 +10:00
Andrio Celos
7cc4c35b37 Add a background to most pages
The background image is part of the external assets.
2023-06-24 23:53:58 +10:00
Andrio Celos
6bab8f8ed6 Button overhaul
Replace all hidden <input> checkboxes and radio buttons with <button> elements. This simplifies the DOM, allows for hints when clicking a disabled button and full control over checked states.
2023-06-24 23:52:28 +10:00
Andrio Celos
e46de3b775 Add more hints to the game page 2023-06-23 10:04:24 +10:00
Andrio Celos
d5dde76a34 Add colour testing controls 2023-06-21 22:38:04 +10:00
Andrio Celos
6575419934 Change default turn time limit to none 2023-06-16 09:34:39 +10:00
Andrio Celos
0906969365 Implement turn time limits 2023-06-15 15:27:41 +10:00
Andrio Celos
878d4e45cd Show a player's hand in replays 2023-03-11 01:26:50 +11:00
Andrio Celos
e735de5bfa Add ability to spectate 2023-03-07 14:15:55 +11:00
Andrio Celos
154d223d17 Visual update 2023-02-24 23:28:05 +11:00
Andrio Celos
7c33ceba94 Change theme colour to match data-mined in-game UI 2023-02-23 12:01:19 +11:00
Andrio Celos
bff38964a7 Add a test button to the deck list page
This allows testing the starter deck.
2023-02-23 11:20:42 +11:00
Andrio Celos
14b1b1a623 Add controls help page 2023-02-23 11:03:37 +11:00
Andrio Celos
78bd6b1250 #7 Add a filter box to the deck editor and test UI 2023-02-22 15:02:30 +11:00
Andrio Celos
708ad27356 #1 Implement deck editor test mode. Resolves #1. 2022-12-29 19:20:24 +11:00
Andrio Celos
9dd44b8351 Flip board view for players 2 and 4 2022-12-26 19:13:27 +11:00
Andrio Celos
42956e9e9e Allow rewinding replays 2022-12-26 13:27:25 +11:00
Andrio Celos
bb75c238a8 #5 Basic replay implementation 2022-12-25 12:49:30 +11:00
Andrio Celos
051d568269 Add configurable Discord link 2022-12-20 11:30:10 +11:00
Andrio Celos
59e9de56ce Update URLs 2022-12-15 23:16:41 +11:00
Andrio Celos
391b11a386 Implement the Show Deck button 2022-10-28 14:42:55 +11:00
Andrio Celos
e62e8dc7b8 Improve loading indicators, error and timeout handling 2022-10-28 13:36:40 +11:00
Andrio Celos
d4e8d86571 Rework sync procedure and add a loading indicator
The server will now send a sync message when the client connects via WebSocket. This removes the need to send another GET request to sync game data.
2022-10-25 12:08:18 +11:00
Andrio Celos
3ad1877a4c Rename 'sections' to 'pages' 2022-10-24 11:13:47 +11:00
Andrio Celos
93cde911e6 Fix a deck editor display issue 2022-10-21 14:31:33 +11:00
Andrio Celos
978e08fddf Deck editor mobile layout - #2 2022-10-21 11:40:57 +11:00
Andrio Celos
886a4d0787 Add 'show QR code' button to the lobby 2022-10-21 10:05:30 +11:00
Andrio Celos
5b8ed5ca5d Add touch controls 2022-10-20 13:27:39 +11:00
Andrio Celos
2b39dfb0f7 Layout revamp; add mobile layout for lobby and game pages 2022-10-18 11:20:40 +11:00
Andrio Celos
bc9d930d84 Add favicon 2022-10-14 15:16:54 +11:00
Andrio Celos
2c2deb5691 Fix no section showing up when joining a game with no name set 2022-10-14 14:03:48 +11:00
Andrio Celos
0b6ddb39b0 Client: Fix incorrect back button behaviour 2022-10-14 13:55:26 +11:00
Andrio Celos
191a2982f7 Add a basic deck editor page. #1 2022-10-14 13:44:09 +11:00
Andrio Celos
e3fd48b45e Use history.pushState where possible 2022-10-11 14:01:25 +11:00
Andrio Celos
201376211b Move deck and stage selection to the lobby page 2022-10-11 10:09:33 +11:00
Andrio Celos
bd3604c83c UI adjustments 2022-10-11 00:43:14 +11:00
Andrio Celos
42074825b6 Add more stages and support for up to 4 players. #3 2022-10-08 21:46:09 +11:00
Andrio Celos
3b4e1a865f Enhance keyboard controls
The board can now receive focus.
Hand buttons - arrows: move focus; Space/Enter: select card
Board - arrows: move card; R: rotate clockwise; Shift+R: rotate anticlockwise; Space/Enter: submit play; Backspace/Escape: deselect card
Either - p: toggle pass; s: toggle special attack
2022-10-06 10:58:41 +11:00
Andrio Celos
1d3a3017f7 Add basic OpenGraph metadata 2022-10-05 17:59:12 +11:00
Andrio Celos
1d29356107 Change results page labels and add a leave game link 2022-10-05 16:55:28 +11:00
Andrio Celos
6064f1f47c Rework the pre-game form and add some more validation 2022-10-04 23:34:44 +11:00
Andrio Celos
39accc6957 Add a share button to the lobby page 2022-10-04 12:54:06 +11:00
Andrio Celos
e5ad902e09 Client: Allow the API URL to be changed 2022-10-01 16:27:10 +10:00
Andrio Celos
1f44ab6d56 Initial commit 2022-10-01 16:00:50 +10:00