Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Katye Russell
    @complikatyed
    Take it how?
    I'm not entirely sure what you're asking, but I think the answer is no.
    Andy Meagher
    @AndyMeagher
    incorporate it i guess
    or does your code do that yet?
    Katye Russell
    @complikatyed
    _
    No, not yet. Was yours working for that?
    Andy Meagher
    @AndyMeagher
    I can try to see if I can put that into the newGame function you wrote
    yes but I stole it from scott
    Katye Russell
    @complikatyed
    No worries, that's what Scott is for.
    My plan for that function was to have the game check for an "empty" board (i.e., with no ships in it yet), but if you've got something ready to roll, let's use it!
    Andy Meagher
    @AndyMeagher
    hmmm...yeah its gonna be tricky I guess. The way that he does it is in the same place where he makes the newGame uuid, I'll see if I can make it make sense
    Katye Russell
    @complikatyed
    I just pushed my most recent work up to my branch. It's got the framed out functions for the rest of the game -- they're not written as functions yet, but I went through with comments and tried to include all the steps (and subfunctions) we'd probably need in order to make it all work.
    Andy Meagher
    @AndyMeagher
    awesome
    Katye Russell
    @complikatyed
    Again, we don't need to use what I wrote, I was just trying to figure it out for myself, since I've been feeling really perplexed and overwhelmed.
    Andy Meagher
    @AndyMeagher
    yeah, that's the point of all this in the end
    Katye Russell
    @complikatyed
    Feeling better about it all today, lol.
    Andy Meagher
    @AndyMeagher
    I feel the same way about my code, I'm not attached to it
    Katye Russell
    @complikatyed
    A BUNCH of my code is just rearranged versions of yours anyway. I was struggling to understand, so I decided to try breaking up your functions to see whether I could understand them well enough to put them back together again in a new way.
    Okay, I'm heading home to eat dinner and fall in bed. See you both in the morning!
    Andy Meagher
    @AndyMeagher
    hows it goin?
    Margaret Clinard
    @margaretclinard
    we just entered a game together as p1 and p2 on different computers!
    updated code is on katye's branch
    Andy Meagher
    @AndyMeagher
    awesome!
    did you have to deploy the firebase to test that?
    Margaret Clinard
    @margaretclinard
    nope, just used local host
    Andy Meagher
    @AndyMeagher
    how did you end up creating the table? i think i figured out how to get mine communicating with firebase better
    Margaret Clinard
    @margaretclinard
    we are working off of the hard coded table, but we haven't gotten to appending actual images when you place your ship, currently the game info is just going up to firebase when you click join game / place your ships
    how is yours working?
    Andy Meagher
    @AndyMeagher
    pretty good, wanna screen share for a sec?
    Margaret Clinard
    @margaretclinard
    ok
    Andy Meagher
    @AndyMeagher
    whats yr email
    Margaret Clinard
    @margaretclinard
    Andy Meagher
    @AndyMeagher
    wtf
    Andy Meagher
    @AndyMeagher
    I think i fixed some bugs and pushed it to my branch...before it was giving you that alert to wait, whenever you were player1 now it is giving you that alert to wait for a player only if there is no firebase data for board2..so player1 will get that alert if there is no player2 but can wait and click again and play when there is
    also i added a shots variable, so you only get 5 shots on the board. each time you click a TD, its subtracting from the shots. if you miss 5 times, it's gameover cuz you ran out of ammo
    Katye Russell
    @complikatyed
    I like the running out of ammo feature. That's cool!
    After some bumps in the road, we got the ship data to post to firebase, and were able to have both of us posting to the same firebase game from our respective computers.
    Katye Russell
    @complikatyed
    I don't have a playable app yet (so I'm glad yours is working so well, Andy!). I have made some crazy progress, but trying to explain it here will probably make all three of our heads explode. I've pushed it to my branch if you want to look at it, but you're not obliged. See you in the morning!