A blockchain-based Coin Toss Game where players bet tokens, predict outcomes, and win rewards.
The Coin Toss Game is a decentralized application built on blockchain, allowing players to bet tokens on "heads" or "tails" and win rewards based on their predictions. With no entry fees, players lose 1 token per game and win 2 tokens if correct. The game ensures fairness through randomness and token-based transactions, providing a fun, transparent gaming experience.
Designed and deployed a smart contract, optimized gas usage, integrated Web3.js for the frontend, and tested the complete workflow for seamless user interaction.