351 Commits

Author SHA1 Message Date
Jonas
d2c2ca1732 Chat works. 2022-03-27 12:07:21 +02:00
Jonas
63a8e21f6c Ping(back) works on both client and server side. 2022-03-27 11:58:48 +02:00
Jonas
146ff4ea82 Working on JClientProtocolParser 2022-03-27 11:54:01 +02:00
Jonas
ac11bc4991 implemented JServerProtocolParser, started writing JClientProtocolParser 2022-03-27 10:41:37 +02:00
Jonas
80644a934c New Parser structure 2022-03-27 10:03:27 +02:00
Jonas
f5dd739dd4 spelling 2022-03-27 10:01:08 +02:00
Alexander Sazonov
d1b2474702 Tried implementing logout handling (changes only on Server side) 2022-03-27 03:03:53 +02:00
Alexander Sazonov
10bbcdf69e Added name duplicate handler by modifying the ClientHandler class as well as adding a class where all Client names are stored 2022-03-27 00:38:48 +01:00
Alexander Sazonov
4b3d3127ad Merge remote-tracking branch 'origin/master' 2022-03-26 21:33:16 +01:00
Alexander Sazonov
8f4f542893 Added random name generator 2022-03-26 21:32:04 +01:00
Seraina
5adbe540ec Fixed Typos in QA-Concept Draft 2022-03-26 21:14:22 +01:00
Sebastian Lenzlinger
15db9e4eb9 Some fields and methods where non-static and I changed them to static. 2022-03-26 14:46:05 +01:00
Sebastian Lenzlinger
a244903fbb Finnished Dokumenting ClientMsgDecoder.java and removed
unused imports.
2022-03-26 14:11:14 +01:00
Sebastian Lenzlinger
edfceb0048 Added Some javadoc to ClientMsgDecoder.java to explain
the use of the class.
2022-03-26 13:39:51 +01:00
Sebastian Lenzlinger
46ee78d298 Further work on CommandExecuter and adjustments to NightServerProtocol. 2022-03-26 13:32:27 +01:00
Sebastian Lenzlinger
8916d7f8b9 Merge remote-tracking branch 'origin/master' 2022-03-26 13:14:53 +01:00
Sebastian Lenzlinger
b2d725f4c3 Finnished ClientMsgDecoder!
last thing todo is implement
the execution of the input.
2022-03-26 13:14:36 +01:00
Jonas
c48457e9b6 spelling 2022-03-26 11:50:35 +01:00
Jonas
111e310d00 Merge remote-tracking branch 'origin/master' 2022-03-26 11:38:25 +01:00
Jonas
9371f8551d formatting & lower case folders 2022-03-26 11:37:57 +01:00
Sebastian Lenzlinger
9b1faa6ce1 Reconsile changes accross Client utility classes 2022-03-26 11:35:51 +01:00
Sebastian Lenzlinger
8f0ccbfa36 Fixed InputToProtocolMap to now contain a encoding map from client input to protocol msg and a set of legal client inputs. 2022-03-26 10:53:22 +01:00
Sebastian Lenzlinger
3f05121925 added "to" in NTtB doc comment... 2022-03-26 10:10:51 +01:00
Seraina
18acef0a2e Reformatted my Code and cleaned it up a little 2022-03-25 21:59:09 +01:00
Seraina
478bd71409 Merge remote-tracking branch 'origin/master' 2022-03-25 21:46:31 +01:00
Seraina
9ca36e36d1 Added usable styleguide .xml 2022-03-25 21:46:17 +01:00
Seraina Schöb
0faf43f6c0 Updated Diary.txt 2022-03-25 20:39:29 +00:00
Seraina
aa8f404cee Added draft of QA-Concept for Milestone II 2022-03-25 21:34:47 +01:00
Seraina
ce250f638d Added an array full of Passengers, set them all to human by default 2022-03-25 17:25:05 +01:00
Seraina
a6ca3da263 Added jaococ plugin 2022-03-25 17:22:35 +01:00
Sebastian Lenzlinger
5368679933 Added description to NTtBFormatMsg 2022-03-25 14:48:18 +01:00
Sebastian Lenzlinger
3575c2010c deleted unused classes
work on:
NTtBFormatMsg
ClientMsgDecoder
Notice: no correct response is generated yet!
2022-03-25 14:44:47 +01:00
Jonas
002e9a5e57 updated Diary.txt 2022-03-25 13:56:18 +01:00
Jonas
5dc4747f6e Merge remote-tracking branch 'origin/master' 2022-03-25 13:30:25 +01:00
Jonas
7a3dc4abd6 Client can specify host IP 2022-03-25 13:30:03 +01:00
Sebastian Lenzlinger
2b10ff3294 Put the enum NTtBProtocol into the NightTrainProtocol class to have a authority class to validate and keep track of legal commands. 2022-03-25 13:12:03 +01:00
Sebastian Lenzlinger
846d0a8187 Noticed enums can be treated as clases to an extent so added a HashSet that accociates strings with Enum fields of the Protocol.
ProtocolValidator might become redundant!
2022-03-25 12:50:57 +01:00
Jonas
7f967f6818 ClientPinger and ServerPinger "merged" from the ping branch 2022-03-25 12:39:20 +01:00
Sebastian Lenzlinger
30986d2d86 Added ProtocolValidator class
added MSGRS command (message recieved, sent for server to client after recieving a msg with what was recieved as aprameters) to NTtBCommands
continued work on ClientMsgDecoder
2022-03-25 12:17:42 +01:00
Sebastian Lenzlinger
208b0d6586 addded ClientMsgDecoder class and a NoCommmandTokenException class 2022-03-25 11:58:37 +01:00
Sebastian Lenzlinger
90728e3833 Updates to various TODOs 2022-03-25 11:42:24 +01:00
Sebastian Lenzlinger
03d4942552 TODO in CLient: automate/hide connecting sequence in Client Constructor.
Added Comment to ClientHandler that the constructor atm implements connecting logic.
2022-03-25 11:27:41 +01:00
Jonas
47703e481e Updated ServerPinger and ClientPinger to terminate if the socket is closed 2022-03-24 20:22:40 +01:00
Sebastian Lenzlinger
04df8806cd Added some TODOs in Client.java 2022-03-24 15:57:53 +01:00
Sebastian Lenzlinger
3c89b60592 Clean up. 2022-03-24 15:49:05 +01:00
Sebastian Lenzlinger
65404c210b Merge remote-tracking branch 'origin/master' 2022-03-24 15:37:00 +01:00
Sebastian Lenzlinger
dd898c1742 Implemented NTtBProtocolParser.java.
Still needs to be tested.
2022-03-24 15:36:50 +01:00
Jonas
909abd81b1 added ServerPinger.java and updated client & server pingers 2022-03-24 15:34:38 +01:00
Seraina
66628b07cd Started working on some basic game logic stuff
Added a tool to randomize the order of the train (->Train)
2022-03-24 15:17:19 +01:00
Seraina
4bad0857cf Added meeting notes for the 24.03 2022-03-24 14:38:13 +01:00