
This sample application implements the card game called "Blackjack". It's
a good example of how to define and use user-defined functions. It's
also a prime example of how you use a cookie to maintain state information
between multiple invocations of the same page by the same user.
NOTE: This example uses cookies and requires a graphical browser.
You may copy and modify this code as you see fit.
Click here to play Blackjack!
Click here to view the source code.
|