<p style="text-align: center;">
<% for h=1,10 do %>
    <div class="grid">
    <% for i=1,10 do %>
       <div class="<%= tiles[h][i].material %>"><%= tiles[h][i].char %></div>
    <% end %>
    <br>
    </div>
<% end %>
</p>
