Report as inappropriate.
Well, I hadn't made a complete game in a while so I decided to take the cards demo I posted a bit earlier and make a fully fledged card game with it. The result - solitaire!
There's many different variations of this game, this is quite an easy one. You draw one card from the deck at a time (often it's a case of drawing three cards) and you can start piles of cards off with any value (sometimes it's just a king.) If you do want to be a bit tougher, you can change the relevant global variable in the Piles class so you can only put kings down on blank piles!
Apart from that, it's the usual rules. Build up stacks of cards going down in alternating colour at the bottom, and win by building each suit up individually (aces first) at the top.
- Sound added
- Performance should be a bit better
- Can now add cards onto stacks by double clicking
To embed this scenario in a web page, copy the following HTML code:
Want to leave a comment? You must first log in.