Turn-base/Realtime 3rd perspective multiplayer shooter game trough REST api.
Currently frontend uses sprites from Chaos Engine and all rights are reserved by their respective owners. If anyone have issues with this, just ping the project and we will remove the graphics imidiately. This will change when if project will be able to find pixel-art artist willing to create the sprites.
$ git clone ...
$ go get github.com/akavel/polyclip-go
$ go run run.go
Open http://localhost:8080 in your browser (Hopefully you are up to date and use latest browser)
User is currently registered automatically with 1st game request
{api path} is always game instance's apiPath
Just get the response (no commands)
Shoots a bullet in next turn
Throws a granade in next turn
Go forward in next turn
Turn left in next turn
Turn right in next turn
{
"turn":16,
"width":5,
"height":5,
"players":[
{
"name":"Bobesa",
"x":1,
"y":2,
"way":0,
"life":2,
"granades":0,
"bullets":0
}
],
"walls":[
{
"id":33,
"x":2,
"y":1,
"life":5
}
],
"bullets":[
{
"id":22,
"x":2,
"y":2,
"way":1
}
],
"granades":[
{
"id":22,
"x":2,
"y":2,
"way":1,
"timer":3
}
],
"fov":[
[true,true,true,false,false],
[true,true,true,false,false],
[true,true,true,false,false],
[true,true,false,false,false],
[true,false,false,false,false]
],
"fragLimit":5,
"events":[],
"score":{
"Bobesa":0
}
}