tile coloration based on type

This commit is contained in:
2024-03-19 12:50:59 -05:00
parent d7bc833df7
commit a3efe2369d
5 changed files with 12 additions and 2 deletions

View File

@ -4,6 +4,7 @@
<meta charset="UTF-8">
<title><%= page_title or "My Page" %></title>
<link rel="stylesheet" href="/static/css/pico/pico.min.css" />
<link rel="stylesheet" href="/static/incertitude.css" />
</head>
<body>

View File

@ -2,7 +2,7 @@
<% for h=1,10 do %>
<div class="grid">
<% for i=1,10 do %>
<div><%= tiles[h][i].char %></div>
<div class="<%= tiles[h][i].material %>"><%= tiles[h][i].char %></div>
<% end %>
<br>
</div>