Simple network awale
To create server and wait for opponent :
python awale.py
To join a game :
python awale.py <host>
Protocol : TCP
Message Structure as ASCII:
SIZE\n\nJSONDATA
Where SIZE is the ASCII length of JSONDATA (A number) and JSONDATA is a JSon Object with 2 attributes:
- type: a string that could be :
- info
- game_state
- play
- error
- message: can be any valid json object