Addplayer

added a player 2 and changed text output to reflect that
Why was this.position set to -1? I set it to 0 and added a test country at 0. Is it because you were trying to fix the error of displaying the wrong country? Turns out I only had 18 countries, I’ll add more later.

On Aug 9, 2014, at 11:14 PM, Jacob Shafer <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 {
> ok, thanks, I noticed one minor bug in master. I’ll push branch to update. Tomorrow I’m going to pull and see if I can get the dropbox working. My hopes aren’t high. Having multiple players is a challenge. We’ll see, though.
> …
> —
> Reply to this email directly or view it on GitHub.
>