summaryrefslogtreecommitdiff
path: root/app/views/runs/index.html.erb
blob: 3b152c7b54d37fbb953ffd999b20eafe91f3b39d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<div class="space-y-4">
  <h1 class="text-2xl">Runs</h1>

  <p>A run is a playthrough of a game. A run can have multiple "checkpoints", where the player uploads a save file
    and any notes about their run.</p>

  <p>Players can invite other people to play their save file. Whoever is playing the save at the moment can
    "checkout" the save file so other players know someone is using it. When the player is done, they can upload
    the save file and then another player can checkout the save file. In this way, multiple players can take
    turns playing the same run!</p>

  <h2>List of runs</h2>

  <ul class="list-disc">
    <% @runs.each do |run| %>
      <li><%= run.game.title %> - <%= link_to run.title, run_path(run) %> - Started by <%= run.user.name %></li>
    <% end %>
  </ul>
</div>