benjstorlie / sudoku-shuffle

Play sudoku
https://mighty-ridge-19238-3e456d2c37f3.herokuapp.com/
MIT License
0 stars 0 forks source link

10 server communication for game state #33

Closed benjstorlie closed 1 year ago

benjstorlie commented 1 year ago

This starts from where PR #30 left off.

Includes some re-structuring of functions between /client/src/utils/gameUtils and /client/src/utils/GameContext.

TODO Include useQuery in Profile page. TODO Include mutation ADD_GAME into the starting new game functionality. I made a function inside GameContext called saveNewGame( sudokuArray, difficulty ) which then also sets the gameId.