The objective of the summer assignment was to create a blackjack game which included animations. You were required to use html, css, jquery and javascript. This summer assignment was difficult for me because it was different to anything we had done last year in class.
I tackled the summer assignment as best as I could. I didn’t know everything I needed right from the start and I used a variety of resources to figure out how to solve what I needed to do. I also used API’s that I found for my images and animations. I organized the code as best as I could and made it as simple as I could. The development overall was challenging.
A couple of functions I needed to make were what happens when the player wins, loses, or ties. If the player wins the dealer loses 10 dollars and the player makes 10 dollars, if the player loses the dealer makes or wins 10 dollars and the player loses 10 dollar and if they tie nobody makes or loses any money.
The Easy Thing was making the basic html things like the basic webpage. The buttons, the spans, divs, lists and the basic css. The other easy thing was to make the variables. I thought it was easy because the basic html and css things are easy to do and I know those very well. The Hard Thing was to make all the functions and it was especially hard to make the part that the ace is 1 or 11. It was also hard to make the animations.
If I could still improve something is to make that the player cannot have negative money so when he has 0 dollars, the stand, hit and new game buttons are disabled and he has to refresh the page or ultimately it would be good if the page refreshes by itself.