7xGit / 7xGit/7xGit_Task5

Bet Color Check

Aperta Adatta ai principianti
#6 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug enhancement good first issue
Lingua principale
Python
Stelle
1
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
backend, game-dev
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
65/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.