484 Commits

Author SHA1 Message Date
Jonas
1b27a601f0 updated nameDuplicateChecker to remove $ and : and deal with empty names. Also renamed singularName() to checkName().
Some other minor adjustments
2022-04-07 13:13:09 +02:00
Jonas
2789779d62 Merge remote-tracking branch 'origin/master' 2022-04-07 12:29:59 +02:00
Jonas
faa2b61acb Call me Joni Mitchell because quit due to connection loss works on both sides now. 2022-04-07 12:29:36 +02:00
Alexander Sazonov
b470fc78a2 Further development of VoteHandler: extended humanVote method, added Logger statements and comments 2022-04-07 11:59:51 +02:00
Jonas
de69ea27bb Merge remote-tracking branch 'origin/master' 2022-04-07 11:33:18 +02:00
Jonas
02c0676ecf every message is sent via the sendMsgToClient / sendMsgToServer methods. Logger for debugging what happens when someone accidentally quits 2022-04-07 11:33:06 +02:00
Seraina
b5682d5531 Removed unused methods in game functions 2022-04-07 11:01:59 +02:00
Jonas
f26bdec457 added fun Agatha Christie reference for nerds.
(default system name is U.N. Owen)
2022-04-06 23:47:14 +02:00
Jonas
d114d69595 Simplified Login, updated name-duplicate-checking and added fun suffixes 2022-04-06 23:30:30 +02:00
Jonas
c64c754d22 Another complete overhaul of client-server communication:
-Added broadcastAnnouncement message to ClientHandler
-Bugfix: "Connection lost" at startup
-Added LOGIN$username to protocol
2022-04-06 21:57:21 +02:00
Jonas
51d969e298 Merge remote-tracking branch 'origin/master' 2022-04-06 19:32:05 +02:00
Jonas
033a7e3bb6 /q now works without throwing any errors 2022-04-04 14:36:29 +02:00
Seraina
b255582aea Merge remote-tracking branch 'origin/master' 2022-04-04 13:50:26 +02:00
Seraina
19c31356c2 Some changes to Structure of VoteHandler and related classes 2022-04-04 13:48:45 +02:00
sebaschi
35f6bd48ab Formatted 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. 2022-04-04 13:46:02 +02:00
sebaschi
191251b0a8 Extended CentralServerData & GameSessionData with
Sets & Maps that might be usefull.
2022-04-04 13:42:01 +02:00
Seraina
2ad0b03cd5 Merged my changes with Alexs changes in VoteHandler 2022-04-04 13:07:24 +02:00
Alexander Sazonov
d0c4290894 Working on VoteHandler 2022-04-04 13:03:35 +02:00
sebaschi
bb29f77fa9 Added first Documentation comment to CentralServerData 2022-04-04 12:54:08 +02:00
sebaschi
28c19bfb7a added apache commons collections version 4.4 2022-04-04 12:49:32 +02:00
Seraina
32c9c8e870 Added TODo for Alex: Documentation 2022-04-04 12:46:07 +02:00
sebaschi
a5c3ad7b79 Added Lobby and Session classes. 2022-04-04 11:35:19 +02:00
Alexander Sazonov
110a7a342d Implemented most of main logic of the VoteHandler 2022-04-03 18:25:37 +02:00
Alexander Sazonov
7f3ecc0ca9 Started working on VoteHandler, reformatted some classes to google style 2022-04-03 00:55:24 +02:00
Alexander Sazonov
75027f60b7 Modified GhostifyHandler to deal with original ghost 2022-04-02 23:11:19 +02:00
Jonas
f677f5cb71 complete overhaul of client / server communication. Several methods renamed, tweaked protocol. 2022-04-02 17:10:29 +02:00
Seraina
401b3bec52 Added Handler skeletons concerning game logic and instructions on how to implement them 2022-04-01 12:20:08 +02:00
Jonas
5010b66d4c Made several small adjustments:
-regarding disconnection handling
-corrected import statements in GameFunctions.java
2022-04-01 12:18:16 +02:00
Alexander Sazonov
5b3af54720 Added possibility to change player from human to ghost 2022-04-01 11:28:46 +02:00
Seraina
3151cd4c51 Moved klassenstruktur into gamelogic 2022-04-01 11:09:36 +02:00
Seraina
733961292f Changed package name spiellogikentwurft to gamelogic 2022-04-01 11:06:05 +02:00
Seraina
abbf220a71 Repo spring-cleaning:
- changed all package names to lowercase
2022-03-31 13:53:22 +02:00
Seraina
ccff94b70a Repo spring-cleaning:
- changed all package names to lowercase
2022-03-31 13:50:32 +02:00
Seraina
9b0e751c18 Started Repo spring-cleaning:
- added config directory for all configuration files
- removed jars
- Moved some files to more sensibel spots
2022-03-31 13:42:58 +02:00
Seraina
4f44ab2f3b Added a logger instance LOGGER to all classes 2022-03-31 13:40:55 +02:00
Seraina
a9b75c95ea Set RootLogger level to Trace so all Logger messages are shown 2022-03-31 13:16:57 +02:00
Seraina
e5a64ce0c3 Added Spiellogikentwurf package from LoggingExp branch 2022-03-31 13:12:52 +02:00
Seraina
af3e1928be Trying to merge Logging Experiment into master 2022-03-31 12:59:12 +02:00
Seraina
25690c14f4 Creates a Class that lets us configure the RootLogger for everything (BudaLogConfig) 2022-03-31 12:42:21 +02:00
Alexander Sazonov
b634f16481 Added possibility to change root logger level 2022-03-30 22:40:51 +02:00
Alexander Sazonov
69219bc120 Minor documentation inputs / changes 2022-03-28 03:29:49 +02:00
Jonas
fd8ee64e50 applied google style 2022-03-28 00:15:34 +02:00
Jonas
a72c5239ff Added in-code documentation for client & server protocol parsers. 2022-03-28 00:04:06 +02:00
Jonas
ae7bff2a6f Some documentation stuff 2022-03-27 23:57:06 +02:00
Seraina
0370bf30b8 Documented everything I could and tried unifying format 2022-03-27 23:18:45 +02:00
Seraina
c87d894e10 Documented everything I could and tried unifying format 2022-03-27 22:43:35 +02:00
Seraina
2d71bbbc1c Merging Jonas-Stuff onto master 2022-03-27 21:40:17 +02:00
Seraina
055b5cbfb1 Deleted "example" Directory from this branch 2022-03-27 21:27:15 +02:00
Seraina
71d5843129 Deleted "Spiellogik" from this branch (still on the Logger branch) 2022-03-27 21:25:13 +02:00
Seraina
55a5fe50b7 Merge remote-tracking branch 'origin/Jonas_Stuff' into Jonas_Stuff 2022-03-27 17:49:52 +02:00