|
kyrathaba
|
 |
« on: December 18, 2010, 03:14:52 PM » |
|
| Application Name | BlackJack | | Version | 1.1 | | Short Description | my implementation of the classic Black Jack card game | | Supported OSes | Windows XP forward | | Download Link | A link to the game executable (no setup) {won't function if you don't have .NET Framework 4.0 installed} (~117 Kb) | | Setup File | A link to the Setup program {will check for absence of .NET Framework 4.0 and download if needed} (419 Kb) | | System Requirements | | DescriptionThis was a project I did for C# Programming SchoolDestined to replace those oh-too-flashy Black Jack derivatives that have come out over the years, this minimalist implementation is a breath of fresh air! -- PC Magazine.
What! This program is FREE!?? A crime, that's what it is! Someone slap the developer around until he starts showing some sense and charging for this gem of genius! -- GamasutraFeatures+ a smart-ass card Dealer + a functional card Class in the source code + ability to place bets of differing amounts based upon the first card you're dealt + intuitive GUI + source code: download linkPlanned Features+ I may add option for Vegas casino music + May add option to change starting Max cash available to player + Add ability to whip out a pistol and waste the smart-ass Dealer + An option for the Dealer to cheat by using a marked deck of playing cards. I would appreciate suggestions for future features of the program. Screenshots UsageInstallationDownload and run the Setup installer. Alternatively, download the ZIP file and extract BlackJack.exe wherever you wish. Keep the directory structure intact when unzipping. Run the program. Using the ApplicationThe GUI is super-intuitive. UninstallationUse the uninstall Program Files menuitem; or, if you didn't use the setup installer, just delete the extracted file. No registry entries or INI files are written by the Black Jack program itself. Known IssuesNone.
|
|
|
|
« Last Edit: March 23, 2013, 12:09:24 PM by kyrathaba »
|
Logged
|
Win 7 Home Premium 64bit-SP1 AMD Athlon II X2 220 Socket AM3 (938) @ 2.1GHz 6GB RAM Firefox 20.0 _________________________________________________________________________________________ I'm fighting against patent trolls. Join me and tell your representative to support the #SHIELDAct: https://eff.org/r.b6JJ /via @EFF http://kyrathaba.dcmembers.com/donate.htm
|
|
|
|
Shades
|
 |
« Reply #1 on: December 18, 2010, 04:32:19 PM » |
|
Unfortunately the minimal NET 2.0 requirement is false (on my XP SPIII), the minimal requirement appears to be NET 4.0.
Come to think of it...when you include a attachment to a reply on a post here in DC, there is a counter that says how many times the attachment is downloaded. I believe that was one of your questions in IRC. If there is code like that for the forum post replies, then I assume it can be used for an attachment in the original post as well.
|
|
|
|
|
Logged
|
|
|
|
|
kyrathaba
|
 |
« Reply #2 on: December 18, 2010, 04:34:27 PM » |
|
Thanks, Shades, I fixed the entry under "requirements".
|
|
|
|
|
Logged
|
Win 7 Home Premium 64bit-SP1 AMD Athlon II X2 220 Socket AM3 (938) @ 2.1GHz 6GB RAM Firefox 20.0 _________________________________________________________________________________________ I'm fighting against patent trolls. Join me and tell your representative to support the #SHIELDAct: https://eff.org/r.b6JJ /via @EFF http://kyrathaba.dcmembers.com/donate.htm
|
|
|
|
|
mouser
|
 |
« Reply #3 on: December 18, 2010, 04:50:42 PM » |
|
|
|
|
|
« Last Edit: December 18, 2010, 05:52:52 PM by mouser »
|
Logged
|
|
|
|
|
kyrathaba
|
 |
« Reply #4 on: December 18, 2010, 05:17:54 PM » |
|
My pleasure to provide source code. I may use this project to do a series of C# web-lessons, showing the incremental development of the project, from start to completed app.
Mouser, I carefully went through the source code, and refactored. If you look at my latest post under Assignment 5, you'll see a summary of changes I've made.
|
|
|
|
« Last Edit: December 18, 2010, 09:10:03 PM by kyrathaba »
|
Logged
|
Win 7 Home Premium 64bit-SP1 AMD Athlon II X2 220 Socket AM3 (938) @ 2.1GHz 6GB RAM Firefox 20.0 _________________________________________________________________________________________ I'm fighting against patent trolls. Join me and tell your representative to support the #SHIELDAct: https://eff.org/r.b6JJ /via @EFF http://kyrathaba.dcmembers.com/donate.htm
|
|
|
|
kyrathaba
|
 |
« Reply #5 on: December 18, 2010, 05:20:25 PM » |
|
C# coders can play with it and adapt it The included Card class is quite useful. It'll work with any game that uses the standard 52-card deck of playing cards, and could easily be adapted to other card games. The class can take any size canvas image of 52 playing cards (so long as they're in the same arrangement as the one included as a project resource) and will correctly crop out individual cards. However, I'd recommend that you err on the side of larger images. You can use the "Zoom" SizeMode property for your PictureBoxes, and they'll make a larger image look pretty good, even in a smaller PictureBox; however, trying to "Zoom" small images "up" to fit larger PictureBox width x height doesn't yield such good results. The best practice is to make your PictureBoxes the exact dimensions that each cropped-out individual card will be. In my app, this was 119x100, or something close to that. Here's the canvas pic I used:  P.S. I'm using Chrome (but downloading IE9 as I type). Is Chrome responsible for inserting question marks into my posts? Or is this some glitch from the migration? Been noticing this behavior all day.
|
|
|
|
« Last Edit: December 18, 2010, 06:03:54 PM by kyrathaba »
|
Logged
|
Win 7 Home Premium 64bit-SP1 AMD Athlon II X2 220 Socket AM3 (938) @ 2.1GHz 6GB RAM Firefox 20.0 _________________________________________________________________________________________ I'm fighting against patent trolls. Join me and tell your representative to support the #SHIELDAct: https://eff.org/r.b6JJ /via @EFF http://kyrathaba.dcmembers.com/donate.htm
|
|
|
|
worstje
|
 |
« Reply #6 on: December 18, 2010, 05:49:28 PM » |
|
P.S. I'm using Chrome (but downloading IE9 as I type). Is Chrome responsible for inserting question marks into my posts? Or is this some glitch from the migration? Been noticing this behavior all day.
I only see question marks at the end of your questions.  Which I hope is intentional.
|
|
|
|
|
Logged
|
|
|
|
|
mouser
|
 |
« Reply #7 on: December 18, 2010, 05:52:08 PM » |
|
oh damn it's happening to me too in some of my posts above.. what's going on i wonder.
|
|
|
|
|
Logged
|
|
|
|
|
kyrathaba
|
 |
« Reply #8 on: December 18, 2010, 06:01:17 PM » |
|
I've installed and started using IE9, and the behavior went away, but I was getting it in both Chrome and FF, seemingly when I'd use Alt-S to post, instead of clicking the Post button. But I'm using Alt-S to post this...
|
|
|
|
|
Logged
|
Win 7 Home Premium 64bit-SP1 AMD Athlon II X2 220 Socket AM3 (938) @ 2.1GHz 6GB RAM Firefox 20.0 _________________________________________________________________________________________ I'm fighting against patent trolls. Join me and tell your representative to support the #SHIELDAct: https://eff.org/r.b6JJ /via @EFF http://kyrathaba.dcmembers.com/donate.htm
|
|
|
|
kyrathaba
|
 |
« Reply #9 on: December 18, 2010, 06:01:43 PM » |
|
...and as you can see, no funky ??? insertion (this post also posted using Alt-S.
|
|
|
|
|
Logged
|
Win 7 Home Premium 64bit-SP1 AMD Athlon II X2 220 Socket AM3 (938) @ 2.1GHz 6GB RAM Firefox 20.0 _________________________________________________________________________________________ I'm fighting against patent trolls. Join me and tell your representative to support the #SHIELDAct: https://eff.org/r.b6JJ /via @EFF http://kyrathaba.dcmembers.com/donate.htm
|
|
|
|
kyrathaba
|
 |
« Reply #10 on: December 18, 2010, 06:02:24 PM » |
|
BTW, the three question marks above were intentional 
|
|
|
|
|
Logged
|
Win 7 Home Premium 64bit-SP1 AMD Athlon II X2 220 Socket AM3 (938) @ 2.1GHz 6GB RAM Firefox 20.0 _________________________________________________________________________________________ I'm fighting against patent trolls. Join me and tell your representative to support the #SHIELDAct: https://eff.org/r.b6JJ /via @EFF http://kyrathaba.dcmembers.com/donate.htm
|
|
|
|
worstje
|
 |
« Reply #11 on: December 18, 2010, 07:12:28 PM » |
|
Ok, I figured it out a bit. Something about the edit functionality messes stuff up when saving the post and turns it into questionmark walhalla. 
|
|
|
|
|
Logged
|
|
|
|
|
kyrathaba
|
 |
« Reply #12 on: December 18, 2010, 08:45:05 PM » |
|
Here's some of those mysteriously appearing question marks: 
|
|
|
|
« Last Edit: December 18, 2010, 08:47:23 PM by kyrathaba »
|
Logged
|
Win 7 Home Premium 64bit-SP1 AMD Athlon II X2 220 Socket AM3 (938) @ 2.1GHz 6GB RAM Firefox 20.0 _________________________________________________________________________________________ I'm fighting against patent trolls. Join me and tell your representative to support the #SHIELDAct: https://eff.org/r.b6JJ /via @EFF http://kyrathaba.dcmembers.com/donate.htm
|
|
|
|
kyrathaba
|
 |
« Reply #13 on: December 20, 2010, 09:31:36 AM » |
|
Note: I've amended the OP to include not only a download link for the barebones executable, but also one for an Inno Setup.
I've tested the setup on my Win7 Home Premium system, but would appreciate testing and feedback here, from XP and Vista users.
The Setup installs the additional feature of an About menu containing some explanation of the program, and a link to my DC page.
Tonight, I will update the no-install link target so that it also includes this functionality.
|
|
|
|
« Last Edit: December 20, 2010, 09:39:33 AM by kyrathaba »
|
Logged
|
Win 7 Home Premium 64bit-SP1 AMD Athlon II X2 220 Socket AM3 (938) @ 2.1GHz 6GB RAM Firefox 20.0 _________________________________________________________________________________________ I'm fighting against patent trolls. Join me and tell your representative to support the #SHIELDAct: https://eff.org/r.b6JJ /via @EFF http://kyrathaba.dcmembers.com/donate.htm
|
|
|
|
kyrathaba
|
 |
« Reply #14 on: December 20, 2010, 04:59:32 PM » |
|
The links in the OP table have been updated to point to both Inno Setup installer, and raw executable for manual install, for version 1.1 of my BlackJack application. Please report any installation problems. The installer works great on the WinXP and Win7 computers I've tested it on here at home.
|
|
|
|
|
Logged
|
Win 7 Home Premium 64bit-SP1 AMD Athlon II X2 220 Socket AM3 (938) @ 2.1GHz 6GB RAM Firefox 20.0 _________________________________________________________________________________________ I'm fighting against patent trolls. Join me and tell your representative to support the #SHIELDAct: https://eff.org/r.b6JJ /via @EFF http://kyrathaba.dcmembers.com/donate.htm
|
|
|
|
kyrathaba
|
 |
« Reply #15 on: December 22, 2010, 10:53:04 AM » |
|
Tested the setup program on my dad's old WinXP Home laptop. Worked well.
|
|
|
|
|
Logged
|
Win 7 Home Premium 64bit-SP1 AMD Athlon II X2 220 Socket AM3 (938) @ 2.1GHz 6GB RAM Firefox 20.0 _________________________________________________________________________________________ I'm fighting against patent trolls. Join me and tell your representative to support the #SHIELDAct: https://eff.org/r.b6JJ /via @EFF http://kyrathaba.dcmembers.com/donate.htm
|
|
|
|