AudricV
256e2a242b
[Client] Add icons for the theme switcher
...
These icons come from Google Fonts and are licensed under the Apache License
Version 2.0.
2022-12-01 11:41:33 +01:00
AudricV
cea9db6f26
[Client] Add CSS stylesheets for the startup page
...
Two CSS stylesheets have been added: one which is common to all pages and one
which is specific to the game statup.
2022-12-01 11:41:33 +01:00
AudricV
3b1b76016b
[Client] Add fonts used on the startup page
...
Add Spicy Rice (version 21) and Titan One (version 13) fonts.
Spicy Rice is made by Astigmatic and Titan One by Rodrigo Fuenzalida, both
licensed under the Open Font License.
2022-12-01 11:41:32 +01:00
AudricV
fed625edd8
[Client] Initial creation of the HTML welcome page
...
This page contains currently elements for the intial loading state: a theme
switcher, a play button and links to the privacy policy, the license(s) of
elements reused in the game and legal mentions.
It also contains error messages when JavaScript, websockets or local storage is
disabled, but they are not displayed or displayed properly yet.
2022-12-01 11:41:32 +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
1d88aac188
Merge pull request #5 from ThomasRubini/server_post
...
allow POST requests on the API
2022-12-01 10:54:00 +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
8f2a4cea04
Merge pull request #1 from ThomasRubini/server
...
Start of the server
2022-11-29 15:16:16 +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
Thomas Rubini
812c886517
add 'game_type' field to JWT
2022-11-29 13:40:02 +01:00
Thomas Rubini
4b3c027385
Deprecate /getGameInfo endpoint
2022-11-29 13:35:11 +01:00
Thomas Rubini
563ce9ede7
add username in Member#__str__
2022-11-29 13:33:16 +01:00
Thomas Rubini
291674eab1
Change 'id' field to 'game_id'
2022-11-29 13:31:38 +01:00
Thomas Rubini
516cf831a6
rename GameInfo to Game
2022-11-29 13:29:34 +01:00
Thomas Rubini
9e0a61cd87
add string representation for classes
2022-11-29 13:28:54 +01:00
Thomas Rubini
657a90955f
replace game_lists with games_list
2022-11-29 12:07:54 +01:00
Thomas Rubini
1bcc552756
make GameInfo object manages itself + /joinGame endpoint
2022-11-29 12:07:14 +01:00
Thomas Rubini
3beabd84aa
generate secret securely
2022-11-29 10:12:06 +01:00
Thomas Rubini
361ade9abe
basic JWT generation + rename gameid to game_id
2022-11-29 10:06:15 +01:00
Thomas Rubini
4da6d75913
rename game_api.py to game_functions.py
2022-11-29 09:10:37 +01:00
e2301ec1e7
refractor + some doc
2022-11-28 15:35:59 +01:00
Thomas Rubini
d74f304330
basic game creation API
2022-11-17 17:26:15 +01:00
Thomas Rubini
1fa7e43bbe
basic structure
2022-11-17 16:12:30 +01:00
Thomas Rubini
e6f29188eb
added .gitignore
2022-11-17 16:11:49 +01:00
Thomas R
8b192c2e98
Create LICENCE
2022-10-10 16:32:55 +02:00
Thomas Rubini
215bb3f5f9
added README
2022-10-04 08:27:41 +02:00