Commit Graph

63 Commits

Author SHA1 Message Date
Andrio Celos
e11497fdfc Fix touch controls on Android Chrome 2023-02-26 12:41:39 +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
d2712f8e2c Fix closing the help dialog not changing the URL 2023-02-23 11:10:06 +11:00
Andrio Celos
14b1b1a623 Add controls help page 2023-02-23 11:03:37 +11:00
Andrio Celos
22bcc42858 Enable rotating with the right mouse button 2023-02-22 23:59:58 +11:00
Andrio Celos
7cc60b49d1 #7 Clear filter when opening deck editor/test page. Resolves #7. 2023-02-22 15:07:52 +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
c082077660 Fix CheckButton causing 'cannot read properties of undefined' on Edge 2023-01-10 20:05:17 +11:00
Andrio Celos
c809e19e06 Passing shouldn't count toward 'special points' stats 2022-12-29 20:20:02 +11:00
Andrio Celos
496ac59af4 Fix incorrect start space during deck editor test 2022-12-29 19:28:31 +11:00
Andrio Celos
708ad27356 #1 Implement deck editor test mode. Resolves #1. 2022-12-29 19:20:24 +11:00
Andrio Celos
673eb18aa9 Track inactive games and add a command to lock the server for updates
A game that has had no activity for 5 minutes is considered inactive. There can be a limited number of inactive games before they are deleted. A console command is added that will wait for all games to become inactive before stopping the server, and prevent starting new games.
2022-12-28 00:03:10 +11:00
Andrio Celos
7a7d03d165 Fix mobile controls with flipped board 2022-12-28 00:00:29 +11:00
Andrio Celos
f1fa70ab14 Store 'UI base colour is special colour' flags in replays 2022-12-26 19:15:38 +11:00
Andrio Celos
9dd44b8351 Flip board view for players 2 and 4 2022-12-26 19:13:27 +11:00
Andrio Celos
94739183ac Tell the client where the starting spaces are 2022-12-26 19:13:00 +11:00
Andrio Celos
2daac8b1bc Allow out-of-bounds spaces to be highlighted 2022-12-26 14:49:58 +11:00
Andrio Celos
beec071387 Fix game controls not initialising correctly 2022-12-26 14:49:43 +11:00
Andrio Celos
0cdfc3bbbd #5 Implement replay URLs 2022-12-26 14:36:04 +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
4113b150c4 Fix some playable cards being shown as unplayable 2022-12-22 15:23:48 +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
485d2c97d3 Shrink card name for Forge Splattershot Pro 2022-12-03 14:52:33 +11:00
Andrio Celos
fc41531398 Recolour some UI elements to match the player's ink 2022-10-28 15:05:50 +11:00
Andrio Celos
391b11a386 Implement the Show Deck button 2022-10-28 14:42:55 +11:00
Andrio Celos
71a68d39e2 Lobby page enhancements 2022-10-28 13:46:55 +11:00
Andrio Celos
e62e8dc7b8 Improve loading indicators, error and timeout handling 2022-10-28 13:36:40 +11:00
Andrio Celos
a2ea957b2c Enhance list buttons style 2022-10-25 14:39:47 +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
e553dbeb7a Confirm when leaving the deck editor with unsaved changes 2022-10-23 13:16:55 +11:00
Andrio Celos
93cde911e6 Fix a deck editor display issue 2022-10-21 14:31:33 +11:00
Andrio Celos
5b36ec6bf1 Fix game board display issues 2022-10-21 12:12:29 +11:00
Andrio Celos
978e08fddf Deck editor mobile layout - #2 2022-10-21 11:40:57 +11:00
Andrio Celos
67031c7be3 Allow configuring QR code correction level 2022-10-21 10:25:19 +11:00
Andrio Celos
886a4d0787 Add 'show QR code' button to the lobby 2022-10-21 10:05:30 +11:00
Andrio Celos
af5c4fa1ed Hide rotate and deck buttons for spectators or ended games 2022-10-20 13:51:25 +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
260845bc6d Client: Don't run popstate handler on programmatic hash change 2022-10-14 14:57:14 +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
fe9d3c3d64 Enhance lobby UI 2022-10-11 10:40:05 +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