Web Analytics Made Easy -
StatCounter What programming approach do you suggest? - CodingForum


No announcement yet.

What programming approach do you suggest?

  • Filter
  • Time
  • Show
Clear All
new posts

  • What programming approach do you suggest?

    I am developing a tic tac toe game that writes each players move and all game info to a mysql database. I need the game board to update on the other player's game after a move is made, with some sort of event listener, I suppose.

    What is the approach here: Flash/php/mysql?
    Can this be done with just php and mysql?
    Is JavaScript absolutely necessary?

    I want to preserve a live game feel, but also allow for players to log in and make their move days or weeks later.

    What options do you see?

    I appreciate your guidance.

  • #2
    You can do it in ajax/flash or java.
    Since you need to know whether the other user have make a move, you need a persistent connection by socket or polling to get the information, than you would know when you can make a move.