🌙 Moons for your streaks

Abierto
#16 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
76/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
javascript

Línea de trabajo

Start in src/stats.js and add a test for moonsFor(currentStreak), checking the seven-day thresholds and five-moon cap. Then read src/planets.js to follow its front/back drawing approach. Done means moons appear at the stated streak thresholds, pass behind the far-side hole, and the README table is updated.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

celestial-body enhancement help wanted iteration-3

Idea

Every 7 days of current streak, a small moon joins the orbit (up to 5). If the streak breaks, the moons are gone… and the longest streak of the year leaves a faint ring where they used to be.

Current streak Sky
7 days 🌙 one moon
14 days 🌙🌙 two moons
35+ days 🌙 × 5, the outer one with a tiny crater

Where to start

  • src/stats.js: moonsFor(currentStreak) with a test.
  • Draw them with the same front/back trick as the language logos in src/planets.js so they pass behind the shadow.

Done when

  • Moons appear only past each threshold
  • They pass behind the hole on the far side
  • README table updated
Lenguaje dominante
JavaScript
Estrellas
0
Forks
0
Merge medio
1 min
PR fusionados (30 d)
9

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de FelipeBeltranING/commit-horizon

Todos los issues de FelipeBeltranING/commit-horizon

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.