2022-02-07 09:42:42 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
|
|
<diagram program="umlet" version="14.3.0">
|
2022-02-14 09:09:37 +01:00
|
|
|
<zoom_level>8</zoom_level>
|
2022-02-07 09:42:42 +01:00
|
|
|
<element>
|
|
|
|
<id>UMLClass</id>
|
|
|
|
<coordinates>
|
2022-02-14 09:45:55 +01:00
|
|
|
<x>704</x>
|
|
|
|
<y>80</y>
|
2022-02-14 09:09:37 +01:00
|
|
|
<w>80</w>
|
|
|
|
<h>24</h>
|
2022-02-07 09:42:42 +01:00
|
|
|
</coordinates>
|
|
|
|
<panel_attributes>Server</panel_attributes>
|
|
|
|
<additional_attributes/>
|
|
|
|
</element>
|
|
|
|
<element>
|
|
|
|
<id>UMLClass</id>
|
|
|
|
<coordinates>
|
2022-02-14 09:45:55 +01:00
|
|
|
<x>704</x>
|
|
|
|
<y>184</y>
|
2022-02-14 09:09:37 +01:00
|
|
|
<w>80</w>
|
|
|
|
<h>24</h>
|
2022-02-07 09:42:42 +01:00
|
|
|
</coordinates>
|
|
|
|
<panel_attributes>WordleServer</panel_attributes>
|
|
|
|
<additional_attributes/>
|
|
|
|
</element>
|
|
|
|
<element>
|
|
|
|
<id>Relation</id>
|
|
|
|
<coordinates>
|
2022-02-14 09:45:55 +01:00
|
|
|
<x>736</x>
|
|
|
|
<y>96</y>
|
2022-02-14 09:09:37 +01:00
|
|
|
<w>24</w>
|
|
|
|
<h>104</h>
|
2022-02-07 09:42:42 +01:00
|
|
|
</coordinates>
|
|
|
|
<panel_attributes>lt=<<-</panel_attributes>
|
|
|
|
<additional_attributes>10.0;10.0;10.0;110.0</additional_attributes>
|
|
|
|
</element>
|
|
|
|
<element>
|
|
|
|
<id>UMLClass</id>
|
|
|
|
<coordinates>
|
2022-02-14 09:45:55 +01:00
|
|
|
<x>280</x>
|
|
|
|
<y>264</y>
|
2022-02-14 09:09:37 +01:00
|
|
|
<w>232</w>
|
2022-02-14 09:45:55 +01:00
|
|
|
<h>392</h>
|
2022-02-07 09:42:42 +01:00
|
|
|
</coordinates>
|
2022-02-10 11:10:03 +01:00
|
|
|
<panel_attributes>User
|
|
|
|
--
|
|
|
|
-name: String
|
|
|
|
-password: String
|
|
|
|
|
|
|
|
-timesPlayed: int
|
2022-02-14 09:45:55 +01:00
|
|
|
-winPercentage: float
|
2022-02-10 11:10:03 +01:00
|
|
|
-currentStreak: int
|
|
|
|
-maxStreak: int
|
|
|
|
-wonInTurn: int[]
|
|
|
|
--
|
2022-02-10 11:35:59 +01:00
|
|
|
+setPassword(String password): void
|
2022-02-10 11:10:03 +01:00
|
|
|
+getPassword(): String
|
|
|
|
+setName(String name): void
|
|
|
|
+getName(): String
|
|
|
|
+setTimesPlayed(int timesPlayed): void
|
|
|
|
+getTimesPlayed(): int
|
2022-02-14 09:45:55 +01:00
|
|
|
+increaseTimesPlayed(): void
|
2022-02-10 11:10:03 +01:00
|
|
|
+setWinPercentage(int winPercentage): void
|
|
|
|
+getWinPercentage(): int
|
2022-02-14 09:45:55 +01:00
|
|
|
+calculateWinPercentage(): float
|
2022-02-10 11:10:03 +01:00
|
|
|
+setCurrentStreak(int currentStreak): void
|
|
|
|
+getCurrentStreak(): int
|
2022-02-14 09:45:55 +01:00
|
|
|
+increaseCurrentStreak(): void
|
2022-02-10 11:10:03 +01:00
|
|
|
+setMaxStreak(int maxStreak): void
|
|
|
|
+getMaxStreak(): int
|
2022-02-14 09:45:55 +01:00
|
|
|
+increaseMaxStreak(): void
|
2022-02-10 11:10:03 +01:00
|
|
|
+setWonInTurn(int[] wonInTurn): void
|
2022-02-14 09:45:55 +01:00
|
|
|
+getWonInTurn(int turn): int
|
|
|
|
+increaseWonInTurn(): void</panel_attributes>
|
2022-02-07 09:42:42 +01:00
|
|
|
<additional_attributes/>
|
|
|
|
</element>
|
|
|
|
<element>
|
|
|
|
<id>UMLClass</id>
|
|
|
|
<coordinates>
|
2022-02-14 09:45:55 +01:00
|
|
|
<x>400</x>
|
|
|
|
<y>168</y>
|
2022-02-14 09:09:37 +01:00
|
|
|
<w>112</w>
|
|
|
|
<h>24</h>
|
2022-02-07 09:42:42 +01:00
|
|
|
</coordinates>
|
|
|
|
<panel_attributes>DatabaseConnector</panel_attributes>
|
|
|
|
<additional_attributes/>
|
|
|
|
</element>
|
|
|
|
<element>
|
|
|
|
<id>Relation</id>
|
|
|
|
<coordinates>
|
2022-02-14 09:45:55 +01:00
|
|
|
<x>736</x>
|
|
|
|
<y>200</y>
|
2022-02-14 09:09:37 +01:00
|
|
|
<w>96</w>
|
|
|
|
<h>80</h>
|
2022-02-07 09:42:42 +01:00
|
|
|
</coordinates>
|
|
|
|
<panel_attributes>lt=<.
|
2022-02-10 11:10:03 +01:00
|
|
|
-wordleServer</panel_attributes>
|
|
|
|
<additional_attributes>10.0;10.0;10.0;80.0</additional_attributes>
|
2022-02-07 09:42:42 +01:00
|
|
|
</element>
|
|
|
|
<element>
|
|
|
|
<id>UMLClass</id>
|
|
|
|
<coordinates>
|
2022-02-14 09:45:55 +01:00
|
|
|
<x>624</x>
|
|
|
|
<y>264</y>
|
2022-02-14 09:09:37 +01:00
|
|
|
<w>240</w>
|
|
|
|
<h>88</h>
|
2022-02-07 09:42:42 +01:00
|
|
|
</coordinates>
|
|
|
|
<panel_attributes>Game
|
|
|
|
--
|
2022-02-14 09:09:37 +01:00
|
|
|
-ip: String
|
|
|
|
-port: int
|
|
|
|
|
2022-02-07 09:42:42 +01:00
|
|
|
-wordle: String
|
|
|
|
-words: String[]
|
|
|
|
-wordCount: int
|
2022-02-10 11:10:03 +01:00
|
|
|
--
|
|
|
|
+processMessage(String msg): void
|
2022-02-07 09:42:42 +01:00
|
|
|
</panel_attributes>
|
|
|
|
<additional_attributes/>
|
|
|
|
</element>
|
|
|
|
<element>
|
|
|
|
<id>UMLClass</id>
|
|
|
|
<coordinates>
|
2022-02-14 09:45:55 +01:00
|
|
|
<x>352</x>
|
|
|
|
<y>88</y>
|
2022-02-14 09:09:37 +01:00
|
|
|
<w>80</w>
|
|
|
|
<h>24</h>
|
2022-02-07 09:42:42 +01:00
|
|
|
</coordinates>
|
2022-02-10 11:10:03 +01:00
|
|
|
<panel_attributes>QueryResult</panel_attributes>
|
2022-02-07 09:42:42 +01:00
|
|
|
<additional_attributes/>
|
|
|
|
</element>
|
2022-02-10 11:10:03 +01:00
|
|
|
<element>
|
|
|
|
<id>Relation</id>
|
|
|
|
<coordinates>
|
2022-02-14 09:45:55 +01:00
|
|
|
<x>504</x>
|
|
|
|
<y>256</y>
|
2022-02-14 09:09:37 +01:00
|
|
|
<w>136</w>
|
|
|
|
<h>32</h>
|
2022-02-10 11:10:03 +01:00
|
|
|
</coordinates>
|
|
|
|
<panel_attributes>lt=<.
|
|
|
|
-user</panel_attributes>
|
|
|
|
<additional_attributes>10.0;20.0;150.0;20.0</additional_attributes>
|
|
|
|
</element>
|
|
|
|
<element>
|
|
|
|
<id>Relation</id>
|
|
|
|
<coordinates>
|
2022-02-14 09:45:55 +01:00
|
|
|
<x>504</x>
|
|
|
|
<y>168</y>
|
2022-02-14 09:09:37 +01:00
|
|
|
<w>176</w>
|
|
|
|
<h>112</h>
|
2022-02-10 11:10:03 +01:00
|
|
|
</coordinates>
|
|
|
|
<panel_attributes>lt=<.
|
|
|
|
-databaseConnector</panel_attributes>
|
|
|
|
<additional_attributes>10.0;20.0;200.0;20.0;200.0;120.0</additional_attributes>
|
|
|
|
</element>
|
2022-02-07 09:42:42 +01:00
|
|
|
</diagram>
|