Arrow Path Puzzle is a fun, logic-based grid puzzle game built entirely with HTML, CSS, and JavaScript โ no external frameworks needed!
Rotate arrows strategically to guide your player (the bird ๐ฅ or other cute characters) from the Start cell to the Goal cell.
Each puzzle is randomly generated, offering a unique challenge every time.
๐ Play Live
- The game board is a grid filled with directional arrows (โ โ โ โ).
- Your goal is to rotate the arrows to form a connected path from the Start (bottom-left) to the Goal (top-right).
- Once the correct path is formed, the player automatically moves along the route โ and confetti ๐ celebrates your success!
โ Dynamic Difficulty Levels
- Easy (4ร4)
- Medium (6ร6)
- Hard (8ร8)
โ
Customizable Player & Goal
Choose your favorite character (๐ฅ ๐ธ ๐ฐ ๐ฑ ๐ฆ ๐ผ etc.) and goal (๐ ๐ ๐ ๐ ๐ ๐ธ ...).
โ
Auto Path Detection
Instantly checks for a valid connection between start and goal as you rotate arrows.
โ
Smooth Bird Animation
Watch your character move cell by cell along the glowing path when solved.
โ
Vibration Feedback (Mobile-friendly)
Gives tactile feedback when interacting on supported devices.
โ
Rock Obstacles
Rocks ๐ชจ appear in advanced puzzles, forcing you to find creative paths.
โ
Confetti Celebration + Sound Effects
Rewarding visual and audio feedback when you win!
โ
Fully Responsive Design
Optimized for both mobile and desktop play.
- Select your Player and Goal icons from the dropdown.
- Choose your Difficulty level.
- Click on any arrow cell to rotate it clockwise.
- Form a continuous path from Start to Goal.
- Once connected, your player moves automatically โ enjoy the celebration ๐.
- Click Next Puzzle to play again with a new grid layout!
| Technology | Purpose |
|---|---|
| HTML5 | Structure of the puzzle and UI |
| CSS3 | Styling, responsive layout, and animations |
| Vanilla JavaScript (ES6) | Game logic, pathfinding, and interactions |
| Canvas Confetti | Celebration effects |
| Audio API | Click and success sounds |
| Vibration API | Mobile feedback |
Welcome contributions from the open-source community to help make this project even better. Feel free to fork this project to suggest new features, improve the UI/UX, remove bugs. Pull requests are welcome!