This project started as a basic Python "rock, paper, scissors" game and has evolved into this (where Python is nowhere to be found). More recently has been refactor into a React app.
Several modifications have been made, but the code started based on this Web Dev Simplified video.
When you open the game you can see the strengths of each type in "rules". Once in the "game" screen you have to select a Pokémon and the CPU will also select one, a point will be added to the score of the winning Pokémon (if there is one). Scores are kept until the game is closed.
Obviously, Pokémon does not belong to me. I just used it as an excuse to create a little project and practice a bit of web development.
And read a bit more about this project here.
Requires NodeJs. First of all download or clone the repository, then:
npm install
npm run dev
Este proyecto empezó como un juego básico hecho en Python de "piedra, papel, tijeras" y ha evolucionado hasta esto (en el que Python ha desaparecido). Recientemente se ha refactorizado como una aplicación de React.
Se han realizado varias modificaciones, pero gran parte del código empezó en base a este video de Web Dev Simplified.
Al abrir el juego se pueden ver las fortalezas de cada tipo en "rules". Una vez en la pantalla de "game" hay que seleccionar un pokémon y el CPU también elegirá uno, se sumará un punto al marcador del Pokémon ganador (si lo hay). Las puntuaciones se conservan hasta que se cierre el juego.
Evidentemente, Pokémon no me pertenece. Solo lo he utilizado como una excusa para crear un pequeño proyecto y prácticar un poco de desarrollo web.
Y puedes leer un poco más sobre los inicios del proyecto aquí.
Es necesario instalar NodeJs. Primero hay que descargar o clonar el repositorio, posteriormente:
npm install
npm run dev