<%- include('header', { title: "All Public Games", refresh: (user ? 300 : 0) }) -%>

Open

IDTitleScenarioPlayersDescriptionCreated <% if (open_games.length > 0) { %> <% open_games.forEach((row) => { %>
<%= row.game_id %> <%= row.title_name %> <%= row.scenario %> <%- row.player_names %> <%= row.description %> <%= row.ctime %> Join <% }); } else { %>
No open games. <% } %>

Active

IDTitleScenarioPlayersDescriptionChangedActive <% if (active_games.length > 0) { %> <% active_games.forEach((row) => { %>
<%= row.game_id %> <%= row.title_name %> <%= row.scenario %> <%- row.player_names %> <%= row.description %> <%= row.mtime %> <% if (row.is_active) { %> <%= row.active %> <% } else { %> <%= row.active %> <% } %> <% if (row.is_yours) { %> <% if (row.is_shared) { %> View <% } else { %> View <% } %> <% } else { %> View <% } %> <% }); %> <% } else { %>
No active games. <% } %>