| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fix link to codeHEADmaster | Florian Fischer | 2026-03-21 | 1 | -1/+1 |
| | | |||||
| * | add build dependency and add minimal pyproject.toml | Florian Fischer | 2025-01-27 | 4 | -1/+32 |
| | | |||||
| * | install setuptools | Florian Fischer | 2025-01-27 | 2 | -1/+21 |
| | | |||||
| * | add default pylint.rc | Florian Fischer | 2025-01-27 | 1 | -0/+647 |
| | | |||||
| * | move python code into the project's root | Florian Fischer | 2025-01-27 | 12 | -22/+3 |
| | | |||||
| * | bump python version to 3.13 | Florian Fischer | 2025-01-27 | 2 | -300/+617 |
| | | |||||
| * | add common python Makefile | Florian Fischer | 2025-01-27 | 2 | -0/+42 |
| | | |||||
| * | remove explicit yapf style and apply the default | Florian Fischer | 2025-01-27 | 3 | -408/+16 |
| | | |||||
| * | update repo link | Florian Fischer | 2025-01-27 | 1 | -1/+1 |
| | | |||||
| * | rename ws to ws_conn | Florian Fischer | 2021-01-10 | 1 | -15/+15 |
| | | |||||
| * | change 'Salad' to 'Salat' | Florian Fischer | 2021-01-10 | 2 | -2/+2 |
| | | |||||
| * | provide docstrings for all modules, classes, and functions | Florian Fischer | 2021-01-10 | 3 | -8/+28 |
| | | |||||
| * | use logging lazy formatting instead of f-strings | Florian Fischer | 2021-01-10 | 1 | -8/+8 |
| | | |||||
| * | remove useless parenthesis | Florian Fischer | 2021-01-10 | 1 | -6/+6 |
| | | |||||
| * | make reconnects more reliable | Florian Fischer | 2021-01-10 | 2 | -142/+196 |
| | | | | | | | | | | | | | * Keep track of a logical clock of draw events * The clock tells all clients if their stored last_drawn words are outdated * Try to reestablish a websocket when an error occurs or the socket gets closed * Alert the user about broken connections and try to reload the page * Don't display the amount of words in the schuessel instead show how many words are still to guess. This is equal for any client. * Rename words_drawn to words_guessed * Ran yapf on schuessel.py and server.py | ||||
| * | move pipenv files and style.yapf to root dir | Florian Fischer | 2021-01-10 | 3 | -0/+0 |
| | | |||||
| * | remove egg.info | Florian Fischer | 2021-01-10 | 7 | -30/+0 |
| | | |||||
| * | add java script alert when a phase change occured during draw | Florian Fischer | 2021-01-09 | 2 | -3/+13 |
| | | |||||
| * | only consider the current word for the word count of the active player | Florian Fischer | 2021-01-09 | 1 | -1/+2 |
| | | |||||
| * | store last drawn word in the browsers local storage to support reconnects | Florian Fischer | 2021-01-09 | 2 | -11/+28 |
| | | | | | | | | | | | | | | | | | | | | Before this change last_word was only a javascript variable resetted on a reload. This means if a player's connection dropped during their turn and they reconnect their browser doesn't no that they actually have already drawn a word and thus will not count it as guessed. Now the last drawn word is stored in the browser's local storage and is persistent during reloads. This fixes the reconnect during once turn but allows a wrong situation: Player A draws stores the word and it connection drops. Player B draws some other words. Player A reconnects missing the events and draws a actuall new card but they restored their stored previously drawn word send it to the server and it will be counted as guessed. Fix this by storing an event count for the schuessel and only restore last_word if no actions occurred during the reconnect. | ||||
| * | don't panic when receiving a unknown action | Florian Fischer | 2021-01-09 | 1 | -1/+1 |
| | | |||||
| * | implement reset button and simplify html | Florian Fischer | 2021-01-09 | 2 | -16/+35 |
| | | |||||
| * | mention cyberschuessel instance at cyberschuessel.muhq.space | Florian Fischer | 2021-01-09 | 1 | -0/+2 |
| | | |||||
| * | fix typo in README and link to gpl3 | Florian Fischer | 2021-01-09 | 1 | -2/+4 |
| | | |||||
| * | Improve readme and fix link to source in webpage | Florian Fischer | 2021-01-09 | 2 | -1/+14 |
| | | |||||
| * | initial commit | Florian Fischer | 2021-01-09 | 24 | -0/+1978 |
