The game is a decentralized version of the classic Combo puzzle game, where all game states are recorded on blockchain.
Blockchain Integration: some move and game state is securely stored on the Ethereum blockchain, ensuring transparency and immutability.
Entry Fee: Players must pay an entry fee in ETH to start a game, which helps maintain the game's economy and rewards.
Game State Management: Players can save their current game state, allowing them to pause and resume their game at any time.
Reward Distribution: At the end of the game, rewards are distributed based on the players' scores, with the winner receiving the total balance of the contract.
Gameplay
Players start the game by paying the entry fee and initializing the game board.
The objective is to combine tiles with the same numbers to reach the highest score possible.
Players can move tiles in four directions (up, down, left, right) to combine them and create higher-value tiles.
The game ends when there are no valid moves left, and the final score is recorded on the blockchain.
Technical Details
The game is built using Solidity for smart contracts, which handle the game logic and state management.
The front-end is developed using HTML, CSS, and JavaScript, with the Ethers.js library for interacting with the Ethereum blockchain.
Players can connect their MetaMask wallet to interact with the game and manage their transactions.
Conclusion
The Ethereum Combo game combines the fun of a classic puzzle game with the innovative features of blockchain technology, providing players with a unique gaming experience where they can earn rewards and manage their game states securely.
Conceptualization The development of ComboGame began with the idea of creating a decentralized version of the classic 2048 puzzle game, leveraging blockchain technology to enhance gameplay and provide players with ownership of their game states. The goal was to allow players to save their progress on the Ethereum blockchain, enabling them to roll back to previous states and ensuring transparency in game mechanics. Each of us is responsible for developing a part of the content, and finally completes the project through communication and exchange of ideas.
HackQuest Monthly Hack - Nov