More fun with the YUI
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
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 ![]()







