Commit Graph

35 Commits

Author SHA1 Message Date
a8fd082308 False is not None 2023-01-15 21:57:03 +01:00
4101552658 doctring for non route functions 2023-01-15 21:53:40 +01:00
7d049565a7 refactored according to flake8 and pylint linting 2023-01-15 20:54:53 +01:00
08eb7ae091
Merge pull request #40 from ThomasRubini/data_update
Data update
2023-01-14 23:06:47 +01:00
d0dae92c21 added questions fontions and reactions display 2023-01-14 20:40:54 +01:00
18fed88aa5 'fixed' cors not allowing localhost, incorect type comparaison in get_player_results, Finished sendAnswers in js 2023-01-14 18:40:56 +01:00
956daf20fb added reaction description into game_results 2023-01-14 18:37:09 +01:00
acdae93ac3 fix bug in image related requests 2023-01-14 18:37:09 +01:00
e7dd867e51 fixed typos 2023-01-14 15:01:50 +01:00
2575df3611 updated remote database 2023-01-14 14:44:38 +01:00
Thomas Rubini
5dd04b8dde
Merge pull request #33 from ThomasRubini/lint2 2023-01-13 13:54:38 +01:00
Thomas Rubini
81fc987f89
convert remaining functions to snake_case 2023-01-13 13:54:25 +01:00
Thomas Rubini
d5fdeb80ce
Close file in read_image() 2023-01-13 13:44:40 +01:00
Thomas Rubini
ad76bda3e6
use snake case for functions 2023-01-13 13:38:35 +01:00
Thomas Rubini
f682d39c5a
remove some linting warnings 2023-01-13 13:32:41 +01:00
Thomas Rubini
b9768aa37d
use dotenv to connect to the db 2023-01-13 11:56:38 +01:00
Thomas Rubini
f7c300785d
move documentation inside functions 2023-01-13 10:01:23 +01:00
Thomas Rubini
711d562af0
document check_username() 2023-01-13 10:00:36 +01:00
Thomas Rubini
a8fae6b3fc
Start documentation in game_logic.py 2023-01-13 09:58:27 +01:00
e8c5288f00
Merge pull request #28 from ThomasRubini/player_responses
added response text to trait_id in getPlayerResults
2023-01-13 09:51:50 +01:00
Thomas Rubini
459c5fad8a
refactor check_username() to game_logic 2023-01-13 09:47:28 +01:00
7acfe7977f added response text to trait_id in getPlayerResults 2023-01-13 08:58:04 +01:00
d16593a564 added missing questions 2023-01-10 09:57:48 +01:00
fa6e81f529 SubmitGameData done 2023-01-09 17:10:39 +01:00
71f5ee54de added answer check 2023-01-09 14:20:18 +01:00
0e0e615414 added getNpcImage static 2023-01-09 12:02:02 +01:00
51e5ac5c3b added get png from api 2023-01-09 09:57:30 +01:00
59f9965925 Merge branch 'main' into game_logic 2023-01-08 16:24:43 +01:00
6127c86ae7 server side game logic and moved data_persistance 2023-01-08 16:20:19 +01:00
Thomas Rubini
f1d371c5f2
refactor 'games_list' in app class 2023-01-05 23:13:51 +01:00
Thomas Rubini
222a119a21
fix test that game cannot be started twice 2023-01-05 15:45:02 +01:00
Thomas Rubini
2f29aa48bc
prevent start from starting twice 2023-01-05 15:45:02 +01:00
Thomas Rubini
824190348d
check if username is already added to the game 2023-01-05 15:45:02 +01:00
Thomas Rubini
50459210e5
use flask sessions instead of jwt 2023-01-05 15:16:40 +01:00
Thomas Rubini
5c162dd4fb
refactor 2022-11-29 13:54:38 +01:00