JSON serial change & working basic gameplay

This commit is contained in:
Thomas
2020-08-27 11:10:00 +02:00
parent e2e4495f02
commit cec5fca5c4
16 changed files with 131 additions and 52 deletions

19
test.json Normal file
View File

@@ -0,0 +1,19 @@
{
"type":"gameUpdate",
"message": [
{
"color":"#0deeff",
"x":361.69764869823257,
"y":427.9410817135364,
"angle":0.0,
"targetAngle":0.0,
"walls":[
{"x":323.69764869823257,"y":427.9410817135364},
{"x":335.69764869823257,"y":427.9410817135364},
{"x":347.69764869823257,"y":427.9410817135364},
{"x":359.69764869823257,"y":427.9410817135364}
],
"lastWall":0
}
]
}