GithubHelp home page GithubHelp logo

react-blackjack's Introduction

React BlackJack

Live Heroku Link

React BlackJack

A BlackJack card game built with React.js and Redux. We set up unit testing using Mocha, Chai, & Enzyme. A user must sign up to enter the blackjack room. When a user signs up, the user's credentials are securely stored in the MongoDB database with password encryption. User authentication is set up to ensure successful login for each user session, which is maintained with Passport. The blackjack player's record is established after playing, and is saved in the database as well.

Commands

  • cd client && npm install -> installs react app dependencies
  • cd client && npm start -> performs webpack build & hosts react app
  • cd client && npm test -> runs mocha, chai, enzyme unit tests
  • cd client && npm webpack -> performs webpack build, creating bundle.js
  • cd server && npm install -> installs back-end dependencies
  • cd server && node/nodemon start -> runs server for home page

Tasks

  • Set up entire blackjack game with React.js
  • Finish styling blackjack "room"
  • Create home page & styling
  • Create Sign-Up/Log-In Forms
  • Set up server.js file
  • Set up MongoDB schema and connection
  • Set up user authentication, mongoose middleware & sessions with Passport
  • Deploy to Heroku
  • Add Log Out Button
  • Add styling to game over component
  • Add React component for betting chips and maintain player's chip total
  • Add encryption to User's credentials in MongoDB
  • Add delay to dealer's card dealing
  • Maintain user's chip total even when logging out
  • Add modal when entering blackjack room, to ask player how many chips he/she wishes to buy
  • Final Task -> Use web sockets to add multiple players in room

Contributors

Patrick Loughrey, Andrew Federowicz, Tony Carnese

react-blackjack's People

Stargazers

Alan Chu avatar

Watchers

James Cloos avatar Patrick Loughrey avatar

Forkers

afederowicz

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.