-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchess-system.drawio
85 lines (85 loc) · 9.07 KB
/
chess-system.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<mxfile host="app.diagrams.net" modified="2022-07-19T02:09:34.619Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36" etag="iYcf1WMGKruFPH-f4IwM" version="20.1.1" type="github">
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
<mxGraphModel dx="1580" dy="1869" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="Fjjj6daxXpXyd-0cmwNe-0" value="" style="swimlane;startSize=0;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="40" y="-1120" width="1280" height="500" as="geometry" />
</mxCell>
<mxCell id="Fjjj6daxXpXyd-0cmwNe-1" value="<h1>Chess Layer</h1>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" vertex="1" parent="Fjjj6daxXpXyd-0cmwNe-0">
<mxGeometry x="20" y="10" width="190" height="120" as="geometry" />
</mxCell>
<mxCell id="Fjjj6daxXpXyd-0cmwNe-2" value="Vertical Container" style="swimlane;" vertex="1" parent="Fjjj6daxXpXyd-0cmwNe-0">
<mxGeometry x="270" y="60" width="200" height="200" as="geometry" />
</mxCell>
<mxCell id="Fjjj6daxXpXyd-0cmwNe-3" value="Vertical Container" style="swimlane;" vertex="1" parent="Fjjj6daxXpXyd-0cmwNe-0">
<mxGeometry x="620" y="50" width="200" height="200" as="geometry" />
</mxCell>
<mxCell id="Fjjj6daxXpXyd-0cmwNe-4" value="Vertical Container" style="swimlane;" vertex="1" parent="Fjjj6daxXpXyd-0cmwNe-0">
<mxGeometry x="930" y="50" width="200" height="200" as="geometry" />
</mxCell>
<mxCell id="Fjjj6daxXpXyd-0cmwNe-5" value="" style="swimlane;startSize=0;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="40" y="-570" width="1280" height="760" as="geometry" />
</mxCell>
<mxCell id="Fjjj6daxXpXyd-0cmwNe-7" value="<h1>Board Layer</h1>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" vertex="1" parent="Fjjj6daxXpXyd-0cmwNe-5">
<mxGeometry x="20" y="30" width="190" height="120" as="geometry" />
</mxCell>
<mxCell id="Fjjj6daxXpXyd-0cmwNe-6" value="Board" style="swimlane;" vertex="1" parent="Fjjj6daxXpXyd-0cmwNe-5">
<mxGeometry x="140" y="150" width="350" height="220" as="geometry" />
</mxCell>
<mxCell id="Fjjj6daxXpXyd-0cmwNe-8" value="<div style="text-align: left;"><span style="font-size: 14px; background-color: initial;">- rows : int</span></div><font style="font-size: 14px;"><div style="text-align: left;"><span style="background-color: initial;">- columns : int</span></div></font><div style="text-align: left;"><br></div>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="Fjjj6daxXpXyd-0cmwNe-6">
<mxGeometry y="30" width="110" height="60" as="geometry" />
</mxCell>
<mxCell id="Fjjj6daxXpXyd-0cmwNe-9" value="" style="endArrow=none;html=1;rounded=0;fontSize=14;exitX=0;exitY=0.833;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="Fjjj6daxXpXyd-0cmwNe-6" source="Fjjj6daxXpXyd-0cmwNe-8">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="90" y="130" as="sourcePoint" />
<mxPoint x="350" y="80" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="Fjjj6daxXpXyd-0cmwNe-10" value="<div style="text-align: left;"><span style="background-color: initial;">+ piece(row : int, columns : int) : Piece</span></div><div style="text-align: left;"><span style="background-color: initial;">+ piece(position : Position) : Piece</span></div><div style="text-align: left;"><span style="background-color: initial;">+ placePiece(piece : Piece, position : Position) : void</span></div><div style="text-align: left;"><span style="background-color: initial;">+ removePiece(position : Position) : Piece</span></div><div style="text-align: left;"><span style="background-color: initial;">+ positionExists(position : Position) : boolean</span></div><div style="text-align: left;"><span style="background-color: initial;">+ thereIsAPiece(position : Position) : boolean</span></div>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=14;" vertex="1" parent="Fjjj6daxXpXyd-0cmwNe-6">
<mxGeometry y="90" width="350" height="110" as="geometry" />
</mxCell>
<mxCell id="Fjjj6daxXpXyd-0cmwNe-11" value="Pieces" style="swimlane;fontSize=14;" vertex="1" parent="Fjjj6daxXpXyd-0cmwNe-5">
<mxGeometry x="760" y="150" width="330" height="180" as="geometry" />
</mxCell>
<mxCell id="Fjjj6daxXpXyd-0cmwNe-12" value="# position : Position" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=14;" vertex="1" parent="Fjjj6daxXpXyd-0cmwNe-11">
<mxGeometry y="40" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="Fjjj6daxXpXyd-0cmwNe-13" value="" style="endArrow=none;html=1;rounded=0;fontSize=14;" edge="1" parent="Fjjj6daxXpXyd-0cmwNe-11">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint y="100" as="sourcePoint" />
<mxPoint x="330" y="100" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="Fjjj6daxXpXyd-0cmwNe-14" value="<div style="text-align: left;"><span style="background-color: initial;">+ possivelMoves() : boolean</span></div><div style="text-align: left;"><span style="background-color: initial;">isThereAnyPossibleMove() : boolean</span></div>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=14;" vertex="1" parent="Fjjj6daxXpXyd-0cmwNe-11">
<mxGeometry y="120" width="250" height="50" as="geometry" />
</mxCell>
<mxCell id="Fjjj6daxXpXyd-0cmwNe-15" value="" style="swimlane;startSize=0;fontSize=14;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="250" y="-100" width="840" height="240" as="geometry" />
</mxCell>
<mxCell id="Fjjj6daxXpXyd-0cmwNe-16" value="BoardException" style="swimlane;fontSize=14;" vertex="1" parent="Fjjj6daxXpXyd-0cmwNe-15">
<mxGeometry x="40" y="60" width="256" height="110" as="geometry" />
</mxCell>
<mxCell id="Fjjj6daxXpXyd-0cmwNe-17" value="+ BoardException(msg : String) : void" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=14;" vertex="1" parent="Fjjj6daxXpXyd-0cmwNe-16">
<mxGeometry x="-4" y="40" width="260" height="30" as="geometry" />
</mxCell>
<mxCell id="Fjjj6daxXpXyd-0cmwNe-19" value="Position" style="swimlane;fontSize=14;" vertex="1" parent="Fjjj6daxXpXyd-0cmwNe-15">
<mxGeometry x="440" y="35" width="260" height="160" as="geometry" />
</mxCell>
<mxCell id="Fjjj6daxXpXyd-0cmwNe-20" value="<div style="text-align: left;"><span style="background-color: initial;">- row : int</span></div><div style="text-align: left;"><span style="background-color: initial;">- column : int</span></div>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=14;" vertex="1" parent="Fjjj6daxXpXyd-0cmwNe-19">
<mxGeometry y="30" width="100" height="50" as="geometry" />
</mxCell>
<mxCell id="Fjjj6daxXpXyd-0cmwNe-21" value="" style="endArrow=none;html=1;rounded=0;fontSize=14;" edge="1" parent="Fjjj6daxXpXyd-0cmwNe-19">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint y="80" as="sourcePoint" />
<mxPoint x="260" y="80" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="Fjjj6daxXpXyd-0cmwNe-22" value="+ setValues(row : int, column : int) : void" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=14;" vertex="1" parent="Fjjj6daxXpXyd-0cmwNe-19">
<mxGeometry x="-10" y="100" width="270" height="30" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>