Excel Blackjack
Description
This program was written by Carlos Rondão.
The good news for us VBA geeks is that this game's modules are open for inspection. The bad news for those of us who are not literate in Portugese is that this may not lead to much understanding. If you want to learn how to use cards in your own Excel games endeavors, you should see his tutorial at Cyberbolsa (look under Conteudos:downloads). With the help of Babelfish, I think I have got some understanding.
Basically, the program makes use of Excel VBA's ability to manipulate pictures in order to define and manipulate the cards. Carlos inserted the 52 pictures and named them in order as C 1, C 2, ..., C 52. Using Modulo 13 arithmetic you can assign the proper value and suit to each card in the VBA code. The VBA can then treat the deck as a 52 element array, and pull up the correct picture by reference. Pretty simple, really, aside from the painful part of setting up the pictures initially.
Comments
Have comments about this program? Leave them below!
Previous Comments:
dan: great.
dan: great.
aaaaaaaaa: aaaaaaaaaaaaaaaaaaaaaaaaa
mutombo: exelent
h: hhhhhhhhhhhhoooiijjjjjjjjjjjjjjj
BOB: I'am your BOB
MILF: Je moeder slikt mijn bananensap en ze is geil!!
nietleuk: nietleuk is dit meer
wessel is een homo: wessel is een homo
kas: XDkklaaaaaaaiers je moeder is een kkhoer
wessel (L) wiet: wessel (L)(L)(L)(L) wiet
wessel: jaaaaaa
wessel: jaaaaaa
wessel: jaaaaaa
wessel: jaaaaaa
wessel: jaaaaaa
wessel: jaaaaaa
wessel: jaaaaaa
wessel: jaaaaaa
wessel: jaaaaaa
wessel: jaaaaaa
wessel: jaaaaaa
wessel: jaaaaaa
wessel: jaaaaaa
wessel: jaaaaaa
wessel: jaaaaaa
wessel: jaaaaaa
wessel: jaaaaaa
wessel: jaaaaaa
Jorn: wat dat we moeten stopppen?
Jorn: wat dat we moeten stopppen?
Jorn: wat dat we moeten stopppen?
Jorn: wat dat we moeten stopppen?
Jorn: wat dat we moeten stopppen?
Mvr. Den Ouden: Jorn je bent nu zwaar de pineut ik weet dat jij " kklaaier " bent. Dit soort dingen accepteer ik niet laat ik eens gezellig langskomen.. Tot zo !!
wessel: vind ik ook
wessel: vind ik ook
wessel: vind ik ook
wessel: vind ik ook
wessel: vind ik ook
wessel: vind ik ook
wessel: vind ik ook
anoniem: ze is bikkel
kklaaier: haha kkden ouden denk je dat je stoer ben
Jorn: er gebeurd niks !!
Sven: Oeh foktop
Kas: ee komop man doe is normaaal denk je egt dat dit stoer is ofzo
Wessel: ey stop met pesten het is niet fa2
Mvr. Den ouden: Jongens dit staat genoteerd, nu is het genoeg geweest ik ga meteen uitzoeken wie dit allemaal doen en een zware straf staat op zijn recht. Ik zou maar gauw stoppen want nu heb ik er echt genoeg van!! Zometeen kom ik naar nask de daders eruit plukken. je bent gewaarschuwd
jorn: doe normaal anders gaan ze terug lezen
God: jongens wees lief voor de wereld!
pik andijvie : wie wilt andijvie met lekkeren vulling:$
homo: Hahaahaaaa ej moeer is kklelijk ze heeft een dikke soa opgelopen door een muilezel van napoleon
twinkelwinkelstar: ik wil een toverstaf in me anusw
KV: Bel het maar!
Ilias : ik neuk elke dag me moeder met men voorbinddildo
Allah: allah akbar
Ilias: bel 06-34865720 voor birthday sex
kkjong: kkhoer!!
smoelajn: ik wil orgie met een aap en een joegoslaaf
anoniem: aii liliaan!!
Honest Bob: Hung: step 1 - learn programming. Samantha: don't pass other people's programs as yours. GOD: go back to playing halo you stupid lamer.
atul: hello
Hung: how do u create a game like this? i like to know the step by step?
Samantha: Can you give me the password because I'm painfully trying to do this for my computer programming class and I cannot do VBA
Kebbz: OP JE BEELDSCHERM 19 INCH LCD
Dennis: Iedereen van ES302C zuig me balluhhhh!!!!!!!!~
GOD: You all need to get a life and spend some money on some consoles games rather than these free crap games made by nerds
rnj: radioflyer, where do I send the e-mail. Your version sounds great.
radioflyer54: I have created a new version of this game - it includes the ability to split the hand, insurance, dealer takes a card on a soft seventeen, double down, surrender. All written in good clear English and well commented. I used this games ideas and cards (the cards look great!) - plus there is a new number of cards - 4 decks! so you can select to shuffle each time or let the dealer run through the deck for those that like to count cards. Send me an e-mail to get your copy! radioflyer54
R: Where is this tutorial, can't find it in Cyberbolsa.
vrom: <i>very much</i>
hax: <> awesome >
Dealer: Would be a much better game if you had the split and insurance offers.
WTF NOOB!!!: yea it was ok, good work
STFU NOOB!!!: i thought it was cool. end
adam: doesnt play
Matt F: Nice one mate
Kirk: Thanks for the downloads
test: I try to put my cards on the dealers pile but it does not cause him to lose
.
Excel is a registered trademarkof the Microsoft® Corporation.