Jquery/php Blackjack

Note: This is not for a real cash casino game, just a fun blackjack game to include into a game site. If you do not how the game of blackjack works. Please do not bid on this project.

For more information on blackjack, visit:
http://casinogambling.about.com/od/blackjack/a/Blackjack101.htm

A starting balance is available through a stored sql value and is passed to the page (can be as simple as <? echo $credits; ?>. This stored sql amount is their total account credits (this is already in place on the site).

When the deposit/withdraw button is pressed the user is able to deposit up to the maximum account credits (but no more than their total available credits in their account) into the game via a layered window (thickbox?). The user can then select the increments they want to play by clicking on a chip. Chips should be 5, 10, 25, and 50. When a chip is clicked, that chip amount is show in the bet area. Multiple chips can be played up to the deposited amount available. As an option, the player can click on a chip in the bet area and the chip is removed from the bet area. A “Repeat Bet” button can be clicked to replicate the prior amount wagered. A “Clear Bet” button can also be clicked that will remove all of the chips in the bet area, setting the bet to 0. The player should also be able to click a “Cash Out” button that will allow for them to withdraw credits deposited to their account balance.

A “Double Down” button should be activated only when the first two player card equal 9, 10, or 11. A split option should be activated on when two of the same value of card is originally dealt (two Kings, two 6s, not a King and a Jack). When splitting two Aces, only one card is dealt to each Ace. A player can split up to 4 times. A player can double down on a split unless the slit cards are Aces since they are only dealt one card per Ace.

If the player wins or loses, a sound alerting them of either the win or the loss should be triggered.

Within the game, there will be an image area. The image given will be a place holder. The game will need to trigger an alert(“Third win”) every three total wins (2 wins in a row, then 1 loss, then 2 more wins = 3 total wins). The game will also need to trigger a separate alert(“Third loss”) every three total losses (2 wins, then 4 losses, 1 win, then 2 losses = 3 total losses). I will need these alerts to be separate because I will later be inserting JQuery code to trigger image rotation via another script (you don’t need to worry about creating this). After 30 total wins, a separate alert(“30 Wins”) will need to be triggered.

Also, every 25 to 50 hands (rand(25,50);) a special javascript should be triggered. alert(’25th hand’). I will change the alerts to a custom function after the game is complete.

We are already using PHP and JQuery on the site and would prefer for this game to utilize the same technology (PHP is a must). Additionally, we are also using the Thickbox JS on other pages, so this can be used at your disposal. For the sounds, I will supply the sounds for each type of win, as well as the sound for when the slot reels spin.

Payment:
We issue payment via escrow account and funds will only be released in full after project is completed. This job will be considered complete after:
* Game is demonstrated to be fully functioning and error free. A three day testing period will take place. This can be on your server if you want.
* Graphics are at least equal to the supplied sample image supplied in this post.
* Game is uploaded to our server and is successfully running and error free. Two day testing period.
* Payment will be made promptly after the second day of testing on our server.

We understand that projects can sometimes take longer than expected. Therefore, we will allow for the project time to run 7 days past the quoted delivery time. After 7 days, we will consider the project to be undelivered and will request a refund of the escrow funds and will repost this job.

Leave a Reply

Your email address will not be published. Required fields are marked *