Skip to content

A game of Black Jack that I created to practice OOP

Notifications You must be signed in to change notification settings

TylerIsCoding/Blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blackjack


This is a game that I built using HTML, CSS, and JavaScript and the OOP paradigm.

Link to website: Blackjack

How It's Made

Tech Used: HTML5, CSS3, JavaScript


I built this game with mainly JavaScript. I wanted to test my skills with OOP and create a card game from scratch.

  • HTML5 provided the structure and content for the website
  • CSS3 was used to style and layout the website
  • JavaScript was used to create the entirety of the game's code, AI, and some visuals.


Optimizations

Here are some ways that I could increase performance on the game:

I could have:

  • I did not know the deckofcards API even existed when I built this.
  • I did not know how to use an API when I started this project.
  • Fixed a few bugs that remain and it's not 100% responsive.


Lessons Learned

Building this game was a great learning experience and I took away several valuable lessons:

  • I created every part of this game, including the deck object, it's methods, and the AI.
  • I could have used the deckofcards API and made my job a lot easier. I might revisit this project at some point in the future.
  • This was when I was first learning OOP and it really made me appreciate not writing this with just functions.

About

A game of Black Jack that I created to practice OOP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published