by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Kyle McCormick
    @kylemcco
    Hey, I got the x/o switch to work using a counter before I left school. I asked Scott what else he expected to see from every group for tomorrow morning and he said the only piece we have missing is the win condition, so 1) notify user the game is over, and 2) stop users from being able to continue making moves
    Let me know if you want to try and tackle that. I'll be around tonight, but I have a ton of work due tonight so I'll be focusing on that mostly.
    Brennan Willingham
    @Brenntron
    Ok cool. I’ll take those, that shouldn’t be too hard. I have to go run some errands for about 30 minutes and after that is dinner with the family so I should start at around 6:30 which is plenty of time for tonight.
    Brennan Willingham
    @Brenntron
    Just finished the win function (I got started a lot later than planned) I going for a 10 minute walk then I’ll get started on the stop users function.
    Kyle McCormick
    @kylemcco
    awesome, keep me posted.
    Brennan Willingham
    @Brenntron
    That’s done. I made a long if and else if chain that put out an alert of who won and the shot off a .off() method on the panel class. Really simple, but also long. I’m going to commit and push it up then make a branch to mess around and see if I can refactor it.
    Kyle McCormick
    @kylemcco
    just pulled the latest down to check it out. that if statement is insane!
    but pretty stoked that it works
    Brennan Willingham
    @Brenntron
    Yea I hate the if statement, I think scott said there is a way to use [[][][]] and something besides .off() instead but I haven’t found a functioning solution.
    Brennan Willingham
    @Brenntron
    So the reason the win if statement wasn’t working was because i was using the === which compares instead of = which assigns…. should have saw that sooner.