6
UMLClass
114
438
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
348
126
42
_object: Server_
--
UMLClass
0
642
126
42
_object: Queue<ContentType>_
--
UMLClass
186
642
126
42
_object: DatabaseConnector_
--
UMLClass
180
246
126
42
_object: List<ContentType>_
--
UMLClass
360
642
126
42
_object: QueryResult_
--
Relation
240
384
18
66
lt=<<<-
10.0;10.0;10.0;90.0
Relation
240
282
18
78
lt=<..
10.0;10.0;10.0;110.0
Relation
240
612
18
42
lt=<..
10.0;50.0;10.0;10.0
Relation
120
654
78
18
lt=<..
10.0;10.0;110.0;10.0
Relation
306
654
66
18
lt=<..
90.0;10.0;10.0;10.0
UMLClass
186
558
126
60
object: Query
--
- pullStats(user)
+ pushStats(user)
+ createNewUser(user)
+ checkForLogin(String username, String passwort):boolean
+ getWord(int)
UMLClass
462
426
126
156
object: User
--
- final int connectionID
- final String username
- final String password
- int timesPlayed
- int winPercentage
- int currentStreak
- int maxStreak
- int lastDayWOTDFinished
- int state
- int[] wonInTurn
--
+ User(pConnectionID)
+getter & setter
Relation
378
480
96
24
lt=<..
m1=n
140.0;10.0;10.0;10.0
Relation
240
528
24
42
lt=<..
1
10.0;50.0;10.0;10.0
Relation
582
474
114
30
lt=<..
m1=1
170.0;20.0;10.0;20.0
UMLClass
684
450
126
102
object: Game
--
- String wotd
- String randomWord
- String[] guesses
--
+ Game()
+ startGame()
+ startWOTD()
+ isGameRunning(): boolean
- stopGame()