damr- / rummy Goto Github PK
View Code? Open in Web Editor NEWRummy game simulator made with Unity
Home Page: https://damr-.github.io/rummy
License: MIT License
Rummy game simulator made with Unity
Home Page: https://damr-.github.io/rummy
License: MIT License
Figure out when finding sets/runs/duos which use some of the same cards is needed and when the found card packs should be unique.
**Example **
Having J♦Q♦Q♦ detects two duos J♦Q♦, each with a different Q♦.
Keeping both Q♦ on hand is unnecessary though, as long as they cannot be used elsewhere.
Add functionality to detect runs of any length including joker cards, but the latter may only start/end a run if its length is 3.
Then the separate detection of joker-card finished duo-runs can be removed.
Currently, cards which are laid down alone ("singles") are put at the first possible card spot.
There are scenarios (concerning runs) where this is not optimal and more thought should be put into this.
Example
The run J♠Q♠K♠ is laid down and there are a black Joker and a 9♠ on hand. Currently, the joker will always be added at the end of the run and the 9♠ cannot be used.
Example 2
The run J♠Q♠K♠ and the set 10♦10♣10♥ are laid down. A 10♠ and a 9♠ are on hand. Currently, there is no mechanism to detect that adding 9♠10♠ to the run is better than just finishing the set with the 10♠.
Possible solutions
Furthermore, single cards should prioritize card spots where they can replace a joker.
Player cannot have more than 13 cards, but after few moves player is grabbing some cards from other players cards instead of deck. When player draws cards from other player, it is also simultaneously drawing a card from Deck, as a result one player gets more than 13 cards in his hands and other player gets less than 13 cards in his hand.
Please fix this issue
I am currently converting this ai project into manual project. I haven't changed anything yet but I found out this bug. Please if you have any manual project for rummy please send it to me. It will be big help for me to learn this things.
Thank you in advance!
Waiting for your response...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.