Fixed directory nesting and will deploy soon

During the pair sessions, git was initialized one folder higher than it was supposed to. I copied the directory containing the rails app and initialized a new repository there, then wiped the origin remote, forked again, and then pushed the proper directory.
So, basically, this disables the radio buttons if either the column is full
or the game is won. Unfortunately, I did not know how to prevent the player
from just pressing the 'submit' button, so if you submit with an empty form
(such as might happen in an end-game situation when all the radio buttons
are greyed out), the system currently just places the piece in column 0. If
the game has been won, pressing submit repeatedly will flash a win message,
alternately claiming that each player has won.

On Mon, Sep 29, 2014 at 8:40 PM, Michael Alexander <notifications@github.com
> wrote:

> In app/views/connectfour/index.html.erb:
>
> > +      <% 5.downto(0).each do |row| %>
> > +        <tr>
> > +          <% (0..6).each do |col| %>
> > +            <td>|</td>
> > +            <td>
> > +            <%= @c4array[col][row] if @c4array[col][row] %>
> > +            </td>
> > +          <% end %>
> > +          <td>|</td>
> > +        </tr>
> > +      <% end %>
> > +      <tr>
> > +        <% (0..6).each do |col| %>
> > +          <td>|</td>
> > +          <td>
> > +            <%= radio_button_tag("connectfourchoices", col, checked = false, :disabled => @c4array[col][5] || @game_over ) %>
>
> Is this as cool as I think it is? Can you walk me through the logic of the
> || ?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/vikingeducation/game_center_on_rails/pull/4/files#r18197813>
> .
>