Commit Graph

106 Commits

Author SHA1 Message Date
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
Martin Berg Alstad
e993f7c4c7 Added cache dependency path 2023-07-16 20:21:03 +02:00
Martin Berg Alstad
13233ec7be Added path to setup 2023-07-16 20:14:15 +02:00
Martin Berg Alstad
ec73c7df65 Fixed ghosts can take pac-men and added more tests 2023-07-16 20:07:15 +02:00
Martin Berg Alstad
6ecb9515b9 Create node.js.yml CI 2023-07-16 19:03:27 +02:00
Martin Berg Alstad
e6d8648eff Set player to disconnected on disconnect, some minor refactoring, comments 2023-07-16 14:15:59 +02:00
Martin Berg Alstad
11ef229664 Fixed tests and added some more for new methods 2023-07-16 13:23:12 +02:00
Martin Berg Alstad
373f08609d Switch players after move, can only roll dice once, and other improvements 2023-07-16 12:10:53 +02:00
Martin Berg Alstad
8d8a606fb8 Fixed colours not showing 2023-07-15 19:55:38 +02:00
Martin Berg Alstad
ee5f48b1f9 Fixed not being able to pick up pellets 2023-07-15 15:09:32 +02:00
Martin Berg Alstad
e894aab4f4 Fixed moving in frontend, as well as a number of other things that previously broke 2023-07-15 14:55:16 +02:00
Martin Berg Alstad
969f3fcbc8 disabled state to button 2023-07-14 19:38:41 +02:00
Martin Berg Alstad
049d5e4aee Moved button to component and added a Waiting state for the button 2023-07-14 19:36:36 +02:00
Martin Berg Alstad
47196161ac Sets the spawn in the backend when player is created, and other fixes :p 2023-07-14 19:14:19 +02:00
Martin Berg Alstad
63502405e1 Fixed bug with WebSocketService sub 2023-07-13 18:48:17 +02:00
Martin Berg Alstad
41118035d2 Test for Run method in GameController 2023-07-13 18:06:18 +02:00
Martin Berg Alstad
0de20200f5 Merged interfaces to classes 2023-07-13 14:00:42 +02:00
Martin Berg Alstad
00d777d985 WebSocketService tests 2023-07-13 13:51:02 +02:00
Martin Berg Alstad
37b460b515 Testing of dices, and merged interfaces to class, and changed methods to properties 2023-07-12 21:49:49 +02:00
Martin Berg Alstad
0dc4a7b846 GameGroup implements IEnumerable, removed Getters from ActionService Properties 2023-07-12 21:33:52 +02:00
Martin Berg Alstad
ab52179b5a Fixed actionservice tests 2023-07-12 21:21:51 +02:00
Martin Berg Alstad
ea2f31b905 ActionService tests and Equality 2023-07-12 14:07:32 +02:00
Martin Berg Alstad
27d13caf5d Merge remote-tracking branch 'origin/master'
# Conflicts:
#	.github/workflows/dotnet.yml
2023-07-11 21:28:56 +02:00
Martin Berg Alstad
51d929ce64 Revert "Moved tests to own job"
This reverts commit 8b010ed691.
2023-07-11 21:28:19 +02:00
Martin Berg Alstad
957b62050a Fixed test job? 2023-07-11 21:21:02 +02:00
Martin Berg Alstad
99fd2200fe Merge remote-tracking branch 'origin/master' 2023-07-11 21:08:44 +02:00
Martin Berg Alstad
8b010ed691 Moved tests to own job 2023-07-11 21:08:25 +02:00
Martin Berg Alstad
949c10f9f3 Started with ActionService tests 2023-07-11 20:58:22 +02:00
Martin Berg Alstad
dfd8bbfc10 Added check to see if all players are ready before setting to inGame 2023-07-11 14:31:50 +02:00
Martin Berg Alstad
5db0af5841 GameGroup tests 2023-07-11 14:23:41 +02:00
Martin Berg Alstad
b2f9573fd5 Create dotnet.yml With backend CI 2023-07-09 22:44:54 +02:00
martin
31196886fd Tests, finished for extensions 2023-07-09 19:58:32 +02:00
martin
0cb4367999 Fixed bugs, sending players instead of characters 2023-07-09 19:10:36 +02:00
martin
c0a35fc298 Updated deps, find spawnpoints, other refactoring 2023-07-09 17:10:39 +02:00
martin
920a941156 Persist the player in sessionStorage, fixed typo in BoxProps 2023-07-08 15:39:34 +02:00
martin
d6fa74455e Split doAction into multiple functions 2023-07-08 14:18:09 +02:00
martin
1116942031 Updated jotai states and some backend cleanup 2023-07-08 11:51:26 +02:00
martin
5be200cc56 Implemented Jotai state management 2023-07-07 23:06:14 +02:00
martin
35295b9705 Moved some files 2023-07-07 22:19:17 +02:00
martin
45131efb37 Refactored ActionService, players state in frontend 2023-07-04 22:42:44 +02:00