{% for i in 0..9 %}
<tr>
{% for j in 0..9 %}
<td id ="{{ i ~ j }}"
{% if gameArray[i][j] == "killed" %}
{{ 'class="killed"' }}
{% endif %}
>
{{ gameArray[i][j]}}
</td>
{% endfor %}
</tr>
{% endfor %}