Git Product home page Git Product logo

piedra-papel-tijeras-lagarto-spock-con-arduino's Introduction

⚠️ This repository is not longer maintained ⚠️

Piedra Papel tijeras Lagarto Spock con Arduino

El clásico de Big Bang Theory Piedra papel tijeras largarto Spock en Arduino. Video del capitulo

Descripción:

interface

  • Arduino crea un número aleatorio entre 1 y 5, este número se corresponde a su vez con piedra papel tijeras lagarto Spock.
  • El jugador selecciona con un botón su opción deseada.
  • El sistema devuelve el resultado en forma de mensaje a través del serial. Serial

Lógica del juego:

Reglas

  • Piedra gana a tijeras y lagarto, pierde con papel y spock.
  • Papel gana a piedra y spock, pierde con tijeras y lagarto.
  • tijeras gana a papel y lagarto, pierde con piedra y spock.
  • Lagarto gana a spock y papel, pierde con piedra y tijeras.
  • Spock gana a tijeras y piedra, pierde con papel y lagarto.

Hardware necesario:

Protoboard IMPORTANTE: Las resisténcias son necesarias, sino puedes dañar la placa e incluso provocar un incendio.

  • Placa Arduino UNO o similar [x1]
  • Pulsadores (x5) (Pines 8, 9, 10, 11 y 12)
  • Resistencias 10K (x5)
  • Un post-it a modo de interfaz (opcional) Fritzing file

Extra:

  • Versión en ingles del juego. Gracias @NuriaHill
  • Modo Debug. Imprime información por consola. Solo es necesario quitar el comentario en la línea 18
#define DEBUGMODE

El código:

Código fuente

Ahora tu turno...

¿Quien se anima con Mono-Pirata-Robot-Ninja-Zombie ?

piedra-papel-tijeras-lagarto-spock-con-arduino's People

Contributors

nuriahill avatar ulisesgascon avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

nuriahill

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.