The Zebra puzzle, also known as Einstein's Puzzle or Einstein's Riddle, is a game for which is primarily solved through the application of deductive reasoning and cognitive mapping.
The zebra puzzle is now open source! The hide button works as a toggle now and is touch friendly, instead of requiring a right click, so that our tablet and phone friends can play too!
|audio||prepping for 0.04 push to master|
|js||The hide button returns and some notes on open source.|
|README||The hide button returns and some notes on open source.|
|index.html||The hide button returns and some notes on open source.|
@author Nate Gay @thenatedanger @copyright 2011 Nate Gay @licence GPLv3 <http://www.gnu.org/licenses/gpl.html> @version 0.07 ABOUT: The Zebra puzzle, also known as Einstein's Puzzle or Einstein's Riddle, is a game for which is solved through the application of deductive reasoning and cognitive mapping. http://en.wikipedia.org/wiki/Deductive_reasoning http://en.wikipedia.org/wiki/Cognitive_map PROJECT DIRECTION: * HIGH: Implement restricted tile system. * HIGH: Allow players to save and resume their games. * HIGH: Visually indicate to the player whether they've selected a correct or incorrect answer. * HIGH: Congratulate a player who has successfully completed a puzzle with some fuzzy warm feelings and a summary of their score. * MEDIUM: Implement a simple user authentication system with facebook integration. * MEDIUM: Communicate with a database server to store and retrieve a users game states. * MEDIUM: Track scores; preferably through a social network tie-in like facebook or google plus. * MEDIUM: Introduce social aspects to the game i.e. achievements, multiplayer, cooperative, etc. * MEDIUM: Continue separation of scope and reusable code. * MEDIUM: Track flagged objects in the puzzle object. * LOW: Use google closure to minify JS and consolidate all JS into one file reducing HTTP requests. * LOW: I would like to reward a player who has no incorrect guesses in a block. * ONGOING: Write out clear instructions for how to play. VERSION HISTORY: * 0.07: The project is now open source! The ability to hide tiles on the board returns with the new design. Everything is now touch friendly. * 0.06: The puzzle now has a new look and uses high resolution puzzle tiles as CSS sprites to reduce number of HTTP requests on page load. * 0.05: The puzzle object now holds clues and preferences. The function that generates the puzzle object has been entirely separated from the function that renders the puzzle from the object. This will allow me to store a users game state in a database, retrieve it and render it without issue. * 0.04: Clues are generated until the puzzle is solvable. * 0.03: The puzzle object architecture was engineered. * 0.02: Clues are no longer allowed to repeat, clues now fail with console message when maximum number of possible clues is reached. The puzzle only generates if a minimum puzzle size of 3x4 is reached. * 0.01: Rewrote code in accordance with project appendix, clues can now be flagged. * 0.00: Fixed some spacing issues and testing git push. NOTES: * I do not own the pictures used in the puzzle. They are a part of Apple's emoji font included with iOS 5 and Mac OS X Lion. * This project would not be possible without the amazing jQuery library.