7xGit / 7xGit/7xGit_Task5

Bet Color Check

Abierto Apto para principiantes
#6 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug enhancement good first issue
Lenguaje dominante
Python
Estrellas
1
Forks
4
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
backend, game-dev
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
65/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.