Commit Graph

292 Commits

Author SHA1 Message Date
7ab9d753ed Make sure name returned by bot correspond to its type 2022-09-24 12:31:07 +02:00
ef9d2ce112 Add README 2022-09-24 12:15:48 +02:00
625cc88950 Optimize some tests 2022-09-24 12:14:39 +02:00
dfdf6d9952 Add new test on invite mode 2022-09-24 12:12:40 +02:00
45b6a24eda Add invite mode 2022-09-24 11:46:12 +02:00
663a9c2d71 Add smart bot 2022-09-22 18:12:23 +02:00
e71b724278 Add intermediate bot 2022-09-22 17:53:25 +02:00
7d0fed27a9 Can get relevant grid locations 2022-09-21 16:37:34 +02:00
977345fb81 Can check if shooting a location is worthwhile or not 2022-09-20 17:37:44 +02:00
6832aebedb Add tests for no replay after hit rule 2022-09-19 19:29:11 +02:00
7cfd7a4899 Can get the size of the smallest unsunk boat 2022-09-19 18:58:32 +02:00
dd0ca5941a Can have intelligent strike after first hit 2022-09-18 19:02:04 +02:00
d1e8efc764 Add support for linear bots 2022-09-17 12:02:13 +02:00
6efaa81ecb Automatically replace player by boat if he leaves game 2022-09-16 18:02:23 +02:00
45060ae14b Added rematch feature 2022-09-16 16:55:29 +02:00
13c03a8df0 Add TODOs 2022-09-15 20:14:57 +02:00
a6040fe89c Players get live game status updates 2022-09-15 20:13:06 +02:00
8fac31e97b Check boats layout before accepting it 2022-09-15 19:56:11 +02:00
d3d5feda4f Ready to implement boats layout check 2022-09-15 18:04:22 +02:00
007fe3b773 Add WebSocket heartbeat 2022-09-15 17:45:52 +02:00
f34e90bc5b Cargo clippy 2022-09-15 17:39:44 +02:00
2723724589 Can play full game 2022-09-15 17:37:26 +02:00
5b7a56d060 Fix .git location 2022-09-14 18:34:10 +02:00
a0eae4c93d Can fire 2022-09-14 18:30:33 +02:00
54f7566016 WS client can send boats layout 2022-09-14 18:02:11 +02:00
70cb99a0a0 Start to write tests 2022-09-14 17:36:16 +02:00
b6be982295 Reorganize code 2022-09-14 16:50:29 +02:00
3ad384c85a Add more debug messages 2022-09-13 19:12:16 +02:00
001d4341de Boat automatically send its boats configuration 2022-09-13 19:02:26 +02:00
b36f2d4f20 cargo fmt 2022-09-13 17:26:40 +02:00
e17b64a416 Can generate random boats layout 2022-09-13 17:25:14 +02:00
5a19763d73 Start to work on game structures 2022-09-12 16:38:14 +02:00
c0b6067d34 Reorganize routes 2022-09-12 16:07:46 +02:00
4fb952a59f cargo fmt 2022-09-11 17:03:41 +02:00
36a573e563 Improve messages formatting 2022-09-11 17:03:13 +02:00
481f36752d Remove complex PlayerWrapper structure 2022-09-11 16:58:40 +02:00
d8bf2165a8 Minor improvments 2022-09-11 16:52:13 +02:00
6e7a0799eb Can request for boats configuration 2022-09-11 16:48:20 +02:00
33426a6cd6 Add CORS 2022-09-10 15:11:12 +02:00
f4d6fdf146 Add boats configuration 2022-09-10 15:02:45 +02:00
481bfe14f4 Add basic server 2022-09-10 14:37:47 +02:00
87089e8be8 Initial commit 2022-09-10 14:15:35 +02:00