Made the client dumb

Moved game logic to backend. Client just draws/tells server of move.