MackFolds / MackFolds/javascript-robot-practice

Title: Add shop functionality

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

  • After defeating an enemy, ask the player if they would like to purchase an item from a store.

  • The player can purchase health or attack points if they can afford it.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named, so first locate the flow that runs after an enemy is defeated and the existing player health, attack, and currency state. Trace how player prompts and purchases are handled, then verify that an affordable health or attack upgrade can be selected after each victory and that unaffordable purchases are rejected.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
game-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.