2048_gamefi
A blockchain-based 2048 game that integrates NFT minting and marketplace functionality, allowing players to mint their game achievements as NFTs and trade them in the marketplace. Now supports multipl
비디오
설명
2048 Game with NFT Marketplace
A blockchain gaming experience combining classic puzzle mechanics with Web3 innovation.
A blockchain-based 2048 game that integrates NFT minting and marketplace functionality, allowing players to mint their game achievements as NFTs and trade them in the marketplace. Now supports multiple networks including Sepolia, Telos Testnet, and Avalanche Fuji, with unique NFT designs stored on IPFS.
A next-generation 2048 implementation featuring:
✅ NFT minting for game achievements
✅ Cross-chain marketplace trading
✅ IPFS-hosted digital collectibles
✅ Daily token rewards system
Core Features 🚀
🕹️ Gamified DeFi Experience
Classic 2048 gameplay with Web3 integration
Progressive difficulty system
Real-time score tracking
🖼️ NFT Ecosystem
Mint unique NFTs at score milestones (256/512/1024/2048)
4-tier rarity system: Common → Rare → Epic → Legendary
Dynamic NFT metadata tracking game stats
🌐 Multi-Chain Support
Deployed on Sepolia, Telos Testnet & Avalanche Fuji
Unified marketplace interface across chains
Network switching with single click
💸 Token Economy
$GAME ERC-20 utility token
Daily airdrops for active players
NFT staking rewards program
Features
🎮 Classic 2048 gameplay
🎨 Game achievement NFT minting system with unique designs
💰 NFT marketplace for trading
🌐 Multi-network support: Sepolia, Telos Testnet, Avalanche Fuji
🖼️ NFT images stored on IPFS
🎁 Daily token airdrop rewards
📱 Responsive design for mobile devices
🔗 Ethereum-based smart contracts
UI Showcase🖥️
1. Game Interface 🕹️

Key Elements:
Live score counter with token balance
NFT minting progress bar (0/256/512/1024/2048)
Network status indicator
Integrated wallet controls
Responsive grid layout with material design tiles
2. NFT Marketplace 🛒

Core Features:
Filterable NFT grid with rarity badges
Cross-chain listing indicators
Price history charts
Bid/Ask system for trading
Owner verification badges
3. Player Profile 👤

Dashboard Includes:
NFT gallery wall
Achievement trophy case
Transaction history timeline
Token staking progress
Network switching panel
Tech Stack
Frontend:
Next.js
React
TypeScript
CSS Modules
Ethers.js
Smart Contracts:
Solidity
ERC20 Token
ERC721 NFT
Marketplace Contract
Quick Start
Clone the repository
git clone https://github.com/SuruiLiu/Gamefi-2048.git
cd Gamefi-2048Install dependencies
npm installStart development server
npm run devOpen http://localhost:3000 in your browser
Project Structure
Gamefi-2048/
├── components/ # React components
├── contracts/ # Smart contract files
├── styles/ # CSS style files
├── utils/ # Utility functions
├── pages/ # Next.js pages
└── public/ # Static assets
How to Play
Connect your MetaMask wallet
Use arrow keys or swipe to move tiles
Merge tiles with the same number
Mint NFT when reaching target score
Trade your NFTs in the marketplace
Contract Addresses
Note: All contracts are deployed on Sepolia testnet. Please make sure you have some Sepolia ETH in your wallet to receive daily airdrops and interact with the contracts.
GameToken:
0x5d768b72b6a41cB84B021A169E0B77a7b6b06f49GameNFT:
0x37eAD756497bBc8e69a16DC260FaB698309b0067Marketplace:
0x3045e820CcF4059cE1747F033e8D6246F43850dB
Telos Testnet
GameToken:
0x09421D4e8594D3B19ABFc9c1C44096fa3BaAB6e1GameNFT:
0x459287afB0daf7e7FDCcA4bda08C8a5bd0BfE230Marketplace:
0x60cda54041199A7Fa74738053F6D78527A9120c6
Avalanche Fuji
GameToken:
0x4A3Ec63705BB4BCcBaFcabfD8D7B6e9986082489GameNFT:
0x63F6082C3B8193d43EE146d790DF30925442B645Marketplace:
0x459287afB0daf7e7FDCcA4bda08C8a5bd0BfE230
NFT Images
Legendary:
https://ipfs.io/ipfs/bafybeicc4xossvnz3acndhqw4zcs4xa2xgiyotpvb3ptishm75qtyeszwqEpic:
https://ipfs.io/ipfs/bafybeifh6ifdof7mee7rqkw355tnxh2qrlu2nudze7dhbbxeqcvpuele7qRare:
https://ipfs.io/ipfs/bafybeiaf3fy7r2evvqlhqqpbwla3lsurie2h6cwanalp7fzpxn3cq7pwgyCommon:
https://ipfs.io/ipfs/bafybeighwgusfefm23avzsxpaqbkacrqmywfunx3lx3nywmf23uwxvb45i
You can get Sepolia testnet ETH from these faucets:
해커톤 진행 상황
Solo. The complete demo has been finished, and the code has been open-sourced on GitHub.