euchre

I wrote a euchre game about a year ago, my first game, and haven't done any work on it since then (been too busy). Please try it and let me know what you think. I'll post the source in a day or so if anyone's interested. It's set up so that the basic 'evaluator' class is abstract, so anyone can write their own ai for the game. Then, the new evaluator can be added to be used by the game from the 'new game' menu option. There are still some bugs and the bidding interface, while working, is in an unfinished state. It's supposed to be network ready, but I didn't get around to finishing that part (I only had a couple days to write it in). There are two jar files:

http://www.geocities.com/java_lynx2001/euchre.jar

http://www.geocities.com/java_lynx2001/euchreres.jar

The euchreres.jar is about 400k and contains all the card images. They probably could have been made smaller, but it should only be a one time download. euchre.jar is ~75k, and is an executable jar. I wrote it for 1.3.1 and it seems to lock on 1.4, although it works great on 1.3.1,so I don't recommend using 1.4 ;)

m

[1130 byte] By [wywiwyg] at [2007-9-27 18:23:21]
# 1
Is no one here interested in euchre? Did I manage to find somewhere where there aren't euchre fanatics?!? How strange my misfortune..... Or, is it something else.....m
wywiwyg at 2007-7-6 18:56:36 > top of Java-index,Other Topics,Java Game Development...
# 2
it helps if you put working links :p
Abuse at 2007-7-6 18:56:36 > top of Java-index,Other Topics,Java Game Development...
# 3
Ahh... They are working links, but it's not an applet. So the jars need to be downloaded, then run. euchre.jar is an executable jar, and both jars need to be downloaded. I guess I wasn't very clear in my original post. Sorry about the confusion.m
wywiwyg at 2007-7-6 18:56:36 > top of Java-index,Other Topics,Java Game Development...
# 4

Also, there are three different levels of ability for the ai. So, some players are worse than others. The players also adapt over time and become more conservative or cocky depending on how the play goes. If you find it too easy, try the players nearer the bottom of the combo, or create some of your own.

m

wywiwyg at 2007-7-6 18:56:36 > top of Java-index,Other Topics,Java Game Development...
# 5
the links do not work....
Seekely at 2007-7-6 18:56:36 > top of Java-index,Other Topics,Java Game Development...
# 6
That is very strange. When I click on them, they work..... How about this? http://www.geocities.com/java_lynx2001/euchre.htmlI don't understand why they don't work for you two. I've tried it with Mozilla, NS, and IE. What sort of message do you get?
wywiwyg at 2007-7-6 18:56:36 > top of Java-index,Other Topics,Java Game Development...
# 7
i tried them both...euchre.jar threw an NullPointerExceptionand euchreres threw a java.lang.NoClassDefFoundErrorsorry :-(
Seekely at 2007-7-6 18:56:36 > top of Java-index,Other Topics,Java Game Development...
# 8

Nice game, though i dont kno whow to play. I havent read the rules yet.

But I found a bug inside the game. There seems to be a check, if I play the right card, anbd if i dont, there is a Renege Check message or so.

If this appears, the game hangs. I checked the console, there are no messages.

Christian.

Cdomsch at 2007-7-6 18:56:36 > top of Java-index,Other Topics,Java Game Development...
# 9
Cdomsch: Are you using 1.4? There are locking problems with it that don't exist with 1.3.1. Seekely: Both jars need each other. If they are in the same directory, you should be able to run it from the command line with:java -jar ./euchre.jarm
wywiwyg at 2007-7-6 18:56:36 > top of Java-index,Other Topics,Java Game Development...
# 10

ps: I didn't write the rules. I grabbed them from a euchre web site. My recollection is that they are about 95% the way I play euchre (therefore the way the program works). There may be some slight differences. There are so many variations..... Note: under preferences, most of the rule changes don't work. I didn't get around to finishing them..... Need to work on it when Ihave time

Thanks,

m

wywiwyg at 2007-7-6 18:56:36 > top of Java-index,Other Topics,Java Game Development...
# 11
Yes, I am using 1.4
Cdomsch at 2007-7-6 18:56:36 > top of Java-index,Other Topics,Java Game Development...
# 12
Someday I'll try to figure out how to make it work with 1.4, but I unfortunately just don't have the time right now.Thanks for looking at it though. If you do end up trying it with 1.3.1, please let me know what you think.Thanks,m
wywiwyg at 2007-7-6 18:56:36 > top of Java-index,Other Topics,Java Game Development...
# 13

I am a Euchre fanatic and play often (either online, face-to-face or versus computer).

I, too, have not been able to get any of your links to work. I look forward to playing your game and being able to review the source code. I've been wanting to write my own game since I am very disappointed with Bicycle Euchre (idiotic AI).

Troy

PanzersEast at 2007-7-6 18:56:36 > top of Java-index,Other Topics,Java Game Development...
# 14

Anyone interested in the game, I'll put the link back up ASAP. Please keep in mind that you should use 1.3.1 to run it and avoid the deadlock problem. One of the things I was going to do was to change the UI a bit, which I'm pretty sure would solve the deadlock problem (I'm using modal dialogs for some of it), but I jsut haven't had time. I'll try to put the links up by the weekend for whoever is interested.

Thanks,

m

ps: If you don't like my ai, the ai class is abstract and you can write your own and easily create computer players using your ai class.

wywiwyg at 2007-7-6 18:56:36 > top of Java-index,Other Topics,Java Game Development...