sebaschi
90f844ce6b
Added List of ClientHandlers to represent who is in the lobby, aka the players.
2022-04-08 12:10:49 +02:00
sebaschi
ce5723c3e9
Correcions 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.
...
Lobby: Field "admin" added which is a ClientHandler type object. This represents who started the game and, for the phase before the gameplay starts, controls relevant functions.
2022-04-08 12:08:38 +02:00
Alexander Sazonov
5cfa6809a2
Modified GhostifyHandler, added Logger statement
2022-04-08 11:27:52 +02:00
Seraina
d83248d89f
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# src/main/java/ch/unibas/dmi/dbis/cs108/gamelogic/VoteHandler.java
2022-04-08 11:12:07 +02:00
Seraina
913d0781de
Added adjustments for the testing of voteHandler
...
- main methode
- a print methode, that prints out a Passenger array
2022-04-08 11:10:05 +02:00
Alexander Sazonov
6ab1eb0390
Small adjustment to VoteHandler (both ghostVote and humanVote)
2022-04-08 10:55:01 +02:00
Seraina
efdd1167d2
Adjusted Passenger class for testing of VoteHandler
2022-04-08 10:27:19 +02:00
Seraina
7a89bb98b6
Merge remote-tracking branch 'origin/master'
2022-04-07 13:24:29 +02:00
Seraina
7153563471
Started building connection between game logic and sever-client. Added new Protocol msg and a s*** ton of todos for myself
2022-04-07 13:24:09 +02:00
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