Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Rule Determination Methods: Farkle

 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 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.

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic