hackquest logo

guessing number game

this is do guessing number

视频

描述

Guessing Number Game

Description

The Guessing Number Game is a simple Solidity-based smart contract deployed on the Edu Chain blockchain. Players can participate by sending Ether to guess a predefined number, and if they guess correctly, they win the entire prize pool.

Features

  • Decentralized Game: Built on the blockchain for transparency and fairness.

  • Automated Prize Distribution: The contract automatically rewards the winner with the prize pool.

  • Secure Prize Withdrawal: Players can withdraw their winnings safely at any time.

  • Public Prize Pool: Anyone can check the available prize pool.

  • Trustless System: No intermediaries; the smart contract enforces the rules.

Deployed Contract Details

  • Contract Address: 0xb78333ACeCc8d325ee8069c0e5c296E9f2a2741d

  • Blockchain Network: Edu Chain

How to Play

  1. Send Ether to the smart contract to make a guess.

  2. If your guessed number matches the predefined number, you win the entire prize pool.

  3. If you win, you can withdraw your winnings securely from the contract.

License

This project is UNLICENSED and intended for educational and experimental purposes.


Feel free to contribute or fork this project on GitHub!

本次黑客松进展

70

技术栈

Solidity
Web3
Java