games: add Digit Challenge for constrained arithmetic

Đang mở
#60 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
35/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 #24 and its dependency #58, then locate the existing games and shared timed-practice lifecycle. Define the digit and precedence rules before implementing the generator and answer validation; the issue names no files or tests to start from. Done means the specified validation and generator tests pass, a browser test completes, corrects and restarts a round, and the game remains separate from Digit Recall.

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 completing arithmetic expressions under digit-use constraints, with feedback that explains valid reasoning.

Scope

  • Present an expression with missing operands and a target, initially forms such as a × b + c = target.
  • Let students choose distinct digits from 1 to 9. Clearly state available digits, reuse restrictions and operator precedence.
  • Generate solvable puzzles and accept any assignment that satisfies the expression and constraints, including alternatives to the generated solution.
  • Increase difficulty through documented expression templates; keep operand selection and undo usable with keyboard/touch.
  • Show a worked solution after submission in learning mode; timed practice uses the shared lifecycle.
  • Keep free guest practice. Additional quick-calculation templates can follow once the core rules are reliable.

Done when

  • Tests cover valid alternate answers, duplicate/out-of-range digits, incomplete input, precedence, impossible generated targets and difficulty bounds.
  • Generators prove at least one legal answer exists.
  • A browser test completes a round, corrects an operand and restarts.

Keep this separate from the existing Digit Recall memory exercise.

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.