Mi proyecto de Python en Stanford: Del borrador al código, Part 1 | My Python Project at Stanford: From Draft to Code, Part 1
Después de ver algunas clases de Phyton en la universidad de Stanford en su programa Code in Place, debíamos hacer un proyecto, yo estuve ideando tantas pero tantas cosas que tuve burnout, sobre todo por la dificultad de llevar la teoría a la función, les digo que es un gran punto débil, y como no soy desarrolladora como tal aún, no siento vergüenza de eso, trato de aprender y estos son mis primeros pasos.
Tenía claro que quería utilizar la función de gráficos en Canvas, que fuera interactivo, ya sabes que aquí aprendemos que lo que tu hagas en código establece condiciones y más, pero en los softwares el código responde al usuario también, por ejemplo mientras presiono estas teclas en mi teclado, aquí en el blog aparecen las letras que lees; es más complejo, pero no hace falta entrar en tecnicismos por ahora.
Definiendo el juego
Había tantos juegos por hacer, y como estaba la pasión del mundial conecté con este basado en un juego existente, la idea original era que mediante una rampa muy recta de fondo verde el individuo lanzara un fuego para eliminar a la torre y buscara la manera de esquivar los ataques de vuelta.
Le pedí a ChatGpt ayuda aclarando la idea y generando algunos assets, así que luego ya debí poner manos a las obras y avanzar en el proyecto, es decir entrar en la parte más compleja, les cuento más en la parte 2.
After taking a few Python classes at Stanford University through their Code in Place program, we had to complete a project. I was brainstorming so many, many ideas that I ended up burning out—mainly because of how hard it was to put theory into practice. I’ll be honest: that’s a major weakness of mine, and since I’m not a full-fledged developer yet, I’m not ashamed of it. I’m trying to learn, and these are my first steps.
I knew I wanted to use the Canvas graphics feature and make it interactive. As you know, here we learn that what you do in code sets conditions and more, but in software, the code also responds to the user for example, as I press these keys on my keyboard, the letters you’re reading appear here on the blog. It’s more complex, but there’s no need to get into technical details for now.
Defining the Game
There were so many games I could have made, and since the World Cup was in full swing, I settled on this one based on an existing game. The original idea was that, using a very straight ramp with a green background, the player would launch a fireball to destroy the tower and find a way to dodge the counterattacks.
I asked ChatGPT for help clarifying the idea and generating some assets, so then I had to get to work and move forward with the project—that is, dive into the most complex part. I’ll tell you more in Part 2.
Imágenes generadas por ChatGpt
Traducido con DeepL
Brand Strategist | Marketing in Tech
I share reflections, lessons, and behind-the-scenes processes from my perspective as a brand strategist, digital creator, and Web3 builder. I'm drawn to ideas with purpose and projects that actually move things forward.
Between coffee cups, screens, and notebooks, I document what it's really like to build at the intersection of tech, marketing, and community. I move between the digital and the tangible.
Building in Web3 with @hivecreators
Leave Mi proyecto de Python en Stanford: Del borrador al código, Part 1 | My Python Project at Stanford: From Draft to Code, Part 1 to:
Read more #python posts
Best Posts From Sam Giset
We have not curated any of samgiset's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Sam Giset
- Mañanas deliciosas de un poco de lluvia, un poco de sol y tiempo para seguir en mis actividades. Fel
- Mi proyecto de Python en Stanford: Del borrador al código, Part 1 | My Python Project at Stanford: From Draft to Code, Part 1
- Mi AI del día - DeepSeek
- Días de café y trabajo
- Perdí un diseño por no saber esto de Vibe Coding - I lost a design because I didn't know this about Vibe Coding
- Liketu: Una app que está mejorando la experiencia de usuario en Hive
- Contra reloj por voluntad propia
- Desafíos críticos de IA: Créditos, cómputo y realidad | Critical challenges in AI: Credits, computing, and reality
- El tiempo nos pertenece, pero no es gratuito
- Gemini Notebook como nuevo soporte de estudio | Gemini Notebook as a New Study Tool