planetarium / planetarium/ArenaService
Add opponent's groupId in BattleToken
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 1
- Forks
- 3
- Avg merge
- 29m
- Merged PRs (30d)
- 1
Description
https://github.com/planetarium/ArenaService/blob/2a292159b1636099dfca1fdfab45b57ad09206f0/ArenaService/Repositories/BattleRepository.cs#L64
With availableOpponentId in BattleToken, I can determine how many score a player has gained or lost when winning or losing through TxId.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in Repositories/BattleRepository.cs at line 64 and trace how availableOpponentId is added to BattleToken. Confirm where the opponent's groupId is available and how the token is consumed. Done means BattleToken includes the opponent's groupId so a player can determine score gained or lost through the transaction ID.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100