File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Rule Determination Methods: Farkle

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

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.


GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: Rule Determination Methods: Farkle
It's not a secret anymore!