Giter VIP home page Giter VIP logo

mmm-cards's Introduction

MMM-CARDS

Play 5 Card Stud Poker against your mirror

How it works

Your mirror is always the dealer. Each hand starts with a newly shuffled deck of 52 standard playing cards. You get the 1st, 3rd, 5th, 7th and 9th cards, just as you would when playing heads up poker. Your mirror gets the 2nd, 4th, 6th, 8th and 10th cards, just as it would if it were the dealer playing heads up poker. Your hand is exposed first, one card at a time. Then the mirror's cards are exposed, one at a time.

When the hand is over, a new hand starts with newly shuffled deck of 52 cards.

Examples

  • Your mirror's hand being exposed

  • Annotated .css file included for aligning and coloring text and header.

Installation

  • git clone https://github.com/mykle1/MMM-CARDS into the ~/MagicMirror/modules directory.

  • No API needed! No dependencies needed!

Config.js entry and options

{
    module: 'MMM-CARDS',
    position: 'top_left',
    config: { 
	useHeader: false,              // true if you want a header
	header: "5 Card Stud Poker",   // Any text you want
	maxWidth: "100%",              // Stretch or constrain according to region
	animationSpeed: 3000,          // New clue fades in and out
    }
},

Special thanks to SpaceCowboysDude

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.