7xGit / 7xGit/7xGit_Task5

Bet Color Check

Đang mở Phù hợp với người mới
#6 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug enhancement good first issue
Ngôn ngữ chính
Python
Star
1
Fork
4
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Users can place bets on turtle colors that aren't part of the race. This oversight can lead to confusion and frustration, as it creates the potential for misleading outcomes and a negative user experience.

Impact:

User Frustration: If a user bets on a color that doesn’t correspond to any turtle in the race, they may feel misled or disappointed when their bet is invalid. This can detract from the overall enjoyment of the game.
Misleading Outcomes: Allowing bets on non-existent colors could result in inaccurate feedback, where users think they've won or lost based on a turtle that doesn’t exist.
Game Credibility: The integrity of the game can be called into question if users frequently encounter unexpected or illogical results related to their bets.

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Look for the function or class that handles placing bets, likely in a file like bet.py or game_logic.py. Find where the turtle colors for the current race are defined and add a validation check that the bet color is in that list. Run any existing tests related to betting to ensure the validation works and returns a clear error message.

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

Đánh giá

Công nghệ
python
Lĩnh vực
backend, game-dev
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
65/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.