Git Product home page Git Product logo

cards's Introduction

cards

A boring card library, written (initially) in C. Now comes in Swift, C++, Rust, Java, Objective-C, NodeJS, and Python.

Why?

Because I was bored.

What does it do?

It's a set of playing cards. You can build a game out of it.

Is it tested?

Hahahahahahaha

Can I make changes?

Sure, make a pull request. Add new languages. It'll be fun.

Why is it boring?

Because, it's not that interesting.

Really?

Yeah.

Requirements?

  • C: Not much, just a C compiler that supports C11.
  • C++: I use clang++. You can use any compiler you want that supports C++11, I guess.
  • Swift: Swift 4.1 compiler on macOS or Linux.
  • Rust: The Rust compiler
  • Java: Gradle, Java 8 JDK or newer
  • Objective-C: Xcode 9.3.1, builds for iOS, macOS, watchOS, and tvOS.
  • NodeJS: NodeJS v10.3
  • Python: Python 3.6

How do I build it?

For C / C++:

cd c
make

For Swift:

cd swift
swift build

For Rust:

cd rust
cargo build

For Java:

./gradlew build
./gradlew jar

For Objective-C:

xcodebuild -project Cards.xcodeproj -scheme Cards build
xcodebuild -project Cards.xcodeproj -scheme Cards test

For NodeJS:

npm install -g mocha
npm install
npm test

For Python: nobody builds Python.

License?

MIT, because you can do whatever you want.

cards's People

Contributors

jonjesbuzz avatar

Watchers

 avatar  avatar

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.