23 Commits

Author SHA1 Message Date
Martin Berg Alstad
d98293e3e7 Class object now implements props 2023-07-22 20:56:30 +02:00
Martin Berg Alstad
1db515d796 Json is being handled with camelCase 2023-07-20 18:06:30 +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
47196161ac Sets the spawn in the backend when player is created, and other fixes :p 2023-07-14 19:14:19 +02:00
martin
dd21f82734 Created "sign-up" form 2023-07-02 17:59:39 +02:00
martin
49b8d05f97 Refactored names 2023-06-25 22:21:47 +02:00
martin
c469b92739 Added groups in backend, refactored property names 2023-06-24 19:43:03 +02:00
martin
fbe9594192 Adde player class and updated character classes 2023-06-18 17:20:11 +02:00
martin
7ccb15707e Started with player class 2023-06-15 22:53:07 +02:00
martin
58ab8d68ee Ghost can eat a pacman and send it back to spawn 2023-06-08 19:12:10 +02:00
martin
9353c4f825 Character can not land on a different characters spawn 2023-06-08 16:18:09 +02:00
martin
209a33830d Fixed Ghost being mistaken for Pac-Man on receive message 2023-06-02 09:55:26 +02:00
martin
63c531635e Score and pellets should update on other clients 2023-05-29 23:17:36 +02:00
martin
5cffdf1762 PacMan has a box containing pellets, pellets will be removed from map, when picked up, info and counter at top 2023-05-29 19:14:48 +02:00
martin
3d95ff71d6 Fixed bug in teleportation, moved some state and functions 2023-05-28 23:54:34 +02:00
martin
161b232176 Fixed bug in findMovesAlgo, added dummies to show direction of possible moves, changed direction to enum 2023-05-28 13:44:27 +02:00
Martin Berg Alstad
1a2e8e7846 Rewritten algorithm to use Direction as well as position 2023-05-24 20:14:23 +02:00
Martin Berg Alstad
1fd30f1a16 Added some box and pellet logic 2023-05-22 22:57:45 +02:00
Martin Berg Alstad
a16de14d54 Refactored 2023-05-21 21:42:21 +02:00
Martin Berg Alstad
44192ea3fe Added movement to characters, and remove used dice 2023-05-21 19:18:21 +02:00
Martin Berg Alstad
89df373d45 Can click a player to select it. Started implementing algorithm to find paths 2023-05-20 23:57:20 +02:00
Martin Berg Alstad
74f69c6f6c Replaced the canvas map with a react component 2023-05-20 18:05:23 +02:00
Martin Berg Alstad
046617ae20 Drawn characters on the board 2023-05-20 16:06:31 +02:00