Wednesday
Aug042010
Silverlight Blackjack for Windows Phone 7

For no particular reason (perhaps because I’ve got lots of other, more important, things to do) I’ve been working on a version of Blackjack for Windows Phone 7. I’ve come across an interesting philosophical/moral problem.
At the moment my display has room for only five cards. If a player gets a lot of low cards then they can fall off the end of the screen. I can think of two ways to fix this.
- Spend some time re-arranging the display so that cards can overlap and I can fit up to 21 cards (the absolute limit given that you are playing with six decks in the shoe) on the screen.
- Make the fifth card you get always a king.


Reader Comments (4)
since you are tracking the score, it won't matter even if you get to 10+ cards in a deal and the overlap gets more and more intrusive on viewing the card.
I don't know if WP7 gives you scrolling views for free, but if it does that would be worth a shot, and something (as a user) I would consider clever on my shiny touchscreen device.