5 Commits
Author SHA1 Message Date
lucas c0886a7daf Add script to run both frontend and backend (#40) 2026-04-13 20:36:16 +02:00
Denisandlucas 01211f6243 add async multi-client unit tests (#25)
* add class method to create player instance from dict

* update server code to use changes to player interface

* update gitignore

* update requirements

* add join action

* add client class

* add lobby class

* add new server implementation

* backup old server implementation

* test for player names in join action

* remove print statement

* add gamestate to dict method

* complete join action unit test

* move actions to their own file

* check if websocket is none before sending a message

* only toggle ready if client is a player

* remove old code

* move test utiliy wrapper and classes into separate module

* add toggle ready method and return correct gamestate response

* fix async test methods for join and toggle ready

* add script to start the autobeerpong server

* remove old files

* remove print statement

* remove unused imports and print statements

* check broadcast responses using assertEqual

* update README

* Add formatting to frontend (#27)

* update README

---------

Co-authored-by: Lucas Habersaat <lucas@habersaat.ch>
2026-01-11 19:33:54 +01:00
lucas d4bb9b195f Add formatting to frontend (#27) 2026-01-05 19:25:41 +01: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 01213600f2 Add readme 2025-08-24 20:30:33 +02:00