gno icon indicating copy to clipboard operation
gno copied to clipboard

feat(examples): pokemon fight simulator game at `r/leo/pokemon`

Open Tchips46 opened this issue 8 months ago • 3 comments

Added

Realms:

r/leo/pokemon
A small Pokémon fight simulator game to showcase what a ranked game could look like using blockchain.

  • [x] Pokémon fight base system
  • [x] Team fight
    • [x] Swap Pokémon during fight
    • [x] Use items during fight
    • [x] Attack enemy
    • [x] PVE
      • [x] Random attack selection
      • [x] Random team selector
    • [x] Transaction to end fight and validate data
  • [x] Pokémon DAO implementation
  • [x] Ranking system
  • [x] Team selector
  • [x] Shop to buy items
  • [x] Login system
  • [x] Replace p/leo/randomizer by math/rand
  • [x] Replace p/leo/renderer by p/moul/md and p/moul/mdtable

Tchips46 avatar Apr 07 '25 17:04 Tchips46

🛠 PR Checks Summary

All Automated Checks passed. ✅

Manual Checks (for Reviewers):
  • [ ] IGNORE the bot requirements for this PR (force green CI check)
  • [ ] The pull request description provides enough details
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) 🟢 Pending initial approval by a review team member, or review from tech-staff

☑️ Contributor Actions:
  1. Fix any issues flagged by automated checks.
  2. Follow the Contributor Checklist to ensure your PR is ready for review.
    • Add new tests, or document why they are unnecessary.
    • Provide clear examples/screenshots, if necessary.
    • Update documentation, if required.
    • Ensure no breaking changes, or include BREAKING CHANGE notes.
    • Link related issues/PRs, where applicable.
☑️ Reviewer Actions:
  1. Complete manual checks for the PR, including the guidelines and additional checks if applicable.
📚 Resources:
Debug
Automated Checks
Maintainers must be able to edit this pull request (more info)

If

🟢 Condition met
└── 🟢 And
    ├── 🟢 The base branch matches this pattern: ^master$
    └── 🟢 The pull request was created from a fork (head branch repo: Tchips46/gno)

Then

🟢 Requirement satisfied
└── 🟢 Maintainer can modify this pull request

Pending initial approval by a review team member, or review from tech-staff

If

🟢 Condition met
└── 🟢 And
    ├── 🟢 The base branch matches this pattern: ^master$
    └── 🟢 Not (🔴 Pull request author is a member of the team: tech-staff)

Then

🟢 Requirement satisfied
└── 🟢 If
    ├── 🟢 Condition
    │   └── 🟢 Or
    │       ├── 🔴 At least one of these user(s) reviewed the pull request: [jefft0 leohhhn n0izn0iz notJoon omarsy x1unix] (with state "APPROVED")
    │       ├── 🟢 At least 1 user(s) of the team tech-staff reviewed pull request
    │       └── 🔴 This pull request is a draft
    └── 🟢 Then
        └── 🟢 Not (🔴 This label is applied to pull request: review/triage-pending)

Manual Checks
**IGNORE** the bot requirements for this PR (force green CI check)

If

🟢 Condition met
└── 🟢 On every pull request

Can be checked by

  • Any user with comment edit permission
The pull request description provides enough details

If

🟢 Condition met
└── 🟢 And
    ├── 🟢 Not (🔴 Pull request author is a member of the team: core-contributors)
    └── 🟢 Not (🔴 Pull request author is user: dependabot[bot])

Can be checked by

  • team core-contributors

Gno2D2 avatar Apr 07 '25 17:04 Gno2D2

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

:loudspeaker: Thoughts on this report? Let us know!

codecov[bot] avatar Apr 07 '25 17:04 codecov[bot]

Also please check the CI!

leohhhn avatar Apr 15 '25 15:04 leohhhn

Hey @Tchips46! Can you move this code to this repo?

Make a PR and we can merge this asap :)

leohhhn avatar Sep 17 '25 11:09 leohhhn

Hey @Tchips46! Can you move this code to this repo?

Make a PR and we can merge this asap :)

Done! https://github.com/gnoverse/community/pull/6

Tchips46 avatar Sep 17 '25 14:09 Tchips46

Moved to https://github.com/gnoverse/community/pull/6

Tchips46 avatar Sep 17 '25 14:09 Tchips46