work in progress, backend for a browser Snake game, my playground to learn Scala/Akka/Play
{
"cmd": "enter"
"data":
{
"name":"Ahmed"
"email":"[email protected]"
}
}
{
"cmd": "update"
"data":
{
"score": 15
}
}
{
"cmd": "error"
"data":
{
"message": "Not entered"
}
}
}
{
"cmd": "update"
"data":
{
"name": "Ahmed",
"event": "quit"
}
}
{
"cmd": "update"
"data":
{
"name": "Ahmed",
"event": "set",
"value": 15
}
}