|
1577
|
Special User Sections / N.A.N.Y. 2011 / Re: NANY 2011 Release: BlackJack
|
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...
|
|
|
|
|
1580
|
Special User Sections / N.A.N.Y. 2011 / Re: NANY 2011 Release: BlackJack
|
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: [attach=1] 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.
|
|
|
|
|
1581
|
Special User Sections / N.A.N.Y. 2011 / Re: NANY 2011 Release: BlackJack
|
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.
|
|
|
|
|
1584
|
Special User Sections / N.A.N.Y. 2011 / NANY 2011 Release: BlackJack
|
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[attachthumb=1] 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.
|
|
|
|
|
1587
|
Main Area and Open Discussion / Living Room / Re: The minimalist lifestyle. Anyone here successfully implemented it?
|
on: December 14, 2010, 11:56:41 AM
|
It's a bit more than skill though (and I know from wanting the same goal... at least to an extent). That's the discouraging part... that you can do it forever and still never have a break (just like acting and other entertainment arts). You have to have an audience, and that's daunting. Even authors who are now highly successful will generally admit to hundreds of rejected submissions before they achieved recognition. "I just don't know if I can handle that sort of rejection!" (spoken with the voice of Sheriff Woody from the first Buzz Lightyear movie). he market is glutted with tons of self-published technical e-books. About 30% are good. The remaining 70% are pitiful and have had the unfortunate effect of damaging the reputation of the entire tech e-book market.
So unless you can interest a publisher (Que, O'Reilly, SAMS, Wrox, Prentice-Hall, APress, etc.) to sign you on, it's going to be a tough sell to the consumer since they don't know you. Absolutely true! I can't tell you how frustrating it is to sift through the thousands of free eBooks (PDF, mobi, Kindle, etc.), only to discover that most of what you've downloaded is rubbish.
|
|
|
|
|
1590
|
Other Software / Developer's Corner / Re: T-Clock 2010 (beta - download)
|
on: December 13, 2010, 09:35:52 PM
|
Been following your progress on this thread, Stoic. I have to say it: I'm awed by you C++ gurus. I'm just now finally starting to understand events and delegates in C#. Tried delving into C++ a couple years ago, but was quickly overwhelmed and ran whimpering back into my C# Cave 
|
|
|
|
|
1591
|
Other Software / Developer's Corner / Re: How to program for all 3 platforms at once
|
on: December 13, 2010, 07:38:38 PM
|
|
Hmm, I have some background with QuickBASIC, so I think I could pick up RealBASIC pretty easily. Especially now that I have some OOP background with C#. I'm just wondering if the cost would be worth it, to me personally. It looks like you have to get at least the "Pro" version in order to be able to deploy to all three major platforms. Not sure I want to layout the cash right now. Carol, I'd be interested in hearing your impressions if you do pursue this avenue of development.
|
|
|
|
|
1595
|
Main Area and Open Discussion / Living Room / Re: Crime pays - and our governments love it.
|
on: December 13, 2010, 09:20:27 AM
|
|
Unfortunately, we're living in a time where accountability is selectively rather than universally enforced. I myself am held accountable at my place of work, but our CEO is protected by the corrupt chairman of the board. Same thing in government. The little guy gets the shaft, but wherever accountability would adversely affect the truly wealthy or politically powerful, it is conveniently subverted.
|
|
|
|
|