Giter Site home page Giter Site logo

gobelote's People

Contributors

adi3000 avatar

Watchers

 avatar  avatar

gobelote's Issues

Implement trump functions

When two card are compared, be able to determine the strongest one on theses condition :

  • A normal card with a normal card
  • A normal card with a trump card
  • A trump card with a trump card

Implement a fold and the strongest card

First card determine the color
Next card are drawn
Compare and found the strongest card following :

  • if card is a trump, the strongest trump is strongest
  • if card is of the color of the first one, the strongest one of this color is the winner
  • if card is not of the color of the fold, this one is always less strong than first card

Play a card and a fold

First player play a card :
A card is out of is deck to join the fold
The Strongest card is the winner all card of the fold is join to is score deck
At the end of game (when no one has a card in end) each player score deck is computed

Drawing card

A player is able to cut with this rule
(Actual Time milisecond % 32) + 1

A seconde player is able to chose 3+2 or 2+3 draw
This set the order of giving card

After drawing the 20th card, propose the 21th card to the third player
For now the third player accept immediatly.

Then the second player give the next 2 cards, to the third player,
Then give 3 to 4th player 3 to 1st and 3 to 2nd

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.