https://github.com/jonatandb/dotcsv-juego-de-la-vida
El juego de la vida por Jonatandb
https://github.com/jonatandb/dotcsv-juego-de-la-vida
gameoflife jonatandb phyton pygame python3 repl vscode
Last synced: about 2 months ago
JSON representation
El juego de la vida por Jonatandb
- Host: GitHub
- URL: https://github.com/jonatandb/dotcsv-juego-de-la-vida
- Owner: Jonatandb
- Created: 2020-04-20T04:46:51.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2025-01-28T20:38:54.000Z (5 months ago)
- Last Synced: 2025-04-06T01:32:01.609Z (2 months ago)
- Topics: gameoflife, jonatandb, phyton, pygame, python3, repl, vscode
- Language: Python
- Homepage: https://replit.com/@Jonatandb/DotCSV-Juego-de-la-vida
- Size: 1.99 MB
- Stars: 22
- Watchers: 5
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# "Programando el Juego de La Vida... en 10 MINUTOS!"
- Inspirada en la versión del autor del canal de Youtube -> DotCSV (Video de referencia [acá](https://www.youtube.com/watch?v=qPtKv9fSHZY))---
>
## 🚀 Mi versión online
- https://replit.com/@Jonatandb/DotCSV-Juego-de-la-vida
- Require una cuenta gratuita de [Replit](https://replit.com/) para poder ejecutarlo online.---
## 👨🏻💻 Tecnologías usadas
- Python
- PyGame
---## Los criterios para la vida o la muerte de una célula son:
- Una célula muerta con exactamente 3 células vecinas vivas "nace" (es decir, al turno siguiente estará viva).
- Una célula viva con 2 o 3 células vecinas vivas sigue viva, en otro caso muere (por "soledad" o "superpoblación").
## Cómo jugar:
- ### Al abrir el sitio con el juego presionar el botón "Run" para que comience
- ### Click a una celda le da "vida" y si estaba "viva" entonces se la "mata"
- ### Click medio del mouse Pausa / Reanuda el juego
- #### El juego pausado se puede utilizar para crear autómatas :-)
### Jugalo online haciendo click acá: Juego de la vida by Jonatandb :-)
---
## Páginas consultadas:
### VSCode:
- Getting Started with Python in VS Code
- Python extension for Visual Studio Code
- Configuro VSCode para que no muestre un alerta erronea sobre pygame
- Why does it say that module pygame has no init member?
- Configuro VSCode para que el entorno de debugging por defecto sea el que ejecuta el archivo actual y para que también formatee el código automáticamente usando black, luego de investigar las opciones disponibles (Black, yapf y autopep8) y leer éstas páginas:
- Blog: A comparison of autopep8, black, and yapf - Code formatters for Python
- Auto formatters for Python 👨💻🤖
### Game of life:
- Oscilador (autómata celular)
- John H. Conway hablando del Juego de la vida
### PyGame
- PyGame Tutorial: Getting Started
- Pygame Front Page - Documents
- Pygame: pygame.display.set_mode
- 🚀 A Starter Guide to Pygame 📀
### Incrustar el Repl en el readme para que se pueda jugar directo desde Github:
- is it possible to run pygame or pyglet in a browser?
- How to get HTML file form URL in Python
- Conditional import of modules in Python
- Any way to embed Pygame in webpages?
- Embed openstreetmap iframe in github markdown
### Generar el ícono programaticamente utilizando SVG para no depender del archivo .ico:
- Pygame.org - pygame.image.load()
- drawSvg - A Python 3 library for programmatically generating SVG images
- SVG rendering in a PyGame application
- Python Check If File or Directory Exists
### Hacer que funcione clonar el repositorio desde Repl.it y que el juego se inicie correctamente al presionar Run:
- Configuring GitHub repos to run on Repl.it and contributing back
### Python:
- Python integer incrementing with ++
### Búsquedas varias:
- Iteration & Conway’s Game of Life
---