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 = { local map = {
map_tiles = { map_tiles = {
{ "-", "-", "w", "w", "-", "-", "-", "-", "-", "-" }, { "-", "-", "w", "w", "-", "-", "-", "-", "-", "-" },
{ "-", "_", "w", "w", "-", "-", "-", "-", "-", "-" }, { "-", "-", "w", "w", "-", "-", "-", "-", "-", "-" },
{ "-", "-", "w", "w", "-", "w", "-", "-", "-", "-" }, { "-", "-", "w", "w", "-", "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) mapCrypt = function(self, tile)
if tile == "-" then if tile == "-" then
return "floor_stone" return "floor_stone"
elseif tile == "_" then
return "floor_wood"
elseif tile == "w" then elseif tile == "w" then
return "wall_stone" return "wall_stone"
end end

View File

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

View File

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

View File

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