games: add Bubble Math for ordering arithmetic expressions

Đang mở
#65 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
38/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
frontend, testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
TypeScript
Star
1
Fork
1
Merge trung bình
8 giờ 58 phút
Pull request đã merge (30 ngày)
37

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của procoderji-com/procoderji

Tất cả issue của procoderji-com/procoderji

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.