Code Monkey home page Code Monkey logo

programmers-playing-cards's People

Contributors

bathlamos avatar codeneos avatar dennis1000 avatar hbrinj avatar kylesf avatar rojotek avatar rrdelaney avatar stegschreck avatar tae8838 avatar tanners avatar thespyder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

programmers-playing-cards's Issues

Link to KickStarter

The readme has no link to KickStarter. It would help complete the loop of traffic this gets to help both the fund-raising, and the hype.

Hearts 7 wrong suit

The hearts 7 hast the wrong suit, it reads diamonds but should be hearts, right?

PHP and HAXE

I think pho and haze need looking at as I do not believe they are correct

Cards in plastic

More than one person has requested cards made in a plastic-like material. Need to investigate and get quotes.

Queston regarding maximum LOC for Example Code

What is the maximum number of lines that a code example can be? Some languages are naturally more "verbose" than others. I am looking at the Java example and would like to provide a more cleanly implemented class definition, but am finding myself writing > 9 lines.

public class Card {
    private final int rank;
    private final Suit suit;
    public enum Suit {DIAMONDS}
    static {
        new Card(8, Suit.DIAMONDS);
    }
    public Card(int rank, Suit suit) {
        this.rank = rank;
        this.suit = suit;
    }
}

What is the maximum number of lines that will be accepted?

7 of hearts

Currently is {rank} of {rank} rather than {rank} of {suit}

4 of Hearts

I'm not sure how Haskelly the example is, I've come up with a new one but it's possibly a bit longer but i feel that you should show currying in the little example :) What are the constraints we're working towards? what are your views on what can be left out?

type Suit = String
type Rank = Int

data Card = Card{
  rank :: Rank,
  suit :: Suit }
  deriving(Show)

newCard :: Rank -> Suit -> Card
newCard = \r -> \s ->
    Card{ rank = r, suit = s }

card :: Card
card = newCard 4 "Hearts"

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.