michalbe / michalbe/chip8-js

Move registers from chip8.js to cpu.js

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

Nobody has claimed this yet.

good first issue
Dominant language
JavaScript
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Stuff like `pc`, `sp`, `stack`, `i`, `v` should be part of the CPU, not CHIP8 lib

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

Read chip8.js and cpu.js first, then trace where pc, sp, stack, i, and v are defined and accessed. Done means these registers belong to the CPU rather than the CHIP8 library, with their existing uses still working.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
game-dev
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 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.