<%= start_bubble_wrap("blue","black") %>Select a Game<%= end_bubble_wrap("blue","black") %> <%= start_bubble_wrap("light_blue","black") %> <%= start_bubble_wrap("scarlet","light_blue") %> Games <%= end_bubble_wrap("scarlet","light_blue") %>

You may join any one of the games in progress below and freely change games at any time. Only one game can be played at a time.

<% @instances.each do |instance| %> <%= start_bubble_wrap("scarlet","light_blue") %> <%= instance.name %> <%= end_bubble_wrap("scarlet","light_blue") %> <%= start_bubble_wrap("pink","light_blue") %> <%= instance.description %>

View Settings <% if UserInstance.check(@user.id,instance.id) %><%= link_to "Continue Playing...", :action => 'join', :id => instance.id %><% else %><%= link_to "Join", :action => 'join', :id => instance.id %><% end %>

<%= end_bubble_wrap("pink","light_blue") %> <% end %> <% if @user.role == 'admin' %>

<%= link_to 'Create new game', :action => 'new' %>
Tweak the rules, set the goals, and invite people to a public or private game.

<% end %> <%= end_bubble_wrap("light_blue","black") %>