You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Base Match-3 Puzzle Game
A lightweight, responsive match-3 game integrated with the Base blockchain.
## Features
- **Match-3 Gameplay**: 8x8 grid with swipe/drag support and gravity-based tile falling.
- **Base L2 Integration**: Strictly enforces Base network and supports automatic switching.
- **ERC-8021 Attribution**: Automatically appends the Builder Code suffix to all transactions.
- **On-Chain Features**: Daily check-ins and score submissions.
- **Premium UI**: Modern design with glassmorphism and smooth animations.
## Builder Code Integration
The app uses the following attribution data for all transactions:
- **Builder Code**: `bc_sjkexp2o`
- **Marker**: `80218021802180218021802180218021` (ERC-8021)
- **Encoded Suffix**: Appended to the end of the transaction's calldata.
Implementation can be found in `src/utils/baseIntegration.js` and `src/hooks/useBaseTransaction.js`.
## Getting Started
1. Install dependencies:
```bash
npm install
```
2. Run the development server:
```bash
npm run dev
```
## Development
- `src/App.jsx`: Main application flow and network guard.
- `src/hooks/useMatch3.js`: Core game engine logic.
- `src/components/Game.jsx`: Game UI and transaction handling.
# puzzle-game-base-1