Commit Graph

24 Commits

Author SHA1 Message Date
Djalim Simaila
e72f9a9790 added missing docstring in game_start_page.js 2023-03-20 15:11:57 +01:00
8d878d8eff added docstring to the game.js file 2023-03-20 15:11:57 +01:00
AudricV
e83591c9ef
[Client] Add button to go back to the home page on game results view
This button has been placed at the top right of the page.

Also merge some common properties into a single one.
2023-03-20 13:43:46 +01:00
Thomas Rubini
4d7ac75ecc
move reaction files 2023-03-19 11:12:04 +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
AudricV
4b6cbc9214
[Client] Refactor legal game style
- Order properties alphabetically
- Use colors variables from global style
- Merge some common properties between selectors into a common declaration
- Do some minor improvements
2023-02-16 11:41:19 +01:00
AudricV
b5648ebf53
[Client] Refactor lobby game style
- Order properties alphabetically
- Use colors variables from global style
- Merge some common properties between selectors into a common declaration
- Do some minor improvements
2023-02-16 11:41:19 +01:00
AudricV
c0486c70f2
[Client] Refactor gameplay game style
- Order properties alphabetically
- Use colors variables from global style and move gameplay colors into
  variables
- Merge some common properties between selectors into a common declaration
- Do some minor improvements
2023-02-16 11:41:03 +01:00
AudricV
14747b53b7
[Client] Refactor start game style
- Order properties alphabetically
- Use colors variables from global style
- Merge some common properties between selectors into a common declaration
- Do some minor improvements
2023-02-16 11:08:37 +01:00
AudricV
97473aea56
[Client] Refactor global game style
- Order properties alphabetically
- Move colors into variables
- Merge some common properties between selectors into a common declaration
- Do some minor improvements
2023-02-16 11:08:37 +01:00
Thomas Rubini
2ceddbe860
Merge pull request #68 from ThomasRubini/question_timeout 2023-02-03 14:24:42 +01:00
9e936f906c game question timeout set to 2sec 2023-02-03 13:24:04 +00:00
fb28fe7464 compressed background images 2023-02-03 13:18:52 +00:00
AudricV
c8f33e7d45
[Client] Fix game background position on some screens 2023-01-16 23:44:56 +01: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
AudricV
f43bf7c2be
[Client] Add favicons
Favicons added are PNG images only, with resolutions 32x32, 64x64, 128x128,
192x192, 256x256 and 512x512.

They should work on browsers supported by the game.
2023-01-16 22:50:29 +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