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.
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 calledsaveNewGame( sudokuArray, difficulty )
which then also sets the gameId.