A game (design in CLI) with 2 clients with following requirments:
-map 8x8 fields, each half with water(at least 4 and not on the margins) grass(15 ) and mountains(3 ) (hlfmap 4x8)
- on each halfmap, player is an automatical bot, searches for treasure hidden(cant see it)
-starts from a castle goal is to find the other players castle after he finds the treasure
- water cant be crossed and castle and treasure only on grass and not on same field
-mountain -grass 3 moves
-mountain-mountain 4 moves to pass
-clients communicate with (REST)server - XML Messages (details follow after) e.g:
a) new game : "http://<domain>:<port>/game/new" - HTTP GET request
b) client registration: "http://<domain>:<port>/game/gameID/register" - HTTP POST request
c) send halfmap: "http://<domain>:<port>/game/gameID/halfmap" - HTTP POST request
d) game state: "http://<domain>:<port>/game/gameID/state/playerID" - HTTP GET request
e) move: "http://<domain>:<port>/game/gameID/move" - HTTP POST request
- for each request server sends back XML response message with message "OK " or "ERROR"