-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add FOMO3D game implementation #3344
base: master
Are you sure you want to change the base?
Conversation
🛠 PR Checks SummaryAll Automated Checks passed. ✅ Manual Checks (for Reviewers):
Read More🤖 This bot helps streamline PR reviews by verifying automated checks and providing guidance for contributors and reviewers. ✅ Automated Checks (for Contributors):🟢 Maintainers must be able to edit this pull request (more info) ☑️ Contributor Actions:
☑️ Reviewer Actions:
📚 Resources:Debug
|
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
- Add 5% owner fee (47% jackpot, 28% dividends) - Improve error handling - Update UI with better organization & emojis - Add ownership tests & update test coverage - Register realm to Hall of Realms
} | ||
|
||
// GetGameState returns current game state | ||
func GetGameState() (int64, int64, int64, std.Address, int64, int64, int64, bool) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might make sense to pack these into a struct, wdyt?
This PR introduces FOMO3D, a blockchain-based game that combines lottery and investment mechanics, implemented as a Gno realm. The game creates an engaging economic model where players compete to be the last key purchaser while earning dividends from subsequent purchases.
Key Features
Technical Implementation
How to Use
StartGame()
BuyKeys()
ClaimDividends()
Testing
All core functionalities are covered by unit tests including:
Inspired by the original Ethereum FOMO3D game but rebuilt for the Gno platform.