Commit Graph

229 Commits

Author SHA1 Message Date
3ca6c43c9a Add additional routes for the future clients of SeaBattle 2022-10-18 09:34:26 +02:00
d4223be8b4 Improve test 2022-10-18 09:24:08 +02:00
83d0780954 Add a route to get default rules 2022-10-18 09:17:15 +02:00
6be3eae863 Clear terminal before returning to main menu
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-18 09:13:59 +02:00
c763a24ca9 Can press 'Esc' key to close windows 2022-10-18 09:11:08 +02:00
10c099e03b Handle connection errors in a better way 2022-10-18 09:04:25 +02:00
eea2ecbf63 Add version check system 2022-10-18 08:58:36 +02:00
915426849b Rename variable 2022-10-18 08:13:25 +02:00
be454cce03 Update READMEs
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-10-17 20:29:41 +02:00
a91a4c5ef6 Improve READMEs
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-17 20:25:19 +02:00
02477e6728 Specify crate version
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-10-17 19:18:13 +02:00
e389b59ab9 Add information to crates 2022-10-17 19:16:16 +02:00
dfaa5ce30b Rename crate 2022-10-17 19:13:16 +02:00
cf1d77f445 Fix appearance issues of game maps
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-17 19:04:27 +02:00
0280daf6d2 Fix appearance issues
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-17 19:00:13 +02:00
38656661b4 Fix appearance issues
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-17 18:54:03 +02:00
5b228de285 Fix issue on rematch request screen 2022-10-17 18:49:52 +02:00
d8f96f732a Can play using invites 2022-10-17 18:47:33 +02:00
e760bcbe33 Handle better small screens
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-17 09:42:24 +02:00
ccb3d36fae Complete previous test
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-17 08:38:03 +02:00
fcc7f30e10 Test strike timeout 2022-10-17 08:35:49 +02:00
171c88f303 Move result structures to a more appropriate location 2022-10-17 08:24:40 +02:00
9162c5eb24 Display timeout in game UI 2022-10-17 08:21:42 +02:00
b4772aa88e Fix automatic fire 2022-10-17 08:03:13 +02:00
42b0d84f9d Implement strike timeout on server side 2022-10-17 07:59:42 +02:00
ba1ed84b33 Add strike timeout setting 2022-10-17 07:42:17 +02:00
8c1a3f2c5f Fix typo 2022-10-16 20:29:34 +02:00
25871de084 Add a message to explain why connection are closed in case of invalid player names 2022-10-16 20:23:12 +02:00
9a38a634eb Can run cli as server
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-16 19:52:34 +02:00
8990badaa4 Handle screens too small for setting boats layout 2022-10-16 19:42:43 +02:00
b1145cc362 Limit player name length
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-16 18:51:05 +02:00
e0132b68ed Can notify a player that the server is waiting for opponent play configuration 2022-10-16 18:42:18 +02:00
e97f4b593a Can fire directly with the mouse 2022-10-16 18:38:22 +02:00
1c08e2ec01 Connections are properly closed 2022-10-16 18:35:17 +02:00
70d70c2851 Handle bug that happens when a player leaves the game in an early stage 2022-10-16 18:35:17 +02:00
04ee20dac2 Fix a few bugs 2022-10-16 18:06:31 +02:00
3c2b96f3a2 Can play against random player
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-16 17:47:41 +02:00
161391db04 Update dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-16 15:02:35 +02:00
4501be6a43 Create docker image for release 2022-10-16 14:36:57 +02:00
f2ec85b46f Can request & respond to rematch 2022-10-15 17:46:14 +02:00
a2c880814c Can get opponent last fire location 2022-10-15 16:33:45 +02:00
b832ef82ed Improve grid appearance 2022-10-15 16:27:22 +02:00
4341bdc682 Improve colors 2022-10-15 16:11:30 +02:00
3455559d33 Can fire with mouse 2022-10-15 16:06:47 +02:00
acd13af227 Can fire with keyboard 2022-10-15 15:53:27 +02:00
454dff923b Can change bot type in rules screen 2022-10-15 15:07:17 +02:00
26d5f85c3c Display maps on play 2022-10-15 14:46:10 +02:00
375127eeee Query boats layout 2022-10-15 13:19:33 +02:00
a9f29e24fe Show popup message while connecting to server 2022-10-15 11:54:57 +02:00
19993c560a Ready to implement game screen 2022-10-15 11:45:45 +02:00
4af2585a8b Start to create WS client for cli_player 2022-10-15 10:12:02 +02:00
d90560d330 Improve cli screens structures 2022-10-10 17:51:51 +02:00
276f4508c0 Improve cli screens dev integration 2022-10-10 17:17:57 +02:00
5d4940adc6 Add input screen 2022-10-10 16:52:06 +02:00
3e3169dd27 Add new confirm dialog 2022-10-08 16:27:06 +02:00
7e6d18c252 Popup screen can display large texts 2022-10-08 14:54:07 +02:00
dc634fc6bc Create a popup screen 2022-10-08 14:38:33 +02:00
2f426a1540 Show invalid boats in red 2022-10-08 14:14:52 +02:00
c7bfdb8d74 Show neighbor cells if boats can't touch 2022-10-08 10:35:14 +02:00
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