Fork me on GitHub

Davs Rants and Random Thoughts

More fun with the YUI

August 15th, 2006

I got this crazy idea over the weekend & thought it would be kewl to write a game with the YUI libraries.

First I started by trying to write a Solitaire game, but then I decided that it would be better to start smaller 8-)

So I threw together this simple version of BlackJack.

The important part of this set of code is not the code logic, but the DeckOfCards JS Object that I create & use.

The logic is “OK”, I didn’t put in the rule for an Ace being worth either 1 point or 11 points.

Next I want to try Poker 8-)

Leave a Reply

© 2010 Dav Glass - All content is mine, except comments. Comments are the property of the poster. I speak for no person or company.
Can you tell me what this says? 01000100 01100001 01110110 01101001 01100100 00100000 01000111 01101100 01100001 01110011 01110011