Software Alternatives & Reviews

Using socket.io and node to handle different games with different boards and rules

Socket.io Gift Wrap My Face
  1. Realtime application framework (Node.JS server)
    Pricing:
    • Open Source
    Here's the snag I'm hitting. I need the users to have their game boards update on the client side. However, since these are different games, while it would work OK, it wouldn't make very much sense, in the long run, for me to have a function that just checks what game it is, and then updates the board accordingly. That function would get really long. I also tried to have the function in the game controller, but I can't pass a function through socket.io (I tried, and it didn't go through).

    #Developer Tools #App Development #Mobile Push Messaging 718 social mentions

  2. NOTE: Gift Wrap My Face has been discontinued.
    Give the gift of selfie with custom wrapping paper!
    I could have a single page (http://example.com) and load/unload javascript files depending on which game was selected (seems unsafe, and I'm not sure if I can even "unload" a javascript file).

    #Social Networks #Social Network #Microblogging 83 social mentions

Discuss: Using socket.io and node to handle different games with different boards and rules

Log in or Post with