Addplayer

added a player 2 and changed text output to reflect that
that’s cool, sorry mines a bit disorganized


On Aug 9, 2014, at 6:54 PM, Kevin Xue <notifications@github.com> wrote:

> In GlobalMonopoly.js:
> 
> > +    document.getElementById("event").innerHTML = "<p></p>";
> > +    document.getElementById("eventEffect").innerHTML = "<p></p>";
> > +    document.getElementById("roll").innerHTML = "<p></p>";
> > +    document.getElementById("eventEffect").innerHTML = "<p></p>";
> > +    endTurnbutton.off();
> > +    if (this.position < countries.length-1) {
> > +    rollButton.on();
> > +    }
> > +    else {
> > +      if (player1.money < player2.money) {
> > +        player1_active = true;
> > +      }
> > +      else if (player1.money > player2.money) {
> > +        player1_active = false;
> > +      }
> > +      else {
> No, it was mostly aesthetic updates and making portions of the code cleaner
> 
> —
> Reply to this email directly or view it on GitHub.
>