Commit Graph

26 Commits

Author SHA1 Message Date
6059172c95 join game in js 2023-01-11 08:59:53 +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
fc059670f4
emit socket events on game start/join 2023-01-06 08:52:41 +01:00
Thomas Rubini
a5bba9d3a4
create socketio routes 2023-01-05 23:14:40 +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
45dface44b
check if username is valid 2023-01-05 15:45:02 +01:00
Thomas Rubini
23ef34e4cf
replace "status" with "error" and "msg" in error codes 2023-01-05 15:45:02 +01:00
Thomas Rubini
096d324ba3
remove getGameInfo endpoint 2023-01-05 15:22:07 +01:00
Thomas Rubini
50459210e5
use flask sessions instead of jwt 2023-01-05 15:16:40 +01:00
AudricV
c98211a67f
[Server] Add legal pages to existing routes 2023-01-03 09:07:50 +01:00
96a5271822
Merge pull request #8 from ThomasRubini/server_ui
Basic UI pages
2022-12-01 11:40:45 +01:00
Thomas Rubini
67afb7ac8f
Basic UI pages 2022-12-01 10:57:39 +01:00
e0ffdafa7d
Merge pull request #6 from ThomasRubini/server_401
Always return 200 for consistency
2022-12-01 10:54:30 +01:00
Thomas Rubini
e47063207c
Always return 200 for consistency 2022-12-01 10:52:30 +01:00
Thomas Rubini
cb529c558e
use request.values instead of request.args 2022-12-01 10:43:41 +01:00
Thomas Rubini
bc410e93a5
allow POST requests on the API 2022-12-01 10:35:12 +01:00
Thomas Rubini
5c9f01efad
Misplaced comment 2022-11-29 15:11:33 +01:00
Thomas Rubini
54785f04ee
endpoint /startGame + jwt_required decorator 2022-11-29 14:51:04 +01:00
Thomas Rubini
5c162dd4fb
refactor 2022-11-29 13:54:38 +01:00