-
Notifications
You must be signed in to change notification settings - Fork 1
BW-JC Share Game based on URL #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Play a game and you'll notice the URL is a Base64 encoding. Along with having a check if the URL is corrupted in Base64, once the URL is decoded, there are checks to see if the board is solvable. If the board is not in a solvable position, the controller generates a new board and rehashes the new board in the URL. The solutions still appear in the console. By clicking new game, a new board and hash are generated. |
Planning to look at this, havent had time yet. |
Working on hashing with Brandon, don't merge yet.
EDIT by Brandon: See comment below.