games: add Bubble Math for ordering arithmetic expressions

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

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
38/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
next.js, react, typescript
Área
frontend, testing

Línea de trabajo

Start by reading issues #24 and #58 to understand the game roadmap and dependencies, then locate the existing games and common session lifecycle in the repository. Implement Bubble Math with safe expression data, ordering rounds, learning explanations, and accessible keyboard controls; add the specified arithmetic and browser tests. Done means both ordering directions work, invalid results are rejected, and timeout or restart resets the round state.

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

Descripción

enhancement games help wanted

Part of #24. Depends on #58.

Student problem

Students need practice comparing expression values accurately while working under optional time pressure.

Scope

  • Display several expression bubbles and ask the student to select them in ascending or descending numeric order.
  • Clearly state the direction before each round. Begin with addition/subtraction and add multiplication/division, negative values and decimals at documented difficulty levels.
  • Generate distinct values, or explicitly define tie handling before including ties. Reject division by zero and non-finite results.
  • Use safe expression data/evaluation rather than evaluating arbitrary text as code. Define exact comparison or rounding rules for decimals.
  • Explain each value and the correct order in learning mode. Timed practice uses the common session lifecycle.
  • Use stationary selectable controls or provide an accessible alternative to animation. Keep practice free without login.

Done when

  • Tests cover arithmetic precedence, negative/decimal comparisons, ordering direction, duplicate selection and generator validity.
  • A browser test finishes both ordering directions using keyboard controls.
  • Timeout/restart cannot carry an old selection or score into the next round.
Lenguaje dominante
TypeScript
Estrellas
1
Forks
1
Merge medio
8 h 58 min
PR fusionados (30 d)
37

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 procoderji-com/procoderji

Todos los issues de procoderji-com/procoderji

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.