Skip to content

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.

4 participants