Create a puzzle app where you have a grid of colorful blocks (about 4-8 different colors depending on difficulty level) where you drag and drop the blocks to swap colors. When three blocks with the same color line up (horizontally or vertically) they disappear and the spots they were in become empty. It is possible to drag blocks to empty spots (then the original place of the block becomes empty). Let me know if you have any questions about details.
This is a gptengineer.app-synced repository 🌟🤖
Changes made via gptengineer.app will be committed to this repo.
If you clone this repo and push changes, you will have them reflected in the GPT Engineer UI.
This project is built with React and Chakra UI.
- Vite
- React
- Chakra UI
git clone https://github.com/GPT-Engineer-App/color-block-puzzle.git
cd color-block-puzzle
npm i
npm run dev
This will run a dev server with auto reloading and an instant preview.
- Node.js & npm - install with nvm