Code Monkey home page Code Monkey logo

ruby-baccarat's Introduction

Baccarat!

Baccarat is a CLI card game based in Ruby. The user can play games of and bet on who will win each game. The goal of Baccarat is to bet on an outcome between the banker/dealer and a figurative "player". You may bet on either the banker hand, player hand, or you may bet on a tie.

The user can create a user account, login with their account, and delete their account. Every user is created with a default amount of money. The user can view their current balance, their win percentage and amount of games, and the banker they played with the most. The user can also delete thier past game results and start fresh. If the user loses all their money, they can cheat and deposit more money!


Install Instructions

To install: Clone this repo down to your local machine and run bundle install.

Run rake db:migrate to initialize the databases

Run rake db:seed to initialize default bankers

You're ready to play!

Acknowledgements

Gems: ArtII https://github.com/miketierney/artii

Deck-Of-Card https://github.com/Havenwood/deck-of-cards

TTY-Prompt https://github.com/piotrmurach/tty-prompt

ruby-baccarat's People

Contributors

j-armah avatar adnapp avatar hysan avatar lizbur10 avatar maxwellbenton avatar thuyanduong-flatiron avatar ihollander avatar rrcobb avatar sylwiavargas avatar dependabot[bot] avatar notnotdrew avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.