Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82391

Need help creating a domain model

$
0
0

I am trying to create my first app and of course I can't even figure out how to structure my domain model properly.  The app I am trying to create will show users payout percentages and their paytables for popular video poker and video keno games.

Games are classified by their variant, type (single or multi), and each variant has multiple games; e.g  Classic Game King and Ultimate X are variants, and both have the Bonus Poker game.  I started my domain model as follows:

Now each game has different payout percentages based on paytables.  However, this differs depending on the variant.  For example, Bonus Poker(game_name) on Classic game King(variant_name) with a paytable of "250/50/80/40/25/7/5/4/3/2/1" has a payout percentage of 98.01%.  The same game and paytable on the Ultimate 4 of a Kind variant has a payout percentage of 99.96%.  What would the most efficient way of setting up the Domain Model Be?  Seperate Paytable entities for each game and variant?  If I were to sort the data out on an excel spreadsheet, there would be over 2000 rows on just poker games alone.  I feel like the answer is simple, and I'm just not getting it.


Viewing all articles
Browse latest Browse all 82391

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>