Home
|
Web Projects
|
Art Projects
|
Resumé
|
About


Portfolio
Javascript Animation Blackjack Trainer CSC Website Photo Album Flash Game
Dynamic Bar Graph My Computer Web Survey PHP Quiz FHS2000.COM



Developed For: Myself & Others to Practice Completed In: 2 weeks
Technologies: PHP Website Link: click here

Well let me first start by saying that I like to visit Las Vegas. It isn't because of the gambling - although that is part of it, but I enjoy it so much because it seems to be such a different lifestyle than the regular, everyday life. Everything is flashy (lights, people, and the atomosphere of the casinos), everything is fast-paced (the exchange of money to all the attractions that you have to see) that is almost seems like a different world; a world where you can try to live as someone you aren't. I think it is nice to pretend to be someone you aren't sometimes, I mean isn't that what acting is all about?

Ok, enough about Las Vegas - let's talk about the Blackjack Trainer. Since I visit Las Vegas often and like to play Blackjack a lot, I knew that one way to become better at Blackjack would be to memorize the basic strategy table which tells you the best initial move to make once the cards have been dealt. Being that I am a visual learner, I knew that the best way for me to learn something like this would be to see it in front of me instead of just memorizing a table. Therefore, I created the Blackjack Trainer website in order to help myself and anyone else who had access to the web to become better at Blackjack.

Like I said before, this project wasn't intended to show you how to play your entire hand, just to help you with your initial move. One of the reasons I wanted it to do that was because I wanted to keep the trainer pretty simple to code up - the more complex the trainer, the more complex the code would be. I basically just took a table I found on another website, and wrote lots of IF THEN ELSE statements that followed the table depending on what cards you had and what the dealers up card was.

After writing and testing all the code basic strategy table, I wanted to go a little further and be able to practice on certain hands - Hard Count, Soft Count, and Pairs. So I added that functionality to the trainer where the user can choose if they want to practice everything, a mixture of Soft Counts and Pairs, or just Pairs by themselves.

In the end, the trainer was a success in that it did help me memorize the strategy table and what the best move was in each situation. I hope you enjoy it and use it too.


Valid HTML 4.01! Valid CSS!