Build a small Game with Ruby on rails

Chiuso Pubblicato 5 anni fa Pagato alla consegna
Chiuso Pagato alla consegna

Implement a fairly simplified version of the black jack game.

Players-:

- Dealer (System)

- 1 Player

Components-:

6 card decks (52*6 = 312 cards)

Point System-:

Number cards (2 to 10) has a point value equal to the number on the card

Ace -> 11 points

Jack/Queen/King -> 10 points

Game and Terminology-:

The player plays the game against the dealer (system)

Aim of the player and the dealer is to get the maximum score <= 21

A score of exactly 21 is called Black Jack

A score of > 21 is bust

Cards are chosen randomly from all 6 decks

Start-:

1. Player places a bet for any amount

2. Dealer give two random cards to the player and 1 card to himself. All cards are visible

to everyone

3. If the player gets a score of 21, let us call this black jack (e.g. Ace + Jack), the

player wins. If the score is greater than 21, the player loses. If the score is less than 21, move to step 4.

4. Player makes a decision

a. Hit - If the player chooses hit, the dealer will deal another card to the player, go back to Step 3

b. Stand - No more card to be dealt to the player, Move to step 5

5. Now the dealer will deal another card to himself. If the dealer gets a score of 21, the

dealer wins. If the dealer crosses 21 (bust), player wins. If the score is <=16 repeat Step 5 (i.e. deal another card). If the score is >= 17 go to step 6

6. Compare the scores of the player and the dealer, whoever has a greater score wins

Algoritmo JavaScript Ruby Ruby on Rails

Rif. progetto: #16687730

Info sul progetto

7 proposte Progetto a distanza Attivo 5 anni fa

7 freelance hanno fatto un'offerta media di ₹3229 per questo lavoro

ankitsingh8447

Hey there this is Ankit and I am a web and game developer from Delhi/NCR. As you have described you need a simple Black Jack game using Ruby on Rails. I can do this as I have knowledge of Ruby with javascrit. So I can Altro

₹1300 INR in 1 giorno
(0 valutazioni)
0.0
typemasterflash

I have built a few different card games with Ruby (Blackjack, Poker, Go Fish, and Spider Solitaire) in the past so this project should be quite simple for me I believe. I understand the needs of the project in terms Altro

₹1250 INR in 3 giorni
(0 valutazioni)
0.0
Manishh94

A proposal has not yet been provided

₹1050 INR in 2 giorni
(0 valutazioni)
0.0