Commit Graph
13 Commits
Author SHA1 Message Date
Denis 465eb5554c add rejoin action (#12)
* answer to join call

* add is_disconnected flag

* add rejoin action

* fix missing json dumps

* fix old websocket object used after rejoin

* add disconnect, reconnect and send message logic

* use player object to send dataw

* (wip) add tests for disconnect

* fix abgelieferte gugus

* turn off readyness and enable spectator in disconnect function
2025-10-13 21:32:06 +02:00
Denis d95641d168 add toggle ready and player ids (#11) 2025-10-09 20:26:05 +02:00
Denis 72e3adc6f9 add broadcast upon join (#10)
* add broadcast upon join

* add max players

* add toggleRole action

* add simple error handling

* add player check when toggling role

* fix backend-breaking bug
2025-10-06 21:56:20 +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
Denis abf72c8093 add draft server with join action implemented (#5)
* add draft server with join action implemented

* check if message is None

* add websockets library

* some fixes
2025-09-14 21:06:25 +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
Denis ea8d1871e6 add backend folder and draft code (#2)
* add gitignore

* add backend folder

* add python venv to gitignore

* add requirements for backend

* add __pycache__

* add draft code for backend app
2025-08-24 21:03:26 +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