tengen-io / web-client

tengen.io — Frontend open source Go server
10 stars 5 forks source link

Create `addStone` mutation #9

Closed ianwessen closed 5 years ago

ianwessen commented 5 years ago

When you click on an intersection, we want to issue an addStone GraphQL mutation to update the server version of the game. The game should take the response and update the view.

Visit this in a browser to explore more: https://go-stop.herokuapp.com/api/graphiql

camirmas commented 5 years ago

For re-rendering the board, https://jsfiddle.net/cjirmas/bhv3orgp/2/