Skip to content
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

BW-JC Share Game based on URL #73

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open

BW-JC Share Game based on URL #73

wants to merge 26 commits into from

Conversation

chuj
Copy link
Contributor

@chuj chuj commented Aug 27, 2015

Working on hashing with Brandon, don't merge yet.

EDIT by Brandon: See comment below.

@chuj chuj changed the title Jc hash url Jc- share game Aug 27, 2015
@bmwwoo bmwwoo changed the title Jc- share game BW-JC Share Game based on URL Sep 1, 2015
@bmwwoo
Copy link
Member

bmwwoo commented Sep 4, 2015

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.

@ericthewry
Copy link
Member

Planning to look at this, havent had time yet.

@bmwwoo bmwwoo mentioned this pull request Nov 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants