Commit Graph

21 Commits

Author SHA1 Message Date
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
Andrio Celos
e73745c23f Move WebSocket code to app.ts 2022-10-06 14:42:02 +11:00
Andrio Celos
6e0247031d Don't auto join a game on app load if saved nickname is empty 2022-10-06 11:54:28 +11:00
Andrio Celos
91cacaf132 Client: Reset the pre-game form if an error occurs joining on app load 2022-10-06 11:52:29 +11:00
Andrio Celos
a1e91f1e09 Server: Complete HTTP caching support 2022-10-06 11:32:12 +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
59dc677077 Fix a bug where a player rejoining triggered a join message and desyncs 2022-10-05 16:43:45 +11:00
Andrio Celos
ada0c9f150 Add more visual feedback for hover, selected and unavailable cards 2022-10-05 16:37:15 +11:00
Andrio Celos
ff9039f245 Save the last deck, and select the starter deck by default 2022-10-05 16:00:08 +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
632e53e7b3 Client: Nulls in player list is no longer allowed 2022-10-02 01:03:55 +10:00
Andrio Celos
42864b92be Fix hover special spaces of player 2 not appearing correctly 2022-10-02 01:03:09 +10:00
Andrio Celos
e5ad902e09 Client: Allow the API URL to be changed 2022-10-01 16:27:10 +10:00
Andrio Celos
37e13c0001 Fix 400 error when starting a new game 2022-10-01 16:24:34 +10:00
Andrio Celos
1f44ab6d56 Initial commit 2022-10-01 16:00:50 +10:00