File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Game Development and the fly likes Rule Determination Methods: Farkle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Game Development
Bookmark "Rule Determination Methods: Farkle" Watch "Rule Determination Methods: Farkle" New topic
Author

Rule Determination Methods: Farkle

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

A guy at work was telling me about a game called Farkle which I thought would be a fun little game to write in Java.

What I am wondering is if anyone has any suggestions or references regarding designing a simple rules system for a game like this. I could easily have just a bunch of if/else statements or switch/case but that doesn't seem very elegant.

I am not looking for solutions, just suggestions.

Thanks.


GenRocket - Experts at Building Test Data
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Rule Determination Methods: Farkle