Inspiration
I love playing sliding puzzle. So, for one shot challenge, I make this fun shareable sliding puzzle game with one prompt.
What it does
You upload any image to make a sliding puzzle, generate a unique link. Using this link, Play sliding puzzle or share your friends to challenge the game.
How we built it
It is a web app built using bolt just using one prompt for one shot challenge. 3*3 Sliding puzzle needs 8 tile. So, I made two API myself. First API uploads 8 tile images as base64 string in a table. (id, image1, image2, ......, image8). Second API fetches 8 tile images data using the id.
Then I prompt bolt to make the fun, shareable Puzzle game using this two API. Bolt give me a web app, That itself break the images into 8 tile, make base64 string from them, use first api to upload them in database. Then it gives shareable link using id. When we go to the link, the web app, fetches the data using id and the fun sharable game begins.
Challenges we ran into
This is one shot prompt so there is no challenges I faces.
Accomplishments that we're proud of
I am proud that I able to make the working game just using one prompt.
Built With
- apis
- cloudflare
- javacript
- react
- supabase
Log in or sign up for Devpost to join the conversation.