File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Rule Determination Methods: Farkle

Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic