Commit Graph

663 Commits

Author SHA1 Message Date
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
Seraina 7f5a8badc7 Made a copy of diary for milestone 2 2022-03-24 14:08:30 +01:00
Seraina dac803aed7 MAde a copy of diary for milestone 2 2022-03-24 14:07:03 +01:00
Sebastian Lenzlinger 532159d466 Updates NTtBCommands, that defines the NTtB Protocol, to include which commands mean what. Added Ping/pong classes where Pinging and Ping-Handling could be implemented. Tried to define useful interfaces. Added Some Command Classes, unsure if they will be needed. 2022-03-24 12:53:30 +01:00
Jonas 3e9888e662 updated documentation for humanNPC 2022-03-24 11:23:41 +01:00
Sebastian Lenzlinger 454f8331c7 Irrelevant change to NTtBFormatMsg constructor 2022-03-23 19:11:50 +01:00
Sebastian Lenzlinger 347984d0db Merge remote-tracking branch 'origin/master' 2022-03-23 19:07:53 +01:00
Jonas 7bb1407ef7 MANY UPDATES TO CLIENT/SERVER:Introduced a protocol parser interface and created an implementing class.
Introduced Input-Type Interface which is implemendet by the parameter class. This allowes the clients parser to more easily create an the NTtB-Protocol adhering message.
furthermore a ProtocolMessage interface implemented by NTtBFormatMsg abstract class.
parseMsg in NTtBProtocolParser
2022-03-23 19:07:38 +01:00
Jonas 784e4ae9f3 tiny formatting adjustment 2022-03-23 12:59:30 +01:00
Sebastian Lenzlinger ccf36dff19 Merge remote-tracking branch 'origin/master' 2022-03-22 15:47:14 +01:00
Sebastian Lenzlinger e8157a6a91 Wiiter mit Client/Server, minor changes 2022-03-22 15:47:07 +01:00
Seraina 6d9e352ed1 Fixed Typo 2022-03-22 15:37:55 +01:00
Seraina 091d1aa83a Changed name of the project 2022-03-22 15:34:17 +01:00
Jonas c928119bbc updated player / npc classes to work with ClientHandlers 2022-03-22 15:24:53 +01:00
Jonas 66b34dce60 added getClientUserName() method 2022-03-22 15:16:31 +01:00
Sebastian Lenzlinger 59a92fa145 Last Changes for Today (SL) 2022-03-21 22:51:38 +01:00
Sebastian Lenzlinger 5f01e494f4 Client Server w/ Group-Chat. 2022-03-21 22:44:29 +01:00
Sebastian Lenzlinger 4fcd68fef5 What am I doing... 2022-03-21 20:44:51 +01:00
Sebastian Lenzlinger 371efdf89c Renamed Client.java to ClientThread.java 2022-03-21 19:55:25 +01:00
Seraina 9037a8106f Tried removing .idea ordner 2022-03-21 13:58:43 +01:00
Seraina c691eeb862 Merge branch 'master' of https://git.scicore.unibas.ch/cs108-fs22/Gruppe-8 2022-03-21 13:54:22 +01:00
Jonas Nicolas Biedermann 076c3aca3a Update .gitignore to add .idea 2022-03-21 12:51:38 +00:00
Seraina 637a619691 Tried removing .idea ordner 2022-03-21 13:48:57 +01:00
Seraina 623f779c3b Tried removing .idea ordner 2022-03-21 13:48:04 +01:00
Seraina 5af72edc3c Tried if removal of .idea ordner works 2022-03-21 13:45:02 +01:00
Sebastian Lenzlinger fee41d1ef7 Merge remote-tracking branch 'origin/master' 2022-03-21 13:43:29 +01:00
Sebastian Lenzlinger c2676caf60 Added Client Server Skeleton 2022-03-21 13:43:15 +01:00
Seraina cdae79486a Merge remote-tracking branch 'origin/master' 2022-03-21 13:43:10 +01:00
Seraina ae80ad5f3c Tried removing the .idea folder from repo for good 2022-03-21 13:42:51 +01:00
Sebastian Lenzlinger e79adc0e61 Added Client Server Skeleton 2022-03-21 13:42:42 +01:00
Jonas 236024751c did the things to ignore idea 2022-03-21 13:36:53 +01:00
Jonas ea2fdc7a50 test commit to see if deleted folders will push 2022-03-21 13:33:08 +01:00
Seraina 84aab5ef8f Tried removing the .gradle folder from repo 2022-03-21 13:29:49 +01:00
Seraina 4ba0447c47 Tried removing the .idea folder from repo again 2022-03-21 13:26:31 +01:00
Seraina 52500dc168 Merge remote-tracking branch 'origin/master' 2022-03-21 13:21:23 +01:00
Seraina ff35910ae3 Tried removing the .idea folder from repo 2022-03-21 13:20:29 +01:00
Jonas b6c21e2f3e finished HumanPlayer class 2022-03-21 12:47:13 +01:00
Seraina Schöb f799f743dd Delete TetsBanner.jpg 2022-03-19 17:27:06 +00:00
Seraina Schöb 3071f6e91b fixed typo in README.md 2022-03-19 17:13:23 +00:00