hackquest logo

WordSmith_EDU

WordSmith is a decentralized blockchain-powered word-guessing game where players use TheMythicToken ( T M T ) to guess mystery words.

Description

WordSmith - Decentralized Blockchain Word Game

WordSmith is a decentralized blockchain-powered word-guessing game where players use TheMythicToken ( T M T ) to guess mystery words. Only vowels are initially visible, and players must deduce the word within five attempts. Correct guesses reward players with tokens, while wrong guesses add to the challenge. Built on blockchain technology, WordSmith ensures transparency, fairness, and secure token management.


Features

  • Interactive Gameplay: Guess words with only vowels revealed.

  • Blockchain Integration: Game logic secured via a smart contract.

  • Token Rewards: Earn T M T tokens for correct guesses.

  • Decentralized: All game operations are transparent and stored on the blockchain.


Contract Details

  • Token Name: TheMythicToken ( T M T )

  • Network: EDU Chain

  • Contract Address: 0xc1433abe2ff5db21E47c701CC2E6E540AdB941d8

  • TMT Token Contract Address: 0x5Eae8B7B4dd3A56Cf9FAAC5f9CdDd83cD66E8Fd3


Deployment

  • Contract Address: View

  • Coin Used: EDU


How It Works

  1. Entry Fee: Players pay an entry fee of 10 T M T tokens to start the game.

  2. Gameplay: Players are presented with a blockchain-related word with vowels revealed and have 5 attempts to guess it.

  3. Winning Rewards: Winners receive 20 T M T tokens as a reward.

  4. Frontend Integration: Tokens are claimed directly from the frontend through the meme coin smart contract.


How to Play

  1. Connect Wallet: Use a compatible wallet to connect your wallet to the application.

  2. Pay Entry Fee: Deduct 10 T M T tokens to start the game.

  3. Guess the Word: Use the revealed vowels to guess the word within 5 attempts.

  4. Claim Rewards: Winners automatically receive 20 T M T tokens in their account.


Deployment

  • Smart Contract Address: Deployed on the EDU CHAIN.

  • Token Used: TheMythicToken ( T M T ).


Getting Started

  1. Clone the Repository: Download the source code to your local machine.

  2. Deploy the Contract: Use the provided Solidity contract to deploy on the EDU CHAIN.

  3. Set Up the Frontend: Configure the frontend to connect to your deployed contract.

  4. Connect Wallet: Open the web interface, connect using MetaMask or another compatible wallet, and start playing!


Future Enhancements

  • Additional Categories: Introduce more word categories beyond blockchain.

  • Hint System: Add hints for difficult words to assist players.

  • Leaderboards: Display top players based on their performance.

  • NFT Rewards: Offer exclusive NFTs for winning streaks.

  • Mobile Support: Optimize the game for mobile platforms.

Progress During Hackathon

During the hackathon, our team successfully developed "WordSmith," a decentralized word-guessing game built on blockchain technology. We effectively implemented the game mechanics where players guess words with only vowels visible, using TheMythicToken (TMT) for entries and rewards. We deployed two main smart contracts on the EDU Chain: one for the game logic and another for the TMT token management. Players can now engage with a fully interactive game, paying an entry fee and receiving tokens for correct guesses. The integration of blockchain ensures that all game operations are transparent and secure. The frontend was also set up to facilitate easy wallet connections and gameplay interaction. Our efforts were focused on creating a robust, fun, and fair gaming environment that also supports future enhancements such as hints, leaderboards, and NFT rewards.

Tech Stack

Web3
Ethers
Solidity
HTML
CSS
JavaScript