Commit Graph

16 Commits

Author SHA1 Message Date
Thomas Rubini
ccac9c302c
Connect npc view to backend 2023-03-25 20:17:05 +01:00
e020de963b
Merge pull request #114 from ThomasRubini/playerlistEndpoint
can see player before joining game
2023-03-20 16:44:22 +01:00
Djalim Simaila
cc3728b62f can see player before joining game 2023-03-20 16:39:37 +01:00
Cazals Mathias
ede7a45ae5 update questions file in for admin 2023-03-20 16:02:52 +01:00
Cazals Mathias
54ec4bf618 update admin files 2023-03-20 15:55:40 +01:00
Thomas Rubini
25eeae34ba
allow makeAPIRequest() to handle JSON requests 2023-03-12 12:57:42 +01:00
Thomas Rubini
1f52c7c98c
Handle server JSON responses which do not have 'error' key 2023-03-12 12:57:42 +01:00
AudricV
c825f588ae
[Client] Refactor API JavaScript code
Add documentation on functions and remove debug logging
2023-03-10 10:30:13 +01:00
AudricV
47a3088b4d
[Client] Refactor and improve game JavaScript code 2023-03-10 10:29:55 +01:00
AudricV
09b925eb67
[Client] Refactor and improve lobby JavaScript code 2023-03-09 18:17:20 +01:00
AudricV
1a05876c1b
[Client] Refactor common JavaScript code
Also do minor changes:

- Add utility functions to hide and show the first element matching a CSS
class;
- Add SameSite property with Strict value to the temporary cookie used to
detect cookies availability on the client.
2023-03-09 18:11:04 +01:00
9e936f906c game question timeout set to 2sec 2023-02-03 13:24:04 +00:00
AudricV
8a6fcdce9e
[Client] Hide all other suspect buttons when a suspect is selected as the culprit 2023-01-16 23:43:28 +01:00
AudricV
06d3faad87
[Client] Show game background based on current view
Also reformat the game JavaScript file
2023-01-16 23:17:34 +01:00
Thomas Rubini
ebae7254b6
put 'Lien' instead of 'Code' 2023-01-16 15:03:40 +01:00
Thomas Rubini
3011c4b2b5
rename app name from truthseeker to truthinquiry 2023-01-16 14:36:49 +01:00