MasterGordon
1296848339
added theme weights
2024-10-18 17:09:41 +02:00
MasterGordon
86fcef5ade
added metrics
2024-10-17 23:39:25 +02:00
MasterGordon
bcb21a7963
rescaled gem gain
2024-10-17 22:42:41 +02:00
Gordon Goldbach
1bab0af55f
Merge pull request #2 from MasterGordon/v2
...
V2
2024-10-17 20:05:35 +02:00
Gordon Goldbach
5fa6b864de
Merge pull request #1 from MasterGordon/add-reconnect-auth
...
Add websocket reconnection and re-authentication
2024-10-17 20:03:42 +02:00
Gordon Goldbach
b15a32037f
Add websocket reconnection and re-authentication
...
Add auto reconnection and re-authentication logic to `wsClient`.
* **WebSocket Connection and Reconnection:**
- Modify `createWSClient` to include reconnection logic.
- Add `connect` function to handle WebSocket connection and reconnection attempts.
- Set `reconnectAttempts` and `maxReconnectAttempts` to manage reconnection attempts.
- Implement exponential backoff for reconnection attempts.
- Log error when maximum reconnection attempts are reached.
* **Authentication:**
- Add logic to re-authenticate using a token stored in `localStorage` upon WebSocket connection.
- Set `isAuthenticated` flag based on re-authentication success.
- Log error if re-authentication fails.
* **Error Handling:**
- Add `onerror` event handler to log WebSocket errors and close the connection.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/MasterGordon/minesweeper/tree/v2?shareId=XXXX-XXXX-XXXX-XXXX ).
2024-10-17 20:02:26 +02:00
MasterGordon
bc768274dc
added bouncy image
2024-10-17 19:58:10 +02:00
MasterGordon
8f9a71c636
fixed theme preview
2024-10-17 00:43:43 +02:00
CutieCat2804
4c3bbc4697
add stage and bombs to window mode
2024-10-16 20:23:07 +02:00
CutieCat2804
2d7a6fc848
add restart button to window mode
2024-10-16 20:11:08 +02:00
CutieCat2804
88e74c6de5
fix rewards function
2024-10-16 18:11:46 +02:00
MasterGordon
5f9bf142b2
updated math
2024-10-16 00:06:12 +02:00
MasterGordon
72150b070d
adjusted gem rewards
2024-10-15 23:58:10 +02:00
MasterGordon
d6c25289fd
up
2024-10-15 23:33:38 +02:00
MasterGordon
e89516c618
fixed limit
2024-10-15 22:23:57 +02:00
MasterGordon
10c64268c8
fixed limit
2024-10-15 22:20:58 +02:00
MasterGordon
157e4768f3
added cases
2024-10-15 21:06:36 +02:00
MasterGordon
5e30cee6ca
added store route
2024-10-13 23:40:26 +02:00
MasterGordon
3a14766563
fixed build
2024-10-13 21:37:40 +02:00
MasterGordon
ebbc8d0f29
updated themes, added gem gain, added feed
2024-10-13 21:23:31 +02:00
CutieCat2804
d9ff1a9ffc
add tags / fix them name
2024-10-13 15:05:44 +02:00
CutieCat2804
ec0025b71d
theme fixes
2024-10-13 14:53:23 +02:00
CutieCat2804
e134ad967f
add color palette themes
2024-10-13 12:07:11 +02:00
CutieCat2804
706423cb76
add question-mark to preview
2024-10-13 11:45:29 +02:00
CutieCat2804
aab7e7de4e
add themes to collection
2024-10-12 14:45:08 +02:00
MasterGordon
3e0ace5230
added collection
2024-10-12 14:17:05 +02:00
MasterGordon
538750b691
allow showing past game
2024-10-12 01:23:15 +02:00
MasterGordon
ac9543267a
Merge branch 'v2' of github.com:MasterGordon/minesweeper into v2
2024-10-12 00:52:25 +02:00
MasterGordon
5e259d73e8
added match history and improved stats
2024-10-12 00:52:20 +02:00
MasterGordon
a2d2cf1710
added stage display
2024-10-11 01:10:50 +02:00
CutieCat2804
eee1ddba72
add underwater/insect/MLG themes
2024-10-10 20:52:32 +02:00
CutieCat2804
d035775a54
add color/poop theme package
2024-10-07 18:45:20 +02:00
CutieCat2804
323c44ee00
add farm theme
2024-10-06 12:56:34 +02:00
CutieCat2804
881d40a642
add theme package 3
2024-10-05 15:06:12 +02:00
CutieCat2804
00ab56ac92
add theme package two
2024-10-03 16:19:54 +02:00
CutieCat2804
184104b440
add theme package one
2024-10-03 13:50:04 +02:00
MasterGordon
576416e905
fixed login
2024-09-30 22:13:47 +02:00
MasterGordon
99e7325edb
added settings
2024-09-29 20:35:48 +02:00
MasterGordon
0b251c566c
updated zenmode
2024-09-29 14:43:10 +02:00
MasterGordon
ad0d82ab1c
fixed scoreboard sorting
2024-09-29 14:26:45 +02:00
MasterGordon
643635c868
removed db from git
2024-09-29 14:10:43 +02:00
MasterGordon
6cd0c198de
updated port
2024-09-29 14:06:00 +02:00
MasterGordon
2db2b42fd8
added home and gameplay
2024-09-29 13:58:54 +02:00
MasterGordon
825448c8f3
added reveal and create game
2024-09-28 03:17:36 +02:00
MasterGordon
a268ab6878
removed .env
2024-09-24 01:35:49 +02:00
MasterGordon
276d2faf42
wip
2024-09-24 01:27:07 +02:00
MasterGordon
8319de0812
first layout draft
2024-09-23 00:58:36 +02:00
MasterGordon
62055855e5
last version before 2.0
2024-09-21 12:12:39 +02:00
MasterGordon
ce3eb836da
fixed lint
2024-09-19 23:58:43 +02:00
MasterGordon
edafa021ee
added first backend draft
2024-09-19 23:50:16 +02:00