Skip to content

abhiQmar/blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlackJack

This is a simple Rails application where you can play blackJack with the dealer(SYSTEM).

All game’s data is stored in cards table in the database. Only the dealt cards are stored in database.

The class Game handles all the logic in the game. From player’s and dealer’s score to deciding who is the winner.

There are three API end-points:

  1. index (to start the game)

  2. hit (blackjack move)

  3. stand (blackjack move)

About

A simple blackjack game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published