Spaces:
Sleeping
Sleeping
Alexis Palmer
commited on
Commit
•
378388e
1
Parent(s):
17900ec
added game instructions
Browse files
app.py
CHANGED
@@ -118,6 +118,8 @@ with gr.Blocks(theme=gr.themes.Soft(), title="Ckunsa Ahorcado") as hangman:
|
|
118 |
current_word = gr.State(pick_new_word(filtered_lexicon))
|
119 |
|
120 |
gr.Markdown("# Ckunsa Ahorcado")
|
|
|
|
|
121 |
|
122 |
with gr.Row():
|
123 |
current_word_textbox = gr.Textbox(label="La palabra", interactive=False, value=create_hangman_clue(current_word.value['word'], current_word.value['guessed_letters']))
|
|
|
118 |
current_word = gr.State(pick_new_word(filtered_lexicon))
|
119 |
|
120 |
gr.Markdown("# Ckunsa Ahorcado")
|
121 |
+
|
122 |
+
instructions_textbox = gr.Textbox(label="Instrucciones", interactive=False, value="Te presentamos el juego del 'Ahorcado', en este deberás selecionar letras hasta encontrar la palabra correcta. A medida que aciertes aparecerá la letra seleccionada en el espacio indicado. Recuerda que puedes usar pistas. ¡Buena suerte!")
|
123 |
|
124 |
with gr.Row():
|
125 |
current_word_textbox = gr.Textbox(label="La palabra", interactive=False, value=create_hangman_clue(current_word.value['word'], current_word.value['guessed_letters']))
|