f0a701a2fdAdded gameId to Game path
Martin Berg Alstad
2023-07-20 18:26:41 +02:00
35334f0308State for map
Martin Berg Alstad
2023-07-20 18:09:18 +02:00
1db515d796Json is being handled with camelCase
Martin Berg Alstad
2023-07-20 18:06:30 +02:00
0c9ba333eaAdded createGame button
Martin Berg Alstad
2023-07-20 16:14:27 +02:00
bc0bfbea0fCreated method to remove a player from a game
Martin Berg Alstad
2023-07-20 15:00:03 +02:00
5e21947870Created simple login page, and User model
Martin Berg Alstad
2023-07-20 14:47:13 +02:00
745f292eeeReformat UserName to Username, Added DAL with admin login method
Martin Berg Alstad
2023-07-19 23:25:54 +02:00
8f4e8ed481Switched Component type to React.FC type
Martin Berg Alstad
2023-07-19 22:53:47 +02:00
65b69a763fAdded endpoint for creating and joining a game
Martin Berg Alstad
2023-07-19 18:45:40 +02:00
7e8dc44ce9Ghost characters are saved in backend after each move
Martin Berg Alstad
2023-07-19 17:09:47 +02:00
23ee40c96dRefactored DiceCup to store the previous value
Martin Berg Alstad
2023-07-19 16:19:51 +02:00
767189821dPlayers can rejoin when refreshing window, changed Name to UserName
Martin Berg Alstad
2023-07-19 16:03:43 +02:00
01757f825eTests, comments and createGame method
Martin Berg Alstad
2023-07-18 18:19:54 +02:00
c7bc473572Split up methods in controllers, added tests for GameService, refactored GameGroup name to Game and directory Game to GameStuff
Martin Berg Alstad
2023-07-18 17:09:27 +02:00
fab3e3d13fSeparated WebSocketService to another service
Martin Berg Alstad
2023-07-18 14:12:53 +02:00
ad0d8c7d0aCreated a simple lobby containing all games
Martin Berg Alstad
2023-07-18 13:50:46 +02:00
ac8560e61cGame can only be started after at least 2 players have joined, moved dice below stats
Martin Berg Alstad
2023-07-17 20:25:45 +02:00
68fe8192aaAdded modal to select character to steal from, Added button component
Martin Berg Alstad
2023-07-17 13:10:33 +02:00
cf195e8e43Test update path
Martin Berg Alstad
2023-07-16 20:55:24 +02:00
8f71328c78Test ls
Martin Berg Alstad
2023-07-16 20:40:50 +02:00
070623ec04Fixed path
Martin Berg Alstad
2023-07-16 20:29:30 +02:00
2db095cc49Changed cache-dependency-path
Martin Berg Alstad
2023-07-16 20:28:27 +02:00
2a42a2c8adAdded defaults
Martin Berg Alstad
2023-07-16 20:25:53 +02:00
c3e3dd10e7Fixed cache-dependency-path???
Martin Berg Alstad
2023-07-16 20:22:44 +02:00
e993f7c4c7Added cache dependency path
Martin Berg Alstad
2023-07-16 20:21:03 +02:00
13233ec7beAdded path to setup
Martin Berg Alstad
2023-07-16 20:14:15 +02:00
ec73c7df65Fixed ghosts can take pac-men and added more tests
Martin Berg Alstad
2023-07-16 20:07:15 +02:00
6ecb9515b9Create node.js.yml CI
Martin Berg Alstad
2023-07-16 19:03:27 +02:00
e6d8648effSet player to disconnected on disconnect, some minor refactoring, comments
Martin Berg Alstad
2023-07-16 14:15:59 +02:00
11ef229664Fixed tests and added some more for new methods
Martin Berg Alstad
2023-07-16 13:23:12 +02:00
373f08609dSwitch players after move, can only roll dice once, and other improvements
Martin Berg Alstad
2023-07-16 12:10:53 +02:00
8d8a606fb8Fixed colours not showing
Martin Berg Alstad
2023-07-15 19:55:38 +02:00
ee5f48b1f9Fixed not being able to pick up pellets
Martin Berg Alstad
2023-07-15 15:09:32 +02:00
e894aab4f4Fixed moving in frontend, as well as a number of other things that previously broke
Martin Berg Alstad
2023-07-15 14:55:16 +02:00
969f3fcbc8disabled state to button
Martin Berg Alstad
2023-07-14 19:38:41 +02:00
049d5e4aeeMoved button to component and added a Waiting state for the button
Martin Berg Alstad
2023-07-14 19:36:36 +02:00
47196161acSets the spawn in the backend when player is created, and other fixes :p
Martin Berg Alstad
2023-07-14 19:14:19 +02:00
63502405e1Fixed bug with WebSocketService sub
Martin Berg Alstad
2023-07-13 18:48:17 +02:00
41118035d2Test for Run method in GameController
Martin Berg Alstad
2023-07-13 18:06:18 +02:00
0de20200f5Merged interfaces to classes
Martin Berg Alstad
2023-07-13 14:00:42 +02:00
00d777d985WebSocketService tests
Martin Berg Alstad
2023-07-13 13:51:02 +02:00
37b460b515Testing of dices, and merged interfaces to class, and changed methods to properties
Martin Berg Alstad
2023-07-12 21:49:49 +02:00
0dc4a7b846GameGroup implements IEnumerable, removed Getters from ActionService Properties
Martin Berg Alstad
2023-07-12 21:33:52 +02:00
ab52179b5aFixed actionservice tests
Martin Berg Alstad
2023-07-12 21:21:51 +02:00
ea2f31b905ActionService tests and Equality
Martin Berg Alstad
2023-07-12 14:07:32 +02:00
27d13caf5dMerge remote-tracking branch 'origin/master'
Martin Berg Alstad
2023-07-11 21:28:56 +02:00
51d929ce64Revert "Moved tests to own job"
Martin Berg Alstad
2023-07-11 21:28:19 +02:00
957b62050aFixed test job?
Martin Berg Alstad
2023-07-11 21:21:02 +02:00
99fd2200feMerge remote-tracking branch 'origin/master'
Martin Berg Alstad
2023-07-11 21:08:44 +02:00
8b010ed691Moved tests to own job
Martin Berg Alstad
2023-07-11 21:08:25 +02:00
949c10f9f3Started with ActionService tests
Martin Berg Alstad
2023-07-11 20:58:22 +02:00
dfd8bbfc10Added check to see if all players are ready before setting to inGame
Martin Berg Alstad
2023-07-11 14:31:50 +02:00
5db0af5841GameGroup tests
Martin Berg Alstad
2023-07-11 14:23:41 +02:00
b2f9573fd5Create dotnet.yml With backend CI
Martin Berg Alstad
2023-07-09 22:44:54 +02:00
31196886fdTests, finished for extensions
martin
2023-07-09 19:58:32 +02:00
0cb4367999Fixed bugs, sending players instead of characters
martin
2023-07-09 19:10:36 +02:00
c0a35fc298Updated deps, find spawnpoints, other refactoring
martin
2023-07-09 17:10:39 +02:00
920a941156Persist the player in sessionStorage, fixed typo in BoxProps
martin
2023-07-08 15:39:34 +02:00
d6fa74455eSplit doAction into multiple functions
martin
2023-07-08 14:18:09 +02:00
1116942031Updated jotai states and some backend cleanup
martin
2023-07-08 11:51:26 +02:00
5be200cc56Implemented Jotai state management
martin
2023-07-07 23:06:14 +02:00
35295b9705Moved some files
martin
2023-07-07 22:19:17 +02:00
45131efb37Refactored ActionService, players state in frontend
martin
2023-07-04 22:42:44 +02:00
eed4f50313Moved actions to a Service
martin
2023-07-03 22:24:56 +02:00
ead816849fRemoved unused packages
martin
2023-07-02 20:47:16 +02:00
35089e40d1Moved game to it's own page
martin
2023-07-02 18:16:26 +02:00
dd21f82734Created "sign-up" form
martin
2023-07-02 17:59:39 +02:00
d6a49dee6aUpdated frontend and more .Ready implementations
martin
2023-07-02 16:44:30 +02:00
eaf17ef484Added some playerstates
martin
2023-07-01 18:54:59 +02:00
49b8d05f97Refactored names
martin
2023-06-25 22:21:47 +02:00
c469b92739Added groups in backend, refactored property names
martin
2023-06-24 19:43:03 +02:00
fbe9594192Adde player class and updated character classes
martin
2023-06-18 17:20:11 +02:00
7ccb15707eStarted with player class
martin
2023-06-15 22:53:07 +02:00
f000e0effcPac-Man can't walk through another characters, and ghosts can't walk through other ghosts
martin
2023-06-12 19:13:49 +02:00
ce611447cePosition is updated on all clients
martin
2023-06-08 19:48:27 +02:00
58ab8d68eeGhost can eat a pacman and send it back to spawn
martin
2023-06-08 19:12:10 +02:00
9353c4f825Character can not land on a different characters spawn
martin
2023-06-08 16:18:09 +02:00
287d8ebe5eFixed tests
Martin Berg Alstad
2023-06-02 18:03:42 +02:00
209a33830dFixed Ghost being mistaken for Pac-Man on receive message
martin
2023-06-02 09:55:26 +02:00
63c531635eScore and pellets should update on other clients
martin
2023-05-29 23:17:36 +02:00
2543581211Updated dependencies
martin
2023-05-29 19:51:30 +02:00
5cffdf1762PacMan has a box containing pellets, pellets will be removed from map, when picked up, info and counter at top
martin
2023-05-29 19:14:48 +02:00
69ec14c04cUpdated Service to use events
martin
2023-05-29 00:24:03 +02:00
3d95ff71d6Fixed bug in teleportation, moved some state and functions
martin
2023-05-28 23:54:34 +02:00
ee00611c33Path will now be shown on hover, moved some components
martin
2023-05-28 19:39:43 +02:00
1a5505fe3fEach possible position now contains the path the character takes to reach it
martin
2023-05-28 18:22:44 +02:00
a14a54c279TS doc, refactored a bit, added a failed test
martin
2023-05-28 14:39:53 +02:00
a473d8ce66Refactor
martin
2023-05-28 14:10:08 +02:00
161b232176Fixed bug in findMovesAlgo, added dummies to show direction of possible moves, changed direction to enum
martin
2023-05-28 13:44:27 +02:00
1a2e8e7846Rewritten algorithm to use Direction as well as position
Martin Berg Alstad
2023-05-24 20:14:23 +02:00
dc0e5a342eGhosts can't teleport
Martin Berg Alstad
2023-05-24 18:11:41 +02:00
76eca2d9caUpdated build dir
Martin Berg Alstad
2023-05-23 22:18:48 +02:00
54c2539b2aAdded vitest | added dockerfile | wrote some tests
Martin Berg Alstad
2023-05-23 22:01:41 +02:00
1fd30f1a16Added some box and pellet logic
Martin Berg Alstad
2023-05-22 22:57:45 +02:00
485014d28dComments
Martin Berg Alstad
2023-05-22 22:13:21 +02:00
a16de14d54Refactored
Martin Berg Alstad
2023-05-21 21:42:21 +02:00
44192ea3feAdded movement to characters, and remove used dice
Martin Berg Alstad
2023-05-21 19:18:21 +02:00
c5d8ecc362Finished the possibleMovesAlgorithm
Martin Berg Alstad
2023-05-21 11:38:16 +02:00
89df373d45Can click a player to select it. Started implementing algorithm to find paths
Martin Berg Alstad
2023-05-20 23:57:20 +02:00
74f69c6f6cReplaced the canvas map with a react component
Martin Berg Alstad
2023-05-20 18:05:23 +02:00