issues
search
irenealonso11
/
juego_python
Hacer 3 juegos en python
3
stars
0
forks
source link
TRIVIAL- Planteamiento NO CODE
#17
Closed
irenealonso11
closed
2 hours ago
irenealonso11
commented
2 hours ago
Hacer diccionario de 8 preguntas y sus respuestas(clave/valor).
Contador de aciertos.
Contador de fallos.
Preguntar al usuario su nombre
Que el ordenador elija una pregunta aleatoria del diccionario y la lance.
El jugador tiene que contestar
Si acierta se suma al contador de aciertos
se lanza un mensaje de has acertado
Si falla se resta al contador de fallos
se lanza un mensaje de suerte en la próxima!
El ciclo se repite hasta que el jugador acierte 5 preguntas o falle 3 veces.
Si pierde se lanza un mensaje de has perdido.
Si gana se lanza un mensaje de has ganado!.