More fun with the YUI
Date: Tue Aug 15 2006 03:49:57 GMT-0500 (CDT)
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-)
blog comments powered by Disqus