I've build TicTacToe game, and got it to work multiplayer. I have used one java server for connecting to the database and with the clients ( sockets ).
It works fine but now I am wondering if I could only make the clients connect to the database and receive/update data from there (whose turn it is and what move someone made), without any Java server and sockets.
Please help me on this one. Should I use sockets or not, and why?
Thank you in advance.
P.S. Eventually I will build more complex games, but I want to get this thing clear before doing that.
It works fine but now I am wondering if I could only make the clients connect to the database and receive/update data from there (whose turn it is and what move someone made), without any Java server and sockets.
Please help me on this one. Should I use sockets or not, and why?
Thank you in advance.
P.S. Eventually I will build more complex games, but I want to get this thing clear before doing that.
Comment