Commit Graph

264 Commits

Author SHA1 Message Date
6e423f41ef Show error messages when settings boats disposition 2022-10-08 10:16:53 +02:00
c3f2b5e767 Can move boats with arrows 2022-10-08 09:55:07 +02:00
04fac2ddb2 Improve mouse interaction 2022-10-08 09:40:53 +02:00
b1f60894ed Complete mouse interaction 2022-10-07 20:07:18 +02:00
a2c9e4e257 Add mouse interaction 2022-10-07 19:57:55 +02:00
13fa2ef87d Add title to game map 2022-10-07 13:02:37 +02:00
b7d2cceff6 Prepare next task 2022-10-07 12:05:54 +02:00
aea9175b7e Display grid coordinates 2022-10-07 11:53:43 +02:00
8728cbb612 Can show legend on game map 2022-10-07 11:34:31 +02:00
01ca2f50f4 Improve game map formatting 2022-10-07 10:38:56 +02:00
7178b96077 Start to build game grid 2022-10-07 10:20:21 +02:00
17a4edf417 Improve game rules configuration screen 2022-10-02 19:17:29 +02:00
c9f643e224 Can select bot type 2022-10-02 18:00:45 +02:00
46ab1fec9a Game rules screen functional 2022-10-02 16:31:36 +02:00
a62ced4d3c Configuration fields in game rules screen are editable 2022-10-02 16:21:08 +02:00
075b9e33e4 Start to build edit game rules screen 2022-10-02 15:50:54 +02:00
72af5df56f Reorganize main function 2022-10-01 20:49:05 +02:00
7a06feb7cf Start local server on client run 2022-10-01 20:44:01 +02:00
14c5820ed2 Improve frame size 2022-10-01 19:30:08 +02:00
003296a782 Start to build cli player 2022-10-01 19:25:41 +02:00
65af3b0bba Add random mode 2022-10-01 10:16:00 +02:00
a2b60ac08c Players must specify their name when starting a new game 2022-09-25 17:20:56 +02:00
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