27 Commits

Author SHA1 Message Date
Martin Berg Alstad
54c2539b2a Added vitest | added dockerfile | wrote some tests 2023-05-23 22:01:41 +02:00
Martin Berg Alstad
1fd30f1a16 Added some box and pellet logic 2023-05-22 22:57:45 +02:00
Martin Berg Alstad
485014d28d Comments 2023-05-22 22:13:21 +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
c5d8ecc362 Finished the possibleMovesAlgorithm 2023-05-21 11:38:16 +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
Martin Berg Alstad
6042984fc6 Dice can be selected 2023-05-20 15:26:09 +02:00
Martin Berg Alstad
6f309a9b4a Moved some logic to other methods 2023-05-20 10:15:17 +02:00
Martin Berg Alstad
d8e74dc6fd Sends an ActionMessage between client and server 2023-05-20 00:13:52 +02:00
Martin Berg Alstad
9df04610ef Added disconnect method on return, removed promise from close 2023-05-19 23:24:46 +02:00
Martin Berg Alstad
033bbbea03 Action objects and update dices on all screens after roll 2023-05-18 23:51:44 +02:00
Martin Berg Alstad
19c87bae68 Created GameController, and generic controller. Created some methods in the client to send and receive data 2023-05-18 19:24:15 +02:00
Martin Berg Alstad
ef85dec657 Changed Collection to SynchronizedCollection 2023-05-18 12:05:22 +02:00
Martin Berg Alstad
4d7b0e2b1e Started drawing a test canvas, added a few classes and interfaces 2023-05-17 20:07:28 +02:00
Martin Berg Alstad
d6cf7ac94d WebSocket messages will be sent to all connected 2023-05-17 12:57:24 +02:00
Martin Berg Alstad
ad1b9b2ad9 Exception handling in backend when disconnecting. open() method for websocket in client 2023-05-17 09:55:55 +02:00
Martin Berg Alstad
dc14c52e8f Fixed websockets 2023-05-16 23:01:41 +02:00
Martin Berg Alstad
bd8a43f40e Started testing webSockets 2023-05-16 21:55:56 +02:00
Martin Berg Alstad
4ebce58f76 Updated namespace 2023-05-16 09:41:57 +02:00
Martin Berg Alstad
66d54eee07 Removed unused deps, added new ones, created a few types and moved some files 2023-05-15 22:56:07 +02:00
Martin Berg Alstad
091f662ae6 Setup tailwind css, removed some unnecessary stuff 2023-05-15 21:08:44 +02:00
Martin Berg Alstad
1756a87322 Switched out CRA with vite 2023-05-15 20:30:42 +02:00
Martin Berg Alstad
7669a67cd9 Updated dependencies and removed bootstrap 2023-05-15 19:15:55 +02:00
Martin Berg Alstad
85de1237f4 Initial commit 2023-05-15 19:02:22 +02:00