Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
blob: 77afd6b3a0501484913357480d2a422865ad10a9 (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
<?xml version="1.0" standalone="yes"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-10 -10 200 300">
  <g class="gameboard">
    <g class="grid">
      <g data-y="0">
        <g data-x="0"><use href="#hex"/></g>
        <g data-x="1"><use href="#hex"/></g>
        <g data-x="2"><use href="#hex"/></g>
      </g>
      <g data-y="1">
        <g data-x="0"><use href="#hex"/></g>
        <g data-x="1"><use href="#hex"/>
          <g class="counter" data-allegiance="attacker" data-number="1">
            <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-1"/>
          </g>
        </g>
        <g data-x="2"><use href="#hex"/></g>
      </g>
      <g data-y="2">
        <g data-x="0"><use href="#hex"/></g>
        <g data-x="1"><use href="#hex"/></g>
        <g data-x="2"><use href="#hex"/></g>
      </g>
    </g>
  </g>

  <script/>
</svg>