MackFolds / MackFolds/javascript-robot-practice
Add randomness to health and damage values
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
-
Start enemies at a random health value between 40 and 60.
-
Start enemies with a random attack value between 10 and 14.
-
Attack damage is random, using the robot's attack value as an upper limit (for example, if the player's attack is 10, their damage range is 7-10).
Contributor guide
No contributing guide indexed for this repository
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
No files or tests are named. Search the repository for enemy initialization and attack or damage resolution, then trace how health and attack values are assigned. Done means enemies begin with the requested random ranges and attacks produce damage from 7 through the robot's attack value, including the specified enemy values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100