Aatmaj-Zephyr / Aatmaj-Zephyr/Hangman

Code duplication

Đang mở
#148 12 bình luận 0 reaction 1 người được giao Được @MarianCekan nhận Xem trên GitHub
good first issue Hacktoberfest-accepted
Ngôn ngữ chính
JavaScript
Star
10
Fork
16
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Code duplication in the functions gameover() and gamewon()

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Look for the gameover() and gamewon() functions in the codebase, likely in a main game logic file. Compare them to identify duplicated logic. Consider creating a shared helper function or refactoring to eliminate duplication. Test the changes by playing the game to ensure both win and loss conditions still work correctly.

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

Đánh giá

Công nghệ
javascript
Lĩnh vực
game-dev
Loại issue
Tái cấu trúc
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
55/100

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.