Commit Graph

41 Commits

Author SHA1 Message Date
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
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
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
461494051d fixed non working name add 2023-01-12 17:30:55 +01:00
AudricV
e62022c43c
[Client] Add game introduction style 2023-01-12 11:01:15 +01:00
AudricV
f1aab66983
[Client] Add introduction style 2023-01-12 11:01:15 +01:00
403dbc5683 finished lobby 2023-01-11 12:12:40 +01:00
18e2a3f30b finished lobby 2023-01-11 11:44:52 +01:00
2282a5b91a lobby advancement 2023-01-11 11:02:04 +01:00
3728b2986f fixed copy clipboard 2023-01-11 09:20:47 +01:00
6059172c95 join game in js 2023-01-11 08:59:53 +01:00
1addd381a3 startgame in js 2023-01-10 13:34:47 +01:00
AudricV
45899fb4a2
[Client] Add alert to challenge mode 2023-01-09 16:26:51 +01:00
AudricV
2c92fba477
[Client] Disable text decoration of the room code text 2023-01-09 16:26:51 +01:00
AudricV
a8c4d791c9
[Client] Add ability to copy game room link to clipboard
Also rename Invite your friends button to Copy invitation link and open the
room code link in a new tab by default.
2023-01-09 16:26:50 +01:00
AudricV
a539867a24
[Client] Add validation check of the name entered in the join room view
Also improve TODO and FIXME messages a bit.
2023-01-09 16:26:50 +01:00
AudricV
1abc784ad2
[Client] Fix width of the game username input on the start page
Also remove its unneeded margins.
2023-01-09 16:26:50 +01:00
AudricV
d47d97bb66
[Client] Add initial lobby interactions
- Check challenge mode input validity
- Add logic to display correct elements dependending on whether the user joined
the room and is the room owner
2023-01-09 16:26:49 +01:00
AudricV
09ee0a616e
[Client] Add invalid rounds count CSS rule for challenge mode 2023-01-09 16:26:49 +01:00
AudricV
1e7f130081
[Client] Add game room style
Co-authored-by: Cazals Mathias <mathiascazals@users.noreply.github.com>
2023-01-09 16:26:49 +01:00
AudricV
298d0e3e34
[Client] Move theme setting to the start page
The theme setting is only used on this page right now, so it makes no sense to
include in other pages.
2023-01-09 10:59:47 +01:00
AudricV
12a0626d64
[Client] Add initial interactions on the game selection view
These interactions are checks of nickname and room code validity, where it is
relevant.

Also set a maximum room code length to 20 characters, at least for now.
2023-01-04 13:29:39 +01:00
AudricV
6a0d7547c2
[Client] Add game selection view to start page
Some changes in the existing code have been also made to avoid code duplication
and fix some issues.

Co-authored-by: Cazals Mathias <mathiascazals@users.noreply.github.com>
2023-01-03 17:01:17 +01:00
AudricV
94eb394f61
[Client] Add legal style 2023-01-03 09:07:49 +01:00
AudricV
e07a6881ba
[Client] Add Roboto Mono font
This font will be used on the legal pages and could be used as the font of some
text blocks of the game.

Version 22 of the font has been added.

Roboto Mono is made by Christian Robertson, licensed under the Apache 2.0
License.
2023-01-03 09:07:49 +01:00
AudricV
15525b76a3
[Client] Add transition on the action button
Also remove game title text effect due to different rendering between browsers.

Co-authored-by: Cazals Mathias <mathiascazals@users.noreply.github.com>
2023-01-03 09:07:41 +01:00
AudricV
e80c3e5763
[Client] Add transitions for theme switcher button and footer links
The following are also included in this commit:
- add missing swap property for Titan One font;
- move links decoration and visited properties into a specific class, link


Co-authored-by: Cazals Mathias <mathiascazals@users.noreply.github.com>
2023-01-02 19:15:39 +01:00
Thomas Rubini
fa84404852
refactor client code to be used with the server 2022-12-01 11:58:04 +01:00