A Solidity-based trivia game where users earn token rewards for answering questions correctly
The Trivia Game Smart Contract is a blockchain-based game designed in Solidity that allows users to answer trivia questions and earn token rewards for correct answers. The contract securely stores questions and their corresponding hashed answers. Users can submit their answers, and if they match the stored hash, they receive a token reward. The contract ensures fair play by preventing users from answering the same question multiple times. It also includes a balance-tracking mechanism so users can check their total earned rewards. This project aims to provide a fun and decentralized way to engage users in trivia challenges while utilizing smart contract functionalities.
30
0