Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
blob: bf5a2209ccc0da084b01d13d14742777fa6cbdb6 (plain)
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<?xml version="1.0" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-10 -10 200 300">
  <defs>
    <polygon id="desk" points="-1.5,-7 4.5,-7 4.5,7 -1.5,7 -2.5,6 -2.5,3 -4.5,3 -4.5,-3 -2.5,-3 -2.5,-6" />
    <rect id="couch" x="-4.25" y="-8" width="8.5" height="16" />
    <rect id="bed" x="-5" y="-9" width="10" height="18" />
    <rect id="cabinet" x="-2.5" y="-4.75" width="5" height="9.5" />

    <g id="mapsheet" class="mapsheet">
      <g class="building1" data-q="3" data-r="-5" data-s="2">
        <use href="mapsheets.svg#building1"/>
        <g class="furniture">
          <use href="#couch" transform="rotate(90,10.34,-27.66)" />
          <use href="#bed" transform="translate(-17.32,45)" />
          <use href="#bed" transform="translate(25.98,56)" />
          <use href="#cabinet" transform="rotate(90,29.575,-7.925)" />
          <use href="#cabinet" transform="rotate(90,24.24,1.74)" />
          <use href="#cabinet" transform="translate(10.98,-5.25)" />
          <use href="#cabinet" transform="rotate(90,-8.245,-2.7450001)" />
          <use href="#cabinet" transform="rotate(90,11.865878,19.740878)" />
          <use href="#cabinet" transform="translate(32.81,22.5)" />
          <use href="#cabinet" transform="rotate(90,-43.385,20.115)" />
        </g>
        <text class="elevation" x="34" y="56">1</text>
      </g>
    </g>
    <use href="counters.svg#mech-template"/>
    <use href="counters.svg#fallen-mech-template"/>
    <use href="counters.svg#vehicle-template"/>
  </defs>

  <g class="gameboard">
    <g class="grid">
      <g class="mapsheets" data-width="8" data-height="10">
        <g><use class="mapsheet" href="#mapsheet"/></g>
      </g>
    </g>

    <g class="start-locations" data-attacker-name="liao" data-defender-name="davion">
      <g data-edge="north" style="--i: -2">
        <g class="counter" data-allegiance="attacker" data-number="1" data-squad="1" data-armor="4">
          <use class="primary-weapon" href="counters.svg#pistol"/>
          <use class="troop-number" href="counters.svg#number-1"/>
          <use class="squad-number" href="counters.svg#number-1"/>
        </g>
        <g class="counter" data-allegiance="attacker" data-number="2" data-squad="1">
          <use class="primary-weapon" href="counters.svg#hsplaser"/>
          <use class="troop-number" href="counters.svg#number-2"/>
          <use class="squad-number" href="counters.svg#number-1"/>
        </g>

        <g class="counter" data-allegiance="attacker" data-number="1" data-squad="2">
          <use class="primary-weapon" href="counters.svg#smg"/>
          <use class="troop-number" href="counters.svg#number-1"/>
          <use class="squad-number" href="counters.svg#number-2"/>
        </g>
        <g class="counter" data-allegiance="attacker" data-number="2" data-squad="2">
          <use class="primary-weapon" href="counters.svg#smg"/>
          <use class="troop-number" href="counters.svg#number-2"/>
          <use class="squad-number" href="counters.svg#number-2"/>
        </g>
        <g class="counter" data-allegiance="attacker" data-number="3" data-squad="2">
          <use class="primary-weapon" href="counters.svg#smg"/>
          <use class="troop-number" href="counters.svg#number-3"/>
          <use class="squad-number" href="counters.svg#number-2"/>
        </g>

        <g class="counter" data-allegiance="attacker" data-number="1" data-squad="3">
          <use class="primary-weapon" href="counters.svg#rifle"/>
          <use class="troop-number" href="counters.svg#number-1"/>
          <use class="squad-number" href="counters.svg#number-3"/>
        </g>

        <g class="counter" data-allegiance="attacker" data-number="1" data-squad="4">
          <use class="primary-weapon" href="counters.svg#rifle"/>
          <use class="troop-number" href="counters.svg#number-1"/>
          <use class="squad-number" href="counters.svg#number-4"/>
        </g>
        <g class="counter" data-allegiance="attacker" data-number="2" data-squad="4">
          <use class="primary-weapon" href="counters.svg#rifle"/>
          <use class="troop-number" href="counters.svg#number-2"/>
          <use class="squad-number" href="counters.svg#number-4"/>
        </g>

        <g class="counter" data-allegiance="attacker" data-number="1" data-squad="5">
          <use class="primary-weapon" href="counters.svg#rifle"/>
          <use class="troop-number" href="counters.svg#number-1"/>
          <use class="squad-number" href="counters.svg#number-5"/>
        </g>
        <g class="counter" data-allegiance="attacker" data-number="2" data-squad="5">
          <use class="primary-weapon" href="counters.svg#rifle"/>
          <use class="troop-number" href="counters.svg#number-2"/>
          <use class="squad-number" href="counters.svg#number-5"/>
        </g>
      </g>

      <g data-edge="south" style="--i: 53">
        <g class="counter" data-allegiance="defender" data-number="1" data-squad="1">
          <use class="primary-weapon" href="counters.svg#blazer"/>
          <use class="troop-number" href="counters.svg#number-1"/>
          <use class="squad-number" href="counters.svg#number-1"/>
        </g>
        <g class="counter" data-allegiance="defender" data-number="1" data-squad="2">
          <use class="primary-weapon" href="counters.svg#smg"/>
          <use class="troop-number" href="counters.svg#number-1"/>
          <use class="squad-number" href="counters.svg#number-2"/>
        </g>
        <g class="counter" data-allegiance="defender" data-number="2" data-squad="2">
          <use class="primary-weapon" href="counters.svg#smg"/>
          <use class="troop-number" href="counters.svg#number-2"/>
          <use class="squad-number" href="counters.svg#number-2"/>
        </g>
      </g>
    </g>
  </g>
</svg>