Aatmaj-Zephyr / Aatmaj-Zephyr/Hangman
Code duplication
Đang mở
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
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