<%- 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.owner_name %> <%= 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_your_turn) { %><%= row.active_role %><% } else { %><%= row.active_role %><% } %>Enter<% %> <% }); } else { %>
No active games. <% } %>