Types
Countless puzzles have been made with code and many types have been made with ZIM. Here are some examples:- Jigsaw Puzzles
- Memory Puzzles
- Sequence Puzzles
- Word Search Puzzles
- Hangman and Word Scrambles
- Mathematical Puzzles
- Spot the Differences
- Find the Objects
- Connect the Pipes
- Mazes
- Locked Room Puzzles
- Mysteries
Techniques
ZIM along with CreateJS and JavaScript provide the following that help us build puzzles:-
JavaScript
- Variables for memory
- Arrays for collections
- Conditionals for logic
- Random numbers for variety
- Canvas tag for display
- Classes, Objects, Methods, Properties
- LocalStorage for saving local data
- Stage placed on the Canvas
- Containers for organizing
- Display Objects for visuals
- Preloading and Sounds
- Events for interactivity
- Ticker and a hit test
- Tween animation
- Easy shapes - Circle, Rectangle, Triangle
- Scrambler and Flipper for Puzzles and Matching
- Single Line drag and drop with boundary
- Swiping, gesture and transforms
- Multiple types of hit tests
- Integrated animation and wiggle
- Pick class for dynamic parameters
- Components for interface
- Label for lots of control over text
- Keyboard for custom input
- Tile for... tiling
- rand() for ranges
- shuffle() to randomize arrays
- loop() for efficiencies
- SelectionSet for multiple selections
- Paths and dragging on paths
- Integrated physics
- Async for loading from server
- Wonder for tracking puzzle times, etc.
- MotionController for mouse, keys, or gamepad
CreateJS
ZIM
"Love working with ZIM! Just finished going thru the 64 Zim Bits - very cool stuff!" - Dan Loranz