gobelote's People
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
Create Card and make them comparable
Without considering Trumps cards and color on table declare all belote cards and be able to compare them
Associate score for each card and count point for a stack of card
Giving a certain number of card be able to set the score issued from those 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.