A blockchain-powered isometric stacking game built on Avalanche. Stack blocks, compete on the leaderboard, and buy extra lives with AVAX!
- Isometric 3D Block Stacking: Beautiful canvas-based game with smooth animations
- Blockchain Integration: Built on Avalanche C-Chain for fast, low-cost transactions
- Extra Lives: Buy additional lives with 0.1 AVAX to continue from where you died
- On-Chain Leaderboard: Your high scores are permanently stored on the blockchain
- Wallet Connect: Seamless integration with Core, MetaMask, and other Web3 wallets
- Player Statistics: Track your games played, high scores, and total spent
- Node.js 18+ and npm
- A Web3 wallet (Core Wallet or MetaMask)
- Avalanche Fuji testnet AVAX (Get from faucet)
- Clone the repository:
cd tower-blocks-avax- Install dependencies:
npm install-
Configure WalletConnect:
- Go to WalletConnect Cloud
- Create a new project
- Copy your Project ID
- Edit
lib/wagmi-config.tsand replaceYOUR_WALLETCONNECT_PROJECT_ID
-
Deploy the smart contract (see Contract Deployment)
-
Run the development server:
npm run dev