http://pproject.evoconcept.net/battle/changeTeamProfile?gameId=Code http réponse :str&teamId=str&teamToken=str&profile=Tank|Normal|Assassin
200 - Requête OK 500 - KO
| Profile | Vie | Points d'action |
|---|---|---|
| Tank | 150 | 5 |
| Normal | 100 | 10 |
| Assassin | 50 | 20 |
http://pproject.evoconcept.net/battle/teamAction?gameId=Code http réponse :str&round=n°round&teamId=str&teamToken=str&t_<teamId>=nb PA
200 - Requête OK 500 - KO
http://pproject.evoconcept.net/battle/worldState?gameId=Résultat JSON :str&round=n°round&teamId=str&teamToken=str&t_<teamId>=nb PA
{
"gameId":"7-11434766",
"gameStatus":"STARTED",
"round":2,
"teamIdToLifePoint":{ "XXT1":195, "XXT2":99},
"teamIdToRoundDead":{"XXT1":0, "XXT2":0},
"teamIdToActions":{
"XXT1":[
{"id":41311, "gameId":"7-11434766", "round":2,
"sourceTeamId":"XXT1", "targetTeamId":"XXT2",
"nbPoint":3, "status":"REGISTERED"},
{"id":41312, "gameId":"7-11434766", "round":2,
"sourceTeamId":"XXT1", "targetTeamId":"XXT1",
"nbPoint":2, "status":"REGISTERED"}
],
"XXT2":[
{ "id":41310, "gameId":"7-11434766", "round":2,
"sourceTeamId":"XXT2", "targetTeamId":"XXT2",
"nbPoint":5, "status":"REGISTERED"
},
{"id":41313, "gameId":"7-11434766", "round":2,
"sourceTeamId":"XXT2", "targetTeamId":"XXT1",
"nbPoint":5, "status":"REGISTERED"
}
]
}
}
http://pproject.evoconcept.net/battle/create?teamId=Résultat JSON :str&token=str&roundTime=seconds
{
gameId : 213534523412343,
gameToken : ERV455V4F55S54FS5GF4
}
http://pproject.evoconcept.net/battle/join?gameId=Code http réponse :str&gameToken=str&teamId=str&profile=Tank|Normal|Assassin
200 - Requête OK 500 - KO
http://pproject.evoconcept.net/battle/start?gameId=Code http réponse :str&gameToken=str
200 - Requête OK 500 - KO