Lukket

Indian Rummy card game sequence logic

Create Class name it as [url removed, login to view]

Input as Array

output as json

Hi you have to program to check input array has Pure/Sequence, Set/Sequence and Sets

1. Pure/Sequence means Same suit cards as 234 or 2345

2. Set/Sequence means Same suit cards with joker . ex: 9 as joker - 294 or 2945. So 9 can set as 3

3. Sets means Different suit same cards 7 ♣ 7 ♠ 7 ♥

Reference Rummy Game :

Played with 2 standard decks of cards (52 cards each) and 2 wild jokers (card jokers) i.e. a total of 106 cards.

Cards in each suit rank, from low to high: Ace 2 3 4 5 6 7 8 9 10 J Q K.

Where J, Q, K are face cards and Ace can be used as "1" or "Face" card.

Cards and values:

CARDS VALUES EXAMPLES

ACE 10 Points A (All symbols)

FACE 10 Points J Q K (All symbols)

OTHER Pip Value 2, 3, 4, 5, 6, 7, 8, 9 (All symbols)

Færdigheder: PHP

Se mere: game rummy, create name card, value json php, rummy logic, php json output, php output json, json input, json output, ace card game, logic rummy, joker, cards ace, logic set, create json php, json php array, card rummy, rummy card game, rummy game logic, set value array, logic rummy game, flash game rummy indian, card output, card game array, input output cards, indian rummy game

Om arbejdsgiveren:
( 0 bedømmelser ) Chidambaram, India

Projekt-ID: #6048642

2 freelancere byder i gennemsnit $185 for dette job

softwarepk

A proposal has not yet been provided

$315 USD in 5 dage
(7 bedømmelser)
4.1
johncurt

I believe I understand what you want. Can you clarify exactly what should be returned? I assume you want some verification data (true/false) for each of the 3 acceptable types and a value. Let me know if you are ready Mere

$55 USD in 3 dage
(2 bedømmelser)
2.4