Git Product home page Git Product logo

deck-of-cards-api's Introduction

Deck of Cards API

This is the documentation for the Deck of Cards API by Bobby Russell. Note that this is a small, simple, and currently incomplete implementation of a Deck of Cards in the French Style.

What is the Deck of Cards API?

The Deck of Cards API is a pet project, inspired by Chase Roberts' Deck of Cards API. You can check out Chase's implementation here.

There are two APIs to consider in this project: the REST API, and the Python API. A small subset of the Python API maps to the REST API.

The Deck API

The Deck API allows the user to interact with a subset of operations available to a deck of cards. Players may create a deck of varying size (i.e. with one or more full decks of cards,) draw from that deck, and discard into piles associated with that deck.

The REST API

The REST API allows users to interact with the underlying Python API as a service. Most of the Python API maps to a corresponding RESTful endpoint.

Installation

You can build this project from source with the following commands:

mkdir cards-api && cd cards-api
virtualenv env && . env/bin/activate
git clone https://github.com/bobbyrussell/deck-of-cards-api
cd deck-of-cards-api
pip install -r requirements/base.txt
bower install
python cards/manage.py syncdb
python cards/manage.py runserver

License

This code is licensed under the MIT License.

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.