Euchre Laboratory | ||||||||||||
|
Okay, this is kind of embarrassing but since you asked, here goes. I'd had quite a bit of experience coding business applications with Java and thought it would be fun to try my hand at game programming in my off hours. Since euchre is something I enjoy (ok, I'm obsessed) I decided to write a euchre game. I started architecting the program and even wrote enough code to make sure I could display the card images on the screen. I had most of it worked out in my mind and then I started thinking about the part of the program that would play the other 3 hands. All of the sudden it occurred to me that I was going to have to come up with logic that would make the computer a better euchre player than I am. <gulp>. So let's get this straight. I'm going to write the most challenging program of my life in my "off" hours? I don't think so. Yeah that's right. I chickened out. I still had the bug, however, and wanted to figure out and code the rest of the program, so I switched gears. What you see is a reasonable compromise. There's code in the program that would still support a decision matrix so a full blown game is not out of the question but I've yet to receive adequate inspiration to tackle the challenge. In the mean time, if you have a use for what I've written to date, have at it. Gerry Blue |