A fun and interactive Simon game built on the Mantle network, with players staking MemeCoins to advance levels and withdraw winnings. Players can interact with the contract via their EduChain address.
A fun and interactive Simon game built on the Mantle network, with players staking MemeCoins to advance levels and withdraw winnings. Players can interact with the contract via their EduChain address, and their progress is tracked on-chain.
Players stake FunFi Coins to start and advance in the game.
The game supports multiple players simultaneously.
Players can withdraw their winnings after completing levels.
The smart contract ensures secure transactions and game logic.
Contract Address: 0x408a57B9206c5Ff772faD2251d90f4802494f064
Network: EduChain Testnet
Contract Address: View on Explorer
Coin Used: EDU
Starting the Game: Players start by staking MemeCoins. Each correct level advance doubles the stake.
Advancing Levels: Players can advance to the next level by matching the sequence of colors. If they choose to stake more, their stakes are doubled.
Withdrawing: Players can withdraw their winnings after completing any level by choosing to end the game. The MemeCoins are sent directly to their wallet.
startGame()
: Starts a new game and initializes the player's state.
advanceLevel(bool stakeMore)
: Advances the level by either staking more MemeCoins or withdrawing the player's winnings.
withdrawUnstaked()
: Allows players to withdraw their initial stake if they choose to end the game early.
Start the Game: Click on the "Start Game" button to begin. A random color sequence will be shown to you.
Advance Levels: After successfully matching the sequence, click on "Advance Level" to move to the next level. Your stake doubles with each level.
Withdraw: If you want to end the game, click on "Withdraw" to receive your winnings.
This project interacts with the EduChain blockchain through MetaMask or another EduChain-compatible wallet. Ensure your wallet is connected to the EduChain Testnet before playing.