Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

L26.P2: rework practice to be about a case where we actually load strings that need conversion to int

Abierto
#1,440 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
56/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
godot

Línea de trabajo

Start by locating the L26.P2 practice and the related issues #1416 and #1425. Review how the current spin box supplies values and how the lesson handles shop item data; then shape the practice around a dictionary loaded from CSV, with a string price to convert to an integer. Done means the exercise presents that realistic conversion task and its expected result.

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

Descripción

content

This issue follows and will eventually encompass #1416 and #1425

So, while it's absolutely possible to patch the practice to address the mentioned bugs, a problem remains that, unlike what we say in the practice, the spin box gives us a float and you can directly assign a float to a variable expecting an int in GDScript. So, you don't really need to do a type conversion in practice here, but also, this is not a real case where we would read a string from the user interface.

Instead, a relevant case that still relates to the idea of a shop we have in this lesson is something like designers writing spreadsheets where they put the item data that we load into the game, but because it comes from a spreadsheet, it's all text that we need to parse and convert to integer where relevant. So an idea is to give people a dictionary representing data loaded from a CSV file where the user needs to convert a string value representing the price into an int

Lenguaje dominante
GDScript
Estrellas
2.8k
Forks
237
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de GDQuest/learn-gdscript

Todos los issues de GDQuest/learn-gdscript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.