1) Writes and retrieves the board state as a string to the blockchain (first step toward #19)
2) Fixes issue #20
3) Works on Ropsten but with only one address. But there is still a minor problem with balances not updating (need to refresh manually)
4) Updates xIsNext boolean based on the board state instead of user input.
5) Buy-in resets history
6) Handles the case of a draw
Need to force the sync on two tabs simultaneously but can't figure out how. Tried using events, but could not make them work as expected. Maybe try web3.eth.subscribe method. Need help on that...
1) Writes and retrieves the board state as a string to the blockchain (first step toward #19) 2) Fixes issue #20 3) Works on Ropsten but with only one address. But there is still a minor problem with balances not updating (need to refresh manually) 4) Updates xIsNext boolean based on the board state instead of user input. 5) Buy-in resets history 6) Handles the case of a draw
Need to force the sync on two tabs simultaneously but can't figure out how. Tried using events, but could not make them work as expected. Maybe try web3.eth.subscribe method. Need help on that...