6
UMLClass
114
582
270
96
_object: WordleServer_
--
+ int currentDay
+ int DEFAULT_PORT
+ DatabaseConnector db
+ String wotd
--
+ WordleServer
+ WordleServer(int pPort)
+ processNewConnection(String pClientIP, int pClientPort)
+ processClosingConnection(String pClientIP, int pClientPort)
+ processMessage(String pClientIP, int pClientPort, String pMessage)
+ checkDay()
UMLClass
180
492
126
42
_object: Server_
--
UMLClass
0
786
126
42
_object: Queue<ContentType>_
--
UMLClass
186
786
126
42
_object: DatabaseConnector_
--
UMLClass
180
390
126
42
_object: List<ContentType>_
--
UMLClass
360
786
126
42
_object: QueryResult_
--
Relation
240
528
18
66
lt=<<<-
10.0;90.0;10.0;10.0
Relation
240
426
18
78
lt=<..
10.0;10.0;10.0;110.0
Relation
240
750
18
48
lt=<..
10.0;60.0;10.0;10.0
Relation
120
798
78
18
lt=<..
10.0;10.0;110.0;10.0
Relation
306
798
66
18
lt=<..
90.0;10.0;10.0;10.0
UMLClass
186
696
126
60
object: Query
--
- pullStats(user)
+ pushStats(user)
+ checkForLogin(String username, String passwort):boolean
+ getWord(int)
UMLClass
462
570
126
120
object: User
--
+ final int connectionID
+ final String username
+ final String passwort
+ int timesPlayed
+ int winPercentage
+ int currentStreak
+ int maxStreak
+ int lastDayWOTDFinished
+ int state
+ int[] wonInTurn
Relation
378
618
96
24
lt=<..
n
140.0;20.0;10.0;20.0
Relation
240
672
24
36
lt=<..
1
10.0;40.0;10.0;10.0
UMLClass
684
606
126
54
object: Game
String wotd
--
String randomWord
String[] guesses
Relation
582
624
114
18
lt=<..
170.0;10.0;10.0;10.0