Commit Graph
33 Commits
Author SHA1 Message Date
lucas eae3f376a7 impr(backend-server): move some funtionality into functions (#52) 2026-07-07 21:15:28 +02:00
lucas bf6abfb2fa feat(champions): use champions sent from server (#54) 2026-07-07 21:08:03 +02:00
lucas 710d3ec041 impr(name-input): join on enter (#53) 2026-07-07 20:58:29 +02:00
lucas 51a28417ad fix(mock-socket): remove typo in mock data (#51) 2026-06-22 20:56:35 +02:00
lucas d9225b9ad0 fix(button): pointer collider box after resize (#50) 2026-06-22 20:55:30 +02:00
lucas c0a88d5137 Add end point indicating whether a client id is disconnected and can be rejoined (#46) 2026-06-22 20:15:03 +02:00
lucas 6d6df751dd fix: start match only when player list is full (#47) 2026-05-14 13:28:24 +02:00
lucas 14516a878f Frontend - fix flickers (#44)
* fix flicker for list labels by not recreating
* only show rejoin button when connected
* fix initial flicker on text
2026-05-04 21:07:48 +02:00
lucas 9a3851f802 Frontend - Claude found some bugs (#41) 2026-05-04 20:06:36 +02:00
lucas db3781c11d Add whole body sprites with idle and shoot poses (#34) 2026-05-04 19:29:39 +02:00
lucas c0886a7daf Add script to run both frontend and backend (#40) 2026-04-13 20:36:16 +02:00
lucas 1ea5786ecd Move ready outside client into player and fix frontend schema validation (#39) 2026-04-13 19:50:42 +02:00
lucas d88fb1d6f9 Add node_modules to gitignore 2026-04-13 19:11:07 +02:00
lucas 4069f3df3b Save gamestate and use that when updating visibility (#35) 2026-03-24 20:32:33 +01:00
lucas 03f970d3e8 Only show rejoin button if connected (#36) 2026-03-24 20:32:17 +01:00
lucas 84e4fc4e5d Frontend - Add a simple timer and animate a match state history (#33) 2026-03-03 20:43:54 +01:00
lucas 214e1bb3c4 Add json schemas and match scene to frontend (#29)
- Add json schemas for lobby and match state messages
  - I did a few changes: Player and spectator each have a property client, which has the id/name.
- Add the separatio between lobby and match for messages
- Put the socket api into our own wrapper, to easily have a `MockSocket` to use in tests.
- Rename gamescene to matchscene.
- Add the url param `?mock=lobby` or `?mock=match` to jump to lobby or match with mocked data.
2026-02-02 21:00:56 +01:00
lucas d4bb9b195f Add formatting to frontend (#27) 2026-01-05 19:25:41 +01:00
lucas f3143c7b88 Add basic champion elements (#26) 2026-01-05 19:21:16 +01:00
lucas ebd85d4c05 Add a simple ball (#24) 2025-12-08 22:03:26 +01:00
lucas d89d954f8c Add game scene with ground, table, and cups (#23) 2025-12-08 20:16:35 +01:00
lucas f2ae34e490 Frontend - Lint shit and add github action (#21) 2025-10-27 21:43:43 +01:00
lucas f938c4ebdf Add frontend support for rejoin (#20) 2025-10-27 21:19:04 +01:00
lucas f2f4a9573f Indicate the player with a separate color (#19) 2025-10-27 21:18:44 +01:00
lucas 2b1bb586c9 Frontend toggleRead/toggleRole actions and join (#13) 2025-10-20 19:17:23 +02:00
lucas 429b0cb3cd Robustify towards server (#8) 2025-10-06 19:10:47 +02:00
lucas d5035a9a87 Reposition on resize and add title screen element (#9) 2025-10-06 19:05:05 +02:00
lucas 93ce8285d4 Use custom observer pattern and add toggleRole and toggleReady request (#7) 2025-09-14 21:46:08 +02:00
lucas 89b2554763 Add Websocket connection and join request to frontend (#6) 2025-09-14 21:14:13 +02:00
lucas 3bc69e670a Add TextInput and add name input to lobby (#4) 2025-09-14 20:56:05 +02:00
lucas 77dcad1015 Add a basic lobby (#3)
- Switch to ExcaliburJS
- Add lobby with background table, title, player list and spectator list
- Add buttons that do nothing
2025-09-07 19:30:18 +02:00
lucas dc52147638 Add empty pixijs setup as frontend (#1) 2025-08-24 20:40:10 +02:00
lucas 01213600f2 Add readme 2025-08-24 20:30:33 +02:00