CodingTrain / CodingTrain/Directional-Boring

Draw a scalable house that the player should not drill into

Open
#46 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Draw a scalable house that the player should not drill into. This is a sub-issue of #41.

Please create a global constant color of the part touching the ground for the win/lose checking.
An additional broken house would make the loose screen look cool.

In the code, there is a placeholder for drawing house(s) into the scene (might be not merged yet).
// todo add the houses here
// it is important to color houses differently
// because the status checking occurs based on color

182111160-09ccacb8-5558-4914-97f0-9bb0f9a45382

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

Start at the scene code containing the noted “todo add the houses here” placeholder and inspect how win/lose status checking uses colors. Add a scalable house with a global ground-contact color constant, optionally include a broken house for the lose screen, and verify that the status checks still distinguish the house colors correctly.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.