Commit graph

245 commits

Author SHA1 Message Date
Zutatensuppe
b88321bb1b fix tags for new images 2021-06-03 00:01:42 +02:00
Zutatensuppe
57a1e9f24d fix tag display 2021-06-02 23:35:01 +02:00
Zutatensuppe
b7aecbb933 built 2021-05-31 23:09:03 +02:00
Zutatensuppe
69a949381f zoom to mouse even when using q/e 2021-05-31 23:06:19 +02:00
Zutatensuppe
870f827e49 log only 5 min after game end + some type hinting :P 2021-05-31 20:05:41 +02:00
Zutatensuppe
c2da0759b9 remove obsolete comment 2021-05-30 23:37:16 +02:00
Zutatensuppe
21d7db5677 sound when pieces connect 2021-05-29 23:14:19 +02:00
Zutatensuppe
472113ad74 fix possible lost messages (OOS) 2021-05-29 18:57:22 +02:00
Zutatensuppe
c6f47c9b25 fix bad import 2021-05-29 18:56:43 +02:00
Zutatensuppe
d4f02c10df add linting, do more type hinting 2021-05-29 17:58:05 +02:00
Zutatensuppe
46f3fc7480 type hints galore! 2021-05-29 15:36:03 +02:00
Zutatensuppe
7b1f270587 server restart only on js file changes 2021-05-29 14:11:40 +02:00
Zutatensuppe
e803945d23 add compression for stuff served via express 2021-05-29 13:08:42 +02:00
Zutatensuppe
ede95ff16c some checks on the replay data request params 2021-05-29 12:49:43 +02:00
Zutatensuppe
b8946ef6a8 change replay to not use WS 2021-05-29 12:40:46 +02:00
Zutatensuppe
81ef9cd704 enable replay (built files) 2021-05-29 11:45:57 +02:00
Zutatensuppe
7a7d6580fc enable replays 2021-05-29 11:44:55 +02:00
Zutatensuppe
eabe338971 more type hints 2021-05-28 23:01:00 +02:00
Zutatensuppe
623faef6e9 add more typehints 2021-05-28 22:41:17 +02:00
Zutatensuppe
4b7741cf46 more performant cursor 2021-05-23 17:53:46 +02:00
Zutatensuppe
5be099c61c change categories to tags in frontend 2021-05-22 15:48:13 +02:00
Zutatensuppe
92ed17efa5 add ability to update image info 2021-05-22 14:26:04 +02:00
Zutatensuppe
6474c2fd8c add readme and change some scripts 2021-05-22 13:19:39 +02:00
Zutatensuppe
239c879649 categorys and titles for images 2021-05-22 01:51:44 +02:00
Zutatensuppe
8abbb13fcc make hmr possible for dev 2021-05-21 08:47:40 +02:00
Zutatensuppe
bdd061dd1a add layers for new image and new game 2021-05-21 08:39:20 +02:00
Zutatensuppe
e9b209edf1 make images dont overwrite each other :0 2021-05-21 00:51:02 +02:00
Zutatensuppe
6b5c12510e add DOCTYPE 2021-05-19 09:18:38 +02:00
Zutatensuppe
ee7804a594 some more type hinting etc 2021-05-17 02:32:33 +02:00
Zutatensuppe
432e1b6668 move random functions to rng class, fix some imports 2021-05-17 01:12:39 +02:00
Zutatensuppe
07c08019f5 add built files 2021-05-17 00:28:26 +02:00
Zutatensuppe
23559b1a3b switch to typescript 2021-05-17 00:27:47 +02:00
Zutatensuppe
031ca31c7e fix events (player ts for zoom, 1 event for snappingtiles) 2021-05-16 01:42:21 +02:00
Zutatensuppe
bd8e11d603 fix replay 2021-05-15 23:57:29 +02:00
Zutatensuppe
ed94de3c7c change if 2021-05-15 23:38:14 +02:00
Zutatensuppe
6d59a713a3 dont automatically reconnect, add dc layer with option to reconnect 2021-05-15 20:04:30 +02:00
Zutatensuppe
9f7ac8d111 add msg when connection is lost 2021-05-15 17:40:04 +02:00
Zutatensuppe
d5e0c89bf6 combine wsclient and wswrapper 2021-05-15 17:39:54 +02:00
Zutatensuppe
b695b44b6c fix error for new players 2021-05-15 16:57:25 +02:00
Zutatensuppe
5e949f3d30 fix new game going to bad url 2021-05-15 11:06:37 +02:00
Zutatensuppe
158c710572 use function instead of class for camera 2021-05-13 23:55:53 +02:00
Zutatensuppe
e9129cf049 move clientId init to index.html, make zoom events only exist when they actually do something 2021-05-13 23:38:36 +02:00
Zutatensuppe
a0118b0bdf lots of changes to switch to vue 2021-05-13 22:45:55 +02:00
Zutatensuppe
5adb8806dc make target element mandatory for main func 2021-05-13 17:20:10 +02:00
Zutatensuppe
8e7aa7d453 prepare use of vue for game/replay 2021-05-13 16:58:21 +02:00
Zutatensuppe
343263be6c change name to be consistent with other components 2021-05-13 16:27:16 +02:00
Zutatensuppe
f8157a1ea0 in replay, dont set cursor to none 2021-05-13 16:25:31 +02:00
Zutatensuppe
be79935bca use vue 3, prepare split new game and index view 2021-05-13 16:23:05 +02:00
Zutatensuppe
4d8012dc33 cleanup styles a bit 2021-05-13 16:22:15 +02:00
Zutatensuppe
722be39ad9 move new game setup to new component 2021-05-13 14:01:10 +02:00