This is an old version of this project and is no longer maintained. For the current version, please visit here.
Live site: https://cool-blackjack.surge.sh/
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
- 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!)
To run this locally on your machine, simply clone the repo and enter the following commands into your CLI:
npm install
npm run start
- Cards from openclipart
- Ace and 10 made by nicubunu
- Face cards made by mariotomo