Martin Berg Alstad
|
b10c89d3fe
|
Create dependabot.yml
|
2023-08-06 11:32:44 +02:00 |
|
martin
|
5ee2d99d42
|
Refactored setPlayerInfo to joinGame and some other refactoring and comments
|
2023-08-05 23:32:25 +02:00 |
|
martin
|
697a4ddd6d
|
Created a homepage, started on a debug menu
|
2023-08-05 19:52:47 +02:00 |
|
martin
|
296025fd4c
|
Refactored waitForOpen to use wait function, written TSDocs for WSService
|
2023-08-04 17:50:18 +02:00 |
|
martin
|
c9267d6c9f
|
Added node and pnpm dependencies to pipepline
|
2023-08-03 21:33:54 +02:00 |
|
martin
|
32a141c7d3
|
Changed npm commands to pnpm, updated node version in docker to LTS
|
2023-08-02 22:22:18 +02:00 |
|
martin
|
89d2935323
|
Fixed test, deprecated method, and changes it's uses
|
2023-07-31 22:19:55 +02:00 |
|
Martin Berg Alstad
|
dd6b493830
|
migrated to pnpm
|
2023-07-30 14:20:43 +02:00 |
|
martin
|
1430f3685c
|
Migrated to pnpm and added vitest coverage
|
2023-07-30 13:48:11 +02:00 |
|
Martin Berg Alstad
|
1bee3d60b3
|
Close profileDropdown if clicked outside, removed console.debugs
|
2023-07-23 12:26:58 +02:00 |
|
Martin Berg Alstad
|
05154798a6
|
Replaced logout button with profile button, created useToggle hook
|
2023-07-23 00:03:19 +02:00 |
|
Martin Berg Alstad
|
12b40702c8
|
Refactored box to use number instead of list of objects
|
2023-07-22 21:20:30 +02:00 |
|
Martin Berg Alstad
|
d98293e3e7
|
Class object now implements props
|
2023-07-22 20:56:30 +02:00 |
|
Martin Berg Alstad
|
f4d91e43d8
|
Better login screen
|
2023-07-22 20:44:12 +02:00 |
|
Martin Berg Alstad
|
51bc754ef1
|
Fixed thisPlayerAtom giving different result than playerAtom
|
2023-07-22 19:13:19 +02:00 |
|
Martin Berg Alstad
|
fc5f553042
|
Added protected routes, jotai dev tools
|
2023-07-22 18:49:48 +02:00 |
|
Martin Berg Alstad
|
2d248c2364
|
Merged getter and setter atom
|
2023-07-22 16:52:57 +02:00 |
|
Martin Berg Alstad
|
800ba32064
|
Created custom implemtation of atomWithStorage, in order to fix undefined on first render
|
2023-07-22 16:36:08 +02:00 |
|
Martin Berg Alstad
|
aeba6343e3
|
Started one a simple header
|
2023-07-22 12:14:21 +02:00 |
|
Martin Berg Alstad
|
bcb5171f78
|
Get map from global state
|
2023-07-21 22:03:37 +02:00 |
|
Martin Berg Alstad
|
5eb8738797
|
Fixed teleportations not working on new map
|
2023-07-21 17:18:18 +02:00 |
|
Martin Berg Alstad
|
7bb4316f25
|
Merge pull request #1 from h600878/lobby
Lobby, login, new map, new bugs
|
2023-07-21 16:51:52 +02:00 |
|
Martin Berg Alstad
|
71b24fedee
|
Fixed typeError on vitest
|
2023-07-21 16:49:56 +02:00 |
|
Martin Berg Alstad
|
cb9371b33b
|
Fixed bugs when disconnecting and reconnecting, disconnect message is sent before closing websocket connection
|
2023-07-21 13:54:44 +02:00 |
|
Martin Berg Alstad
|
554b8cff2a
|
Moved event to Game, added leave game button
|
2023-07-20 23:54:20 +02:00 |
|
Martin Berg Alstad
|
7af502f570
|
fixed state not updating when joining from lobby
|
2023-07-20 22:56:35 +02:00 |
|
Martin Berg Alstad
|
f0a701a2fd
|
Added gameId to Game path
|
2023-07-20 18:26:41 +02:00 |
|
Martin Berg Alstad
|
35334f0308
|
State for map
|
2023-07-20 18:09:18 +02:00 |
|
Martin Berg Alstad
|
1db515d796
|
Json is being handled with camelCase
|
2023-07-20 18:06:30 +02:00 |
|
Martin Berg Alstad
|
0c9ba333ea
|
Added createGame button
|
2023-07-20 16:14:27 +02:00 |
|
Martin Berg Alstad
|
bc0bfbea0f
|
Created method to remove a player from a game
|
2023-07-20 15:00:03 +02:00 |
|
Martin Berg Alstad
|
5e21947870
|
Created simple login page, and User model
|
2023-07-20 14:47:13 +02:00 |
|
Martin Berg Alstad
|
745f292eee
|
Reformat UserName to Username, Added DAL with admin login method
|
2023-07-19 23:25:54 +02:00 |
|
Martin Berg Alstad
|
8f4e8ed481
|
Switched Component type to React.FC type
|
2023-07-19 22:53:47 +02:00 |
|
Martin Berg Alstad
|
65b69a763f
|
Added endpoint for creating and joining a game
|
2023-07-19 18:45:40 +02:00 |
|
Martin Berg Alstad
|
7e8dc44ce9
|
Ghost characters are saved in backend after each move
|
2023-07-19 17:09:47 +02:00 |
|
Martin Berg Alstad
|
23ee40c96d
|
Refactored DiceCup to store the previous value
|
2023-07-19 16:19:51 +02:00 |
|
Martin Berg Alstad
|
767189821d
|
Players can rejoin when refreshing window, changed Name to UserName
|
2023-07-19 16:03:43 +02:00 |
|
Martin Berg Alstad
|
01757f825e
|
Tests, comments and createGame method
|
2023-07-18 18:19:54 +02:00 |
|
Martin Berg Alstad
|
c7bc473572
|
Split up methods in controllers, added tests for GameService, refactored GameGroup name to Game and directory Game to GameStuff
|
2023-07-18 17:09:27 +02:00 |
|
Martin Berg Alstad
|
fab3e3d13f
|
Separated WebSocketService to another service
|
2023-07-18 14:12:53 +02:00 |
|
Martin Berg Alstad
|
ad0d8c7d0a
|
Created a simple lobby containing all games
|
2023-07-18 13:50:46 +02:00 |
|
Martin Berg Alstad
|
ac8560e61c
|
Game can only be started after at least 2 players have joined, moved dice below stats
|
2023-07-17 20:25:45 +02:00 |
|
Martin Berg Alstad
|
68fe8192aa
|
Added modal to select character to steal from, Added button component
|
2023-07-17 13:10:33 +02:00 |
|
Martin Berg Alstad
|
cf195e8e43
|
Test update path
|
2023-07-16 20:55:24 +02:00 |
|
Martin Berg Alstad
|
8f71328c78
|
Test ls
|
2023-07-16 20:40:50 +02:00 |
|
Martin Berg Alstad
|
070623ec04
|
Fixed path
|
2023-07-16 20:29:30 +02:00 |
|
Martin Berg Alstad
|
2db095cc49
|
Changed cache-dependency-path
|
2023-07-16 20:28:27 +02:00 |
|
Martin Berg Alstad
|
2a42a2c8ad
|
Added defaults
|
2023-07-16 20:25:53 +02:00 |
|
Martin Berg Alstad
|
c3e3dd10e7
|
Fixed cache-dependency-path???
|
2023-07-16 20:22:44 +02:00 |
|