32 Commits

Author SHA1 Message Date
foin137
c2d9877787 bug in gameLogRefresh ($ in javascript) 2025-04-27 22:55:52 +02:00
Suiram1701
5e6f420e9e Improved endpoint security (Fixes #35 ) 2025-04-22 18:08:52 +00:00
foin137
0c42f67d77 Update Werwolf.php
Update links to webpage
2024-08-17 18:43:16 +02:00
foin137
30fea14c07 Include license statement 2023-11-05 16:07:41 +01:00
foin137
2bf710e215 Possibility to disable new games
Include possibility to disable new games by changing a constant in constants.php
2023-11-05 16:02:36 +01:00
foin137
93b38cfc47 Handle mysqli errors
- Handle mysql errors that are no longer silenced per default for new php versions
- Handled error when log file cannot be created
2023-11-05 15:44:24 +01:00
eYeWoRRy
d264869b41 Smaller code changes - especially the switch from includes and constants to the new folder 2021-12-26 17:11:45 +01:00
eYeWoRRy
4263550e70 Moved all php functions into a new Folder "includes" and added a "require_once" at top of the php code. 2021-12-26 17:11:10 +01:00
foin137
fcda5cb46c [#26] Fix bug when removing players
Makes sure that the game can continue when waiting for and removing a player
2021-01-29 20:07:41 +01:00
foin137
e180050c95 Fix typo
Fix typo in Phase 2
2021-01-29 19:53:09 +01:00
foin137
0319b6861a Merge pull request #29 from foin137/waiting_for_other_players
Let players choose when to show inactive players
2021-01-29 19:44:47 +01:00
foin137
d0e1867bde Let players choose when to show inactive players
Add an option to choose how long until the game shows who we are still waiting for.
2021-01-29 19:43:45 +01:00
foin137
2ffda7185f [#27] Fix bug when deleting games
Makes sure that when we want to exit a game and the game is not there anymore, we can reset our cookies.

Fixes #27, at least partially, there are still error messages, but at least it's playable again
2021-01-29 18:34:37 +01:00
foin137
28697e7174 Constant for max player number 2020-12-20 14:17:15 +01:00
foin137
66d4663e52 waiting_for_others improvement
Shows what players we are waiting for, but only after a predefined time
2020-12-20 14:13:30 +01:00
detlef
7829605395 - Namen der Spieler, auf die gewartet wird, werden den Mitspielern angezeigt 2020-12-20 11:24:27 +01:00
foin137
b97c8719d7 Typo: Punkte bei log
Punkte bei log-Einträgen hinzugefügt
2020-09-20 22:30:15 +02:00
foin137
678b19ced3 remove duplicates (tote)
remove duplicates from tote-array
2020-09-20 22:17:48 +02:00
Joshix-1
bc05833035 Add points to log messages 2020-09-19 22:03:53 +02:00
foin137
746547d629 fix-bürgermeister-weitergeben-bug
Fix: If "Bürgermeister" is killed last and he has to choose a new one and if a new game is started, he has to choose a new one before the new game can be started.
Also changed version
2020-09-13 15:51:04 +02:00
foin137
038bc3c3e6 version-constant
Added a constant that contains the version and that is defined in constants.php
2020-09-13 14:58:39 +02:00
foin137
3c67d8d8a3 Count urwolf as werwolf (paranormaler ermittler)
Urwolf should be recognized as werwolf by "Paranormaler Ermittler"
2020-09-13 14:50:13 +02:00
foin137
6158b1533a Handle "Too many requests" version
Changed version number
2020-04-25 00:18:27 +02:00
foin137
056b5b980a Handle "Too many requests"
Added code to handle a different response from the server like 429: Too many requests
2020-04-25 00:15:03 +02:00
foin137
e5c89ea33f Update version 2020-04-21 11:29:37 +02:00
N3dal
7b36720b7a minimale Größe des Gameboard gesetzt 2020-04-20 12:06:35 +02:00
N3dal
9e8d7745f7 Design Rework Part 1 2020-04-19 17:59:56 +02:00
foin137
eef7b8fcd5 Added "Urwolf", fixed gamelog, display of votes, moved reload button
Added the character "Urwolf"
Fixed a bug when writing to game_log
Shows in the log who voted for whom
Moved reload button
2020-04-10 17:53:16 +02:00
foin137
ca7588ec86 Prepare statements for sql queries, use (int) to avoid nonint inputs
The goal of this edit is to prevent sql injection.
For string inputs like player name -> prepare sql statements.
For other inputs that are integers -> cast to int via (int)
2020-04-05 18:16:30 +02:00
foin137
65bfc7804c Changed Version
Changed Version number to 1.0.4
2020-03-27 23:04:39 +01:00
foin137
3e607546b6 Werwolf.php - removed default for text and longtext
Werwolf.php - removed default for text and longtext, error in sql
2020-03-27 23:03:40 +01:00
foin137
de1a653a5c Upload of the files
Added the already existing files to the repository
2020-03-27 19:57:00 +01:00