added the feature that a client can host a server

- added a class BattleshipServer (a client host a local server) and ReceivedMessage
- edited the NetworkDialog, that a client has a checkbox to select to host a server
-
This commit is contained in:
Daniel Grigencha
2024-10-09 18:29:16 +02:00
parent 28ba183b84
commit 9d5f3ac396
5 changed files with 332 additions and 17 deletions

View File

@@ -24,6 +24,7 @@ button.connect=Connect
button.cancel=Cancel
server.dialog=Server
host.name=Host
host.own-server=Host own server
port.number=Port
wait.its.not.your.turn=Wait, it's not your turn!!
menu.quit=Quit game

View File

@@ -25,6 +25,7 @@ button.cancel=Abbruch
server.dialog=Server
host.name=Host
port.number=Port
host.own-server=Server hosten
wait.its.not.your.turn=Warte, Du bist nicht dran!!
menu.quit=Spiel beenden
menu.return-to-game=Zurück zum Spiel