a-mazing-maze-days
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data โ all from the browser, and deployed in milliseconds.
index.ts
https://dthyresson--9274de5635ce11f0ab4f9e149126039e.web.val.run
A fun maze builder and player application that lets you create, play, save, and share mazes of various types and difficulty levels.
- Create mazes with different algorithms (Recursive Backtracking, Kruskal's, Prim's)
- Customize maze size and difficulty
- Play through mazes with keyboard or touch controls
- Celebrate when you reach the goal
- Save your favorite mazes to play again later
- Share mazes with friends
- Browse a gallery of your created mazes
- Compete for the best scores on leaderboards
/backend
- Server-side code for maze generation, storage, and API/frontend
- Client-side code for UI, maze rendering, and player controls/shared
- Shared types and utilities
- Frontend: React with Tailwind CSS
- Backend: Hono API framework
- Storage: SQLite database
- Maze Generation: Custom algorithms
- Visit the app
- Create a new maze by selecting an algorithm, size, and difficulty
- Play through the maze using arrow keys or touch controls
- Save your maze when complete
- View your saved mazes in the gallery
- Share mazes with friends using the share button
- Check the leaderboards to see the best scores for each maze
Enjoy your maze adventures!