Semi-randomized tiles
Posted: 21 July 2020, 04:28
Hey everyone,
I'm just getting started with BGA and am working on implementing Homesteaders - however I'm a bit stuck and overwhelmed trying to just figure out which files to put things in. I did the hearts tutorial and read through a few other game examples, but haven't quite found a good match for Homesteaders.
The current issue I'm having is how to represent the auction tiles - how they work is there are up to 3 piles of 10. The first pile is always in a specific order. The 2nd and 3rd piles are partially randomized based on the phase of the game; tiles 1-4 are randomized, 5-8 are randomized, then 9-10 are randomized.
I'm not sure what the best way to store these (or even entirely what files to use). I'm thinking I would need to create 2-3 database tables for the different tile piles; I was looking into using Deck() but it seems like it would be more difficult than it would be worth. I'm also not sure which files I would specify the definitions of each tiles in, Materials or Game, and where I would do the randomization.
Any advice or direction would be appreciated!
I'm just getting started with BGA and am working on implementing Homesteaders - however I'm a bit stuck and overwhelmed trying to just figure out which files to put things in. I did the hearts tutorial and read through a few other game examples, but haven't quite found a good match for Homesteaders.
The current issue I'm having is how to represent the auction tiles - how they work is there are up to 3 piles of 10. The first pile is always in a specific order. The 2nd and 3rd piles are partially randomized based on the phase of the game; tiles 1-4 are randomized, 5-8 are randomized, then 9-10 are randomized.
I'm not sure what the best way to store these (or even entirely what files to use). I'm thinking I would need to create 2-3 database tables for the different tile piles; I was looking into using Deck() but it seems like it would be more difficult than it would be worth. I'm also not sure which files I would specify the definitions of each tiles in, Materials or Game, and where I would do the randomization.
Any advice or direction would be appreciated!