Human vs human android chess game design
- by Plejo
First of all I am total amateur in game development and sorry for my poor English.
I want to make android human vs human chess game. So I am wondering how to design it?
scenario 1: User connect to server, find opponent and send moves to server using socket, so match is running on a server side. I think this is not good idea because move should be validated on client side - or do I have to validate moves on client side? I do not think this is good solution because game is seperated.
scenario 2: Using hole punching technique so server is needed only for connection between players, so game is running on android devices.
which approach do you suggest? Or is there any better solution? Which server is best to use?