Compare commits

..

No commits in common. "a3efe2369dd00a054ffbc3b57982cea48b1a9a30" and "5fd5394c8e9d33969fe792e58abd3c20898c04bd" have entirely different histories.

5 changed files with 2 additions and 12 deletions

Binary file not shown.

View File

@ -1,7 +1,7 @@
local map = {
map_tiles = {
{ "-", "-", "w", "w", "-", "-", "-", "-", "-", "-" },
{ "-", "_", "w", "w", "-", "-", "-", "-", "-", "-" },
{ "-", "-", "w", "w", "-", "-", "-", "-", "-", "-" },
{ "-", "-", "w", "w", "-", "w", "-", "-", "-", "-" },
{ "w", "-", "-", "-", "w", "w", "-", "-", "-", "-" },
{ "w", "-", "w", "-", "-", "w", "w", "w", "-", "-" },
@ -14,8 +14,6 @@ local map = {
mapCrypt = function(self, tile)
if tile == "-" then
return "floor_stone"
elseif tile == "_" then
return "floor_wood"
elseif tile == "w" then
return "wall_stone"
end

View File

@ -1,7 +0,0 @@
.wood {
color: brown;
}
.stone {
color: gray;
}

View File

@ -4,7 +4,6 @@
<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 class="<%= tiles[h][i].material %>"><%= tiles[h][i].char %></div>
<div><%= tiles[h][i].char %></div>
<% end %>
<br>
</div>