Commit Graph

349 Commits

Author SHA1 Message Date
02c7ea6bbc added readme content 2023-01-15 13:57:37 +01:00
AudricV
378af1b044
[Client] Fix suspect answer interrogation position 2023-01-15 13:35:54 +01:00
AudricV
158335bb34
Merge pull request #45 from ThomasRubini/client_socket-io-selfhost-and-credit
[Client] Self-host Socket.IO library and credit the library in the licenses page
2023-01-15 13:17:58 +01:00
AudricV
d4be98edb1
[Client] Credit Socket.IO in the licenses page 2023-01-15 13:16:47 +01:00
AudricV
1405235002
[Client] Use local version of Socket.IO in game pages 2023-01-15 13:16:46 +01:00
AudricV
9332fd4a05
[Client] Self-host Socket.IO library
The version 4.4.1 is added with this commit, with the minified version and its
source map.
2023-01-15 13:16:46 +01:00
2c396141b7
Merge pull request #44 from ThomasRubini/typo
fixed a typo
2023-01-15 13:12:46 +01:00
c523991a4b fixed a typo 2023-01-15 13:10:49 +01:00
Thomas Rubini
9c04b041fa
Merge pull request #43 from ThomasRubini/origin_env 2023-01-15 13:06:04 +01:00
AudricV
a8f19fde72
Merge pull request #42 from ThomasRubini/client_cookies-availability-and-legal-links-errors
[Client] Add cookie check availability and legal links on game pages when the game cannot be played
2023-01-15 12:55:08 +01:00
Thomas Rubini
ea42ed1f22
Put authorized origin in env 2023-01-15 12:46:25 +01:00
e2b6336507
Merge pull request #41 from ThomasRubini/npc_images
add npc image
2023-01-15 12:24:15 +01:00
SujetDelta
eeba658ad1 add npc image 2023-01-15 12:22:34 +01:00
AudricV
fa9024167b
[Client] Add legal links on game pages when the game cannot be played 2023-01-15 12:04:20 +01:00
AudricV
ce640ff158
[Client] Add cookie availability check
If cookies are not allowed, the game cannot be played. That's the reason why an
alert error message is show in this case, in order to prevent the user to play
the game.
2023-01-15 12:04:19 +01:00
AudricV
a13b1d0ada
[Client] Remove localStorage requirement
As we use cookies for the game and that localStorage is only used to save the
theme set on the start page, it isn't needed to use it, as the dark theme would
be set as a fallback.

In order to show a cookies requirement message if they are disabled, we need to
remove the one of the localStorage, as when cookies access is disabled,
localStorage cannot be accessed.
2023-01-15 12:04:19 +01:00
08eb7ae091
Merge pull request #40 from ThomasRubini/data_update
Data update
2023-01-14 23:06:47 +01:00
9828fa3449
Merge pull request #39 from ThomasRubini/shuffle
shuffle and todos
2023-01-14 23:03:38 +01:00
83dece5c53 shuffle and todos 2023-01-14 23:02:23 +01:00
226df72eb2
Merge pull request #38 from ThomasRubini/game_logic_front_end
Game logic front end
2023-01-14 22:19:08 +01:00
47a4396d31 Merge branch 'main' into game_logic_front_end 2023-01-14 22:17:03 +01:00
da5533a57a finished final results screen 2023-01-14 22:03:27 +01:00
AudricV
22a12143cc
Merge pull request #37 from ThomasRubini/client_game-interrogation-placeholder
[Client] Add placeholder for image on interrogation view
2023-01-14 21:28:48 +01:00
AudricV
02792bc20c
[Client] Fix back button overlap in interrogation view on small screens
A max-width property based on the viewport width less than a enough size has
been added on the interrogration title, in order to fix this issue.
2023-01-14 21:22:17 +01:00
mathiascazals
1bd17419f0
Add placeholder for image on interrogation view 2023-01-14 21:20:13 +01:00
e6daa4775b added listeners to the questions buttons 2023-01-14 20:50:57 +01:00
dbd51e6bf8 added listeners to the questions buttons 2023-01-14 20:49:10 +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
e763c71a59 fixed intro not hiding and socket not allowed on prod 2023-01-14 18:40:56 +01:00
a7a428357d show and hide introduction view 2023-01-14 18:40:56 +01:00
03ce844c6a added listener to InterogationNextButton 2023-01-14 18:40:56 +01:00
71aedd3854 show npcs on interogation screen 2023-01-14 18:40:53 +01:00
370ca28ab5 finished npc generation on culprits and emotion 2023-01-14 18:40:23 +01:00
61ea8164a6 added image placeholder generator in anwser view 2023-01-14 18:39:57 +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
1f39b6dc4d
Merge pull request #36 from ThomasRubini/client_game-results-and-interrogation
[Client] Add game backgrounds and add interrogration and results views
2023-01-14 18:36:27 +01:00
AudricV
246a537496
[Client] Refactor CSS game code, apply some fixes and improvements
Also remove unused properties and merge some of the common properties value
into a single declaration
2023-01-14 18:10:46 +01:00
AudricV
0920e5546b
[Client] Improve game HTML page
- Remove unused elements;
- Improve some comments and elements.
2023-01-14 17:49:47 +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
mathiascazals
ced09b96a7
Finish results view of game page 2023-01-13 15:35:01 +01:00
mathiascazals
edf2f35010
Add results view and style 2023-01-13 15:32:48 +01:00
mathiascazals
ae8446d64d
Add backgrounds and interrogration views 2023-01-13 15:30:41 +01:00
AudricV
c3ee6272ee
Merge pull request #35 from ThomasRubini/client_game_introduction_and_interrogation
[Client] Add game introduction + interrogation + emotion and culprit choices views
2023-01-13 14:20:52 +01:00
AudricV
49744be094
[Client] Add emotion and culprit choices style 2023-01-13 14:12:33 +01:00
AudricV
b5e6e80df1
[Client] Add emotion and culprit choices view 2023-01-13 14:10:49 +01:00
Thomas Rubini
ba7061747b
Merge pull request #34 from ThomasRubini/test_env 2023-01-13 13:56:31 +01:00
Thomas Rubini
04e16c0f49
load dotfile in tests 2023-01-13 13:56:17 +01:00