4337583de6Fixed some bugs now the VoteHanlder does what it is supposed to
Seraina
2022-04-08 12:42:02 +02:00
16e6364cc9Lobby now have static field to count how many lobbies there are in total which is used to assign a particular lobby and ID, so players can ask to join the lobby.
sebaschi
2022-04-08 12:40:11 +02:00
1d9ee624feMerge remote-tracking branch 'origin/master'
Jonas
2022-04-08 12:36:41 +02:00
b6d2a04e76Working on putting all protocol messages through Protocol.java. Some small adjustments & bugfixes to how naming is handled. Added loggedIn boolean for ClientHandler, not meaningfully implemented yet though. Other minor changes.
Jonas
2022-04-08 12:36:30 +02:00
052a207822Added final field MAX_NO_OF_CLIENTS used to not overfill the lobby.
sebaschi
2022-04-08 12:23:51 +02:00
90f844ce6bAdded List of ClientHandlers to represent who is in the lobby, aka the players.
sebaschi
2022-04-08 12:10:49 +02:00
ce5723c3e9Correcions in CentralServerData: wherever a Client object wasa expected has been changed to expect a ClientHandler object. This is because the server sees clients via ClientHandlers but has no access to Client objects.
sebaschi
2022-04-08 12:08:38 +02:00
5cfa6809a2Modified GhostifyHandler, added Logger statement
Alexander Sazonov
2022-04-08 11:27:52 +02:00
3c94bd5324Merge remote-tracking branch 'origin/master'
Jonas
2022-04-08 11:11:14 +02:00
782f6e0f22Updated Diary.txt
Jonas
2022-04-08 11:11:01 +02:00
913d0781deAdded adjustments for the testing of voteHandler - main methode - a print methode, that prints out a Passenger array
Seraina
2022-04-08 11:10:05 +02:00
6ab1eb0390Small adjustment to VoteHandler (both ghostVote and humanVote)
Alexander Sazonov
2022-04-08 10:55:01 +02:00
efdd1167d2Adjusted Passenger class for testing of VoteHandler
Seraina
2022-04-08 10:27:19 +02:00
7153563471Started building connection between game logic and sever-client. Added new Protocol msg and a s*** ton of todos for myself
Seraina
2022-04-07 13:24:09 +02:00
1b27a601f0updated nameDuplicateChecker to remove $ and : and deal with empty names. Also renamed singularName() to checkName().
Jonas
2022-04-07 13:13:09 +02:00
2789779d62Merge remote-tracking branch 'origin/master'
Jonas
2022-04-07 12:29:59 +02:00
faa2b61acbCall me Joni Mitchell because quit due to connection loss works on both sides now.
Jonas
2022-04-07 12:29:36 +02:00
b470fc78a2Further development of VoteHandler: extended humanVote method, added Logger statements and comments
Alexander Sazonov
2022-04-07 11:59:51 +02:00
de69ea27bbMerge remote-tracking branch 'origin/master'
Jonas
2022-04-07 11:33:18 +02:00
02c0676ecfevery message is sent via the sendMsgToClient / sendMsgToServer methods. Logger for debugging what happens when someone accidentally quits
Jonas
2022-04-07 11:33:06 +02:00
b5682d5531Removed unused methods in game functions
Seraina
2022-04-07 11:01:59 +02:00
f26bdec457added fun Agatha Christie reference for nerds.
Jonas
2022-04-06 23:47:14 +02:00
d114d69595Simplified Login, updated name-duplicate-checking and added fun suffixes
Jonas
2022-04-06 23:30:30 +02:00
c64c754d22Another complete overhaul of client-server communication: -Added broadcastAnnouncement message to ClientHandler -Bugfix: "Connection lost" at startup -Added LOGIN$username to protocol
Jonas
2022-04-06 21:57:21 +02:00
51d969e298Merge remote-tracking branch 'origin/master'
Jonas
2022-04-06 19:32:05 +02:00
033a7e3bb6/q now works without throwing any errors
Jonas
2022-04-04 14:36:29 +02:00
62a909444eFixed some typos and inconsistencies in QA-Concept
Seraina
2022-04-04 14:14:17 +02:00
19c31356c2Some changes to Structure of VoteHandler and related classes
Seraina
2022-04-04 13:48:45 +02:00
35f6bd48abFormatted according to google-style and added a ServerLobby class meant to represent the context of the game when not in a lobby or in a running game.
sebaschi
2022-04-04 13:46:02 +02:00
191251b0a8Extended CentralServerData & GameSessionData with Sets & Maps that might be usefull.
sebaschi
2022-04-04 13:42:01 +02:00
2ad0b03cd5Merged my changes with Alexs changes in VoteHandler
Seraina
2022-04-04 13:07:24 +02:00
d0c4290894Working on VoteHandler
Alexander Sazonov
2022-04-04 13:03:35 +02:00
bb29f77fa9Added first Documentation comment to CentralServerData
sebaschi
2022-04-04 12:54:08 +02:00
28c19bfb7aadded apache commons collections version 4.4
sebaschi
2022-04-04 12:49:32 +02:00
32c9c8e870Added TODo for Alex: Documentation
Seraina
2022-04-04 12:46:07 +02:00
a5c3ad7b79Added Lobby and Session classes.
sebaschi
2022-04-04 11:35:19 +02:00
110a7a342dImplemented most of main logic of the VoteHandler
Alexander Sazonov
2022-04-03 18:25:37 +02:00
6b55ed8756Did first metric measurement and added plots to the QA Concept
Seraina
2022-04-03 17:34:28 +02:00
da65665ab3Fleshed out the QA Draft into a Concept, needs revision
Seraina
2022-04-03 14:43:04 +02:00
7f3ecc0ca9Started working on VoteHandler, reformatted some classes to google style
Alexander Sazonov
2022-04-03 00:55:24 +02:00
75027f60b7Modified GhostifyHandler to deal with original ghost
Alexander Sazonov
2022-04-02 23:11:19 +02:00
f677f5cb71complete overhaul of client / server communication. Several methods renamed, tweaked protocol.
Jonas
2022-04-02 17:10:29 +02:00
52a6a0cd65Update Diary.txt
Alexandr Sazonov
2022-04-01 10:42:32 +00:00
401b3bec52Added Handler skeletons concerning game logic and instructions on how to implement them
Seraina
2022-04-01 12:20:08 +02:00
5010b66d4cMade several small adjustments: -regarding disconnection handling -corrected import statements in GameFunctions.java
Jonas
2022-04-01 12:18:16 +02:00
5b3af54720Added possibility to change player from human to ghost
Alexander Sazonov
2022-04-01 11:28:46 +02:00
3151cd4c51Moved klassenstruktur into gamelogic
Seraina
2022-04-01 11:09:36 +02:00
733961292fChanged package name spiellogikentwurft to gamelogic
Seraina
2022-04-01 11:06:05 +02:00
4d8f438462Removed ominous all black imgaes
Seraina
2022-04-01 10:31:30 +02:00
c5f7bbbf6fRemoved excessive doc from build.gradle, updated libraries to the newest standard
Seraina
2022-03-31 18:26:55 +02:00
7ef0f27ec0Repo spring-cleaning: - Moved Contributers file - removed Übungs directory, no need anymore
Seraina
2022-03-31 18:10:14 +02:00
d2af77a1a3Added our names to README
Seraina
2022-03-31 18:06:49 +02:00
5af40283e9Repo spring-cleaning: - Removed Buda Server Client Stuff, not needed anymore
Seraina
2022-03-31 17:53:30 +02:00
abbf220a71Repo spring-cleaning: - changed all package names to lowercase
Seraina
2022-03-31 13:53:22 +02:00
ccff94b70aRepo spring-cleaning: - changed all package names to lowercase
Seraina
2022-03-31 13:50:32 +02:00
9b0e751c18Started Repo spring-cleaning: - added config directory for all configuration files - removed jars - Moved some files to more sensibel spots
Seraina
2022-03-31 13:42:58 +02:00
4f44ab2f3bAdded a logger instance LOGGER to all classes
Seraina
2022-03-31 13:40:55 +02:00
a9b75c95eaSet RootLogger level to Trace so all Logger messages are shown
Seraina
2022-03-31 13:16:57 +02:00
e5a64ce0c3Added Spiellogikentwurf package from LoggingExp branch
Seraina
2022-03-31 13:12:52 +02:00
af3e1928beTrying to merge Logging Experiment into master
Seraina
2022-03-31 12:59:12 +02:00
25690c14f4Creates a Class that lets us configure the RootLogger for everything (BudaLogConfig)
Seraina
2022-03-31 12:42:21 +02:00
e94d432f44Update Diary.txt
Alexandr Sazonov
2022-03-31 09:33:30 +00:00
b634f16481Added possibility to change root logger level
Alexander Sazonov
2022-03-30 22:40:51 +02:00
9d9cab77e2Update Diary.txt
Alexandr Sazonov
2022-03-28 01:48:10 +00:00
69219bc120Minor documentation inputs / changes
Alexander Sazonov
2022-03-28 03:29:49 +02:00
fd8ee64e50applied google style
Jonas
2022-03-28 00:15:34 +02:00
a2fbd2c86eMerge remote-tracking branch 'origin/master'
Jonas
2022-03-28 00:04:25 +02:00
a72c5239ffAdded in-code documentation for client & server protocol parsers.
Jonas
2022-03-28 00:04:06 +02:00