DWDevWeave
CommunitiesDiscoverHelp ForumFeaturesWhy DevWeaveAI & Verification
Log inGet started
Back to Issue Discovery
Dio77799/neon-coast-brawler #7openJavaScriptJavaScript & TypeScript

Vibration on phones

Opened by @Dio77799 · Assignees: None

View on GitHub
enhancementgood first issue

Claim Status & GitHub Signal

Unassigned with 0 comments. Open the workspace to inspect linked PRs before claiming or coding.

AI Issue Assessment · OpenAI Fallback
3.0 / 10 · 3–4 · Beginner

The task involves implementing a simple feature using an existing API (`navigator.vibrate()`), which is straightforward for someone with basic JavaScript knowledge. It requires understanding of browser compatibility and user settings, but does not involve complex logic or extensive code changes.

What It's About

Implementing vibration feedback on mobile devices when certain game events occur.

Why It Matters

Enhancing user experience by providing tactile feedback can make the game feel more engaging and responsive, especially on mobile devices.

Expected Outcome

Users will experience short vibrations on their phones during specific game actions, improving the overall gameplay experience.

Skill Match Breakdown

Log in to compare this issue's requirements against your profile skills. Required concepts: JavaScript, Mobile Development, User Experience, Browser APIs, Event Handling.

Progressive AI Hints

Hint #1 is always free and calibrated to your experience level. Extra hints unlock with coins without spoiling the full solution.

Log in to receive your free level-adapted Hint #1 grounded in this repository's files.

Skill-Gap Learning

Gap-Targeted
Learn HTTP Clients in TypeScript

HTTP protocols, async requests, headers, and error handling in TypeScript.

Addresses skill gap: Browser APIs

Issue Description

Short vibration on phones when you take a hit, land a perfect block or beat a boss, using navigator.vibrate().

  • Only when the browser supports it and only after the first touch.
  • A switch on the phone next to sound, saved with the other settings.
  • Keep the patterns short (under 60 ms, except the boss).

Linked Pull Requests (0)

No linked or cross-referenced pull requests detected via GitHub timeline. Check comments below for informal claims before starting.

GitHub Comments (0)

No comments on this issue yet.

Peer Help Forum · Dio77799/neon-coast-brawler #7

Issue Troubleshooting Threads (0)

Ask Peers for Help

No troubleshooting threads opened for this issue yet. If you hit a test, build, or navigation blocker, post what you've tried so fellow contributors can help.

PR Verification & Rewards

Sign in and link GitHub to verify your PR against this issue and earn XP + coins.

Sign In

Contribution Workflow

Track your local progress before opening a pull request on GitHub.

Repository Context

Top Repository Paths

[dir] .github
[dir] .github/ISSUE_TEMPLATE
.github/ISSUE_TEMPLATE/1-idea.yml
.github/ISSUE_TEMPLATE/2-bug.yml
.github/ISSUE_TEMPLATE/config.yml
.github/PULL_REQUEST_TEMPLATE.md
.gitignore
CONTRIBUTING.md
LICENSE
README.md
config.js
distritos.js
estilo.css
index.html
[dir] motor
motor/base.js
motor/combate.js
motor/dibujo.js
motor/fisica.js
motor/hud.js
motor/interfaz.js
motor/juego.js
motor/mapa.js
motor/niveles.js

CONTRIBUTING.md Excerpt

Contributing

Thanks for helping. A few rules keep the game small and easy to review:

  1. No dependencies and no build step. Plain HTML, CSS and classic scripts loaded in order from index.html, so the game still opens with a double click. If something truly needs a library, open an issue first.
  2. Nothing leaves the device. No analytics, no remote fonts, no uploads. The Content Security Policy in index.html blocks every connection; keep it that way.
  3. Everything is drawn with code. No image, font or audio files: characters go in motor/dibujo.js, sounds and music in motor/base.js.
  4. Content goes in config.js and distritos.js, not in the engine. A new level type is the exception.
  5. Scripts share the global scope: a top level name can't repeat across files.
  6. Small pull requests, one change each. Say how you tested it (keyboard, mouse or phone).

How to take an issue

  1. Pick one from the pinned Roadmap issue or the good first issue label.
  2. Comment that you want it. We assign it to you so two people don't do the same work.
  3. If you go quiet for two weeks, the issue opens up again.
  4. For a new idea, open a proposal with the template first.

Ideas to start with

  • English version of the game (see the open translation issue).
  • A new district type or a new enemy type.
  • Gamepad support.

Advisory PR Assistant

Helps structure your PR description or unpack reviewer feedback. Does not perform GitHub actions.