Inspiration

Match-3 puzzle games have always been a perfect blend of strategy, color, and fun. I wanted to recreate that experience in my own style—simple, sweet, and satisfying. The idea behind SweetStack was to build a colorful puzzle world where players can relax, match candies, and enjoy smooth, responsive gameplay. It was also a great opportunity to push myself using AI-powered development with bolt.new.

What it does

SweetStack is a match-3 puzzle game where players swap candies to create matches of three or more. When matches occur, the candies pop, points are earned, and new candies fall into place, creating chain reactions. The game delivers an addictive loop of swapping, matching, and stacking up combos—all inside a fast, browser-friendly interface.

How we built it

SweetStack was developed using React and Next.js, with bolt.new helping accelerate the initial layout, UI components, and project structure. Key pieces of the build include:

A grid system that manages all candy positions Swap detection logic to determine valid and invalid moves Match scanning that clears candies and triggers cascades React state management to update the board smoothly CSS-based animations that bring the candy world to life Next.js ensures fast performance, quick loading times, and seamless gameplay directly in the browser.

Challenges we ran into

The biggest challenge was implementing clean and reliable match-3 logic. Ensuring swaps only worked when they created valid matches, handling multiple cascades, and managing fast state updates without breaking animations all required careful debugging. Integrating AI-generated code from bolt.new with custom logic also took fine-tuning to make sure everything worked cohesively.

Accomplishments that we're proud of

I’m proud of how polished and playable SweetStack became in a short time. Seeing the candies swap, match, and cascade naturally felt like a major win. Building the core puzzle engine from scratch, while still keeping the UI smooth, was a huge milestone. Using bolt.new effectively also helped speed up development without sacrificing quality.

What we learned

This project taught me a lot about game logic, grid-based mechanics, animation timing, and how to keep React renders efficient during rapid updates. I gained more experience blending AI-assisted tools with detailed custom code, and learned how to design a satisfying gameplay loop that feels good for players.

What's next for Sweet Stack Game

Planned features to make SweetStack even better include: Special candies that clear rows, columns, or explode areas Multiple levels with increasing difficulty Timed mode and move-limited challenges Sound effects and enhanced animations A global leaderboard New themes like chocolate, gems, fruits, and fantasy worlds Full mobile/touch optimization

The goal is to turn SweetStack into a richer, more replayable puzzle experience while keeping its sweet, simple core intact.

Built With

Share this project:

Updates