Skip to content

johnnycopes/blackjack-old

Repository files navigation

This is an old version of this project and is no longer maintained. For the current version, please visit here.

Blackjack (OLD)

This is a traditional game of Blackjack (aka "21"). Features ability to bet, double down, and split up to two hands. Built with HTML, SCSS, and TypeScript.

This project has enjoyed a long life of growth and refactoring:

  • November 2016: Originally wrote the app in a functional programming style and then refactored it in an OO style
  • September 2017: Refactored to include Webpack, ES2015 features, and CSS Grid
  • March 2018: Converted the JavaScript to TypeScript

Goals of this project:

  • Write everything in TS with no framework
  • Set up a custom Webpack configuration to load all files and assets
  • Make a layout that leverages CSS Grid
  • Deploy a lightweight production build (lots of images to load!)

Local installation:

To run this locally on your machine, simply clone the repo and enter the following commands into your CLI:

npm install
npm run start

Credits

About

The classic card game in your browser ♠️

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published