Giter VIP home page Giter VIP logo

Raj Rohit Yadav's Projects

drunk-card-game icon drunk-card-game

The festival season is here and you realise it's hard to play all those complicated card games when you're drunk. You decide to create a simple luck-based game for people to play when they have limited motor and sensory control. Basic Rules: - Use a standard deck of cards (no Joker). - Each player is dealt only three cards. - 'A' is considered to have a number value of 1. - 'A' is considered the top card in a face-off. So the order is A > K > Q > J > 10...2 Victory: - A trail (three cards of the same number) is the highest possible combination. - The next highest is a sequence (numbers in order, e.g., 4,5,6. A is considered to have a value of 1). - The next highest is a pair of cards (e.g.: two Kings or two 10s). - If all else fails, the top card (by number value wins). - If the top card has the same value, each of the tied players draws a single card from the deck until a winner is found. - Only the newly drawn cards are compared to decide a tie. The top card wins a tie. - For now the suit (spades/hearts etc...), does not matter. TODO: 1. Simulate a game between 4 players. 2. Randomly deal them cards from a deck. 3. Determine the winner.

react-native-userpic icon react-native-userpic

👩🏼 🧔🏻‍♂️ Display user avatars in React Native like a pro with support for Gravatar, user initials, unique colors, badges, statuses, and more.

selfie-capture icon selfie-capture

A simple responsive mobile website to take a selfie and upload on server

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.