Skip to content

feat: HitTheZone#9

Merged
leohhhn merged 16 commits into
gnoverse:mainfrom
Nezketsu:main
Nov 12, 2025
Merged

feat: HitTheZone#9
leohhhn merged 16 commits into
gnoverse:mainfrom
Nezketsu:main

Conversation

@Nezketsu

Copy link
Copy Markdown
Contributor

This PR is for adding my personal realm HitTheZone i made to learn base of gno language. This realm This is a simple betting game where a random number between 1 and 100 is generated. Your goal is to select a number range and place a bet on whether the randomly drawn number will fall within that range.

@Nezketsu Nezketsu changed the title add: adding the realm HitTheZone feat: adding the realm HitTheZone Sep 22, 2025
@leohhhn

leohhhn commented Sep 22, 2025

Copy link
Copy Markdown
Contributor

Can you write some tests?

@davd-gzl

davd-gzl commented Sep 27, 2025

Copy link
Copy Markdown

I see you added TrustFactor, separate it in a second PR if possible!

@Nezketsu

Copy link
Copy Markdown
Contributor Author

I see you added TrustFactor, separate it in a second PR if possible!

Yes it's a mistake i will fix it tomorrow !

@davd-gzl

Copy link
Copy Markdown

Globally looks good to me, I need to try it to be sure

@leohhhn leohhhn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a good start, but i'm leaving some comments on things you need to change or improve. check them out below

Comment thread packages/r/greg007/HitTheZone/logic.gno Outdated
Comment thread packages/r/greg007/HitTheZone/logic.gno Outdated
Comment thread packages/r/greg007/HitTheZone/logic.gno
Comment thread packages/r/greg007/HitTheZone/logic.gno Outdated
Comment thread packages/r/greg007/HitTheZone/logic.gno Outdated
Comment thread packages/r/greg007/HitTheZone/render.gno
Comment thread packages/r/greg007/HitTheZone/render.gno Outdated
Comment thread packages/r/greg007/HitTheZone/render.gno Outdated
Comment thread packages/r/greg007/HitTheZone/render.gno Outdated
@leohhhn

leohhhn commented Oct 2, 2025

Copy link
Copy Markdown
Contributor

Please check why the CI is red! Also, please reply to each comment I'm leaving.

@Nezketsu

Nezketsu commented Oct 3, 2025

Copy link
Copy Markdown
Contributor Author

Please check why the CI is red! Also, please reply to each comment I'm leaving.

I think the problem is because the CI dont find the std package i dont know where to fix it. And sure i will reply to each comment now

@leohhhn

leohhhn commented Oct 3, 2025

Copy link
Copy Markdown
Contributor

std does not exist anymore - its been split into different packages. Check PR #4040 on the monorepo :)

@Nezketsu

Nezketsu commented Oct 3, 2025

Copy link
Copy Markdown
Contributor Author

std does not exist anymore - its been split into different packages. Check PR #4040 on the monorepo :)

I fixed it normally i used new packages

@davd-gzl davd-gzl left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also update to include gnolang/gno#4040 new spec
You can run gno fix to do it

Comment thread packages/r/greg007/HitTheZone/logic.gno Outdated
Comment thread packages/r/greg007/HitTheZone/logic.gno Outdated
Comment thread packages/r/greg007/HitTheZone/hitthezone_test.gno Outdated
@leohhhn leohhhn changed the title feat: adding the realm HitTheZone feat: HitTheZone Oct 18, 2025

@leohhhn leohhhn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leaving a few more comments before we can move forward

Comment thread packages/r/greg007/HitTheZone/logic.gno Outdated
Comment thread packages/r/greg007/HitTheZone/logic.gno Outdated
Comment thread packages/r/greg007/HitTheZone/logic.gno Outdated
@leohhhn

leohhhn commented Nov 3, 2025

Copy link
Copy Markdown
Contributor

Can you please reply to all comments?

@Nezketsu Nezketsu requested review from davd-gzl and leohhhn November 3, 2025 19:58
@leohhhn leohhhn merged commit f2c642e into gnoverse:main Nov 12, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants