The Tequila Den

Combines the world of Tequila with Games.

Tag Archives: random

Quick update before the weekend

I re-worked a lot of the numbering code the last couple of nights because I felt like it wasn’t … for a lack of better terms… being nice. It seemed to default on simply adding more 2’s and 12’s. I revised it once then and first made it so the supply was balanced, then randomized the remaining pieces left over .

It seemed okay, but then I looked a bit deeper and noticed that the actual set gives you a certain amount of each number. So, back to the board. I properly dispersed the numbers again, and now its … pretty, again.

screenshot 2014.11.28

So now, it’s just converting the random hexes to actual hexes. From there the game can resume normally to what I already have. Then all I have to do is handle winning and stats. Boom.