drneau.com Forum Index drneau.com
A discussion board for drneau.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Chip Max

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    drneau.com Forum Index -> The v2 Bucket
View previous topic :: View next topic  
Author Message
Rewind
"Miracle Flush"


Joined: 10 Mar 2005
Posts: 113
Location: Columbus, OH

PostPosted: Wed Mar 15, 2006 6:31 am    Post subject: Chip Max Reply with quote

As an add-on to the chip case distribution, it would be nice to set a max chip count per player of each chip type.

An example: I have 300 white, 200 red, 200 blue, 150 green, and 150 black. Lets say I only have 6 people show up at my game (what kind of excuse is "it's my Dad's birthday and we have to go out of town"?). The current distribution calculator will set white distribution at 50 white chips per player. Now I know that there is no way that any player will go through 50 white chips before they need to chip up. So I want to set a max of 20 white chips per player.

Of course this gets a little weird if you are an idiot and set each chips' max amount to 1 chip. So there would be a need for some error checking. Maybe if a person tries that and hits the calculate button, the button turns red so it is known there is an error. Or maybe a better idea is a small message box next-to or under the button that states "Please reconfigure and try again".

What do you all think?
_________________
<thwack> NOooooooBODY expects to lose to Rewind!
My chief weapon is the rebuy.
ŽDr. Neau 2005
Back to top
View user's profile Send private message
drneau
Site Admin


Joined: 13 Feb 2005
Posts: 2385
Location: Woodbury, MN

PostPosted: Wed Mar 15, 2006 6:47 am    Post subject: Reply with quote

I could pretty easily do that, but I'm thinking that an "overall max" would accomplish the same thing...it's must a matter of coming up with the algorithm.

Your method of "max per chip" would be a lot easier, but not as cool.
_________________
--
Dr. Neau (not a real doctor)
http://drneau.com
http://home.comcast.net/~jneau
Back to top
View user's profile Send private message Send e-mail Visit poster's website
roadmanagerphil
"Straight to the Ace"


Joined: 12 Sep 2005
Posts: 99
Location: Columbus, OH

PostPosted: Wed Mar 15, 2006 10:08 am    Post subject: Reply with quote

My Chips: 25/ 100/ 500/ 1000/ 5000

When I hit 'calculate distribution' for 10,000 in chips per player, it will give each player 2- $5000 chips. Obviously at the beginning, players need more lower-valued chips, so maybe the formula could include something like the number of each colored chips should be equal to or less than the number of chips given of the previous smaller value chips. OR even multiple formulas that would produce multiple distributions. I use:

25 - 8
100 - 8
500 - 4
1000- 2
5000- 1
Back to top
View user's profile Send private message Visit poster's website AIM Address
drneau
Site Admin


Joined: 13 Feb 2005
Posts: 2385
Location: Woodbury, MN

PostPosted: Wed Mar 15, 2006 11:18 am    Post subject: Reply with quote

roadmanagerphil wrote:
My Chips: 25/ 100/ 500/ 1000/ 5000

When I hit 'calculate distribution' for 10,000 in chips per player, it will give each player 2- $5000 chips. Obviously at the beginning, players need more lower-valued chips, so maybe the formula could include something like the number of each colored chips should be equal to or less than the number of chips given of the previous smaller value chips. OR even multiple formulas that would produce multiple distributions. I use:

25 - 8
100 - 8
500 - 4
1000- 2
5000- 1


How many of each chip do you have in your case and how many players are you distributing over?
_________________
--
Dr. Neau (not a real doctor)
http://drneau.com
http://home.comcast.net/~jneau
Back to top
View user's profile Send private message Send e-mail Visit poster's website
roadmanagerphil
"Straight to the Ace"


Joined: 12 Sep 2005
Posts: 99
Location: Columbus, OH

PostPosted: Wed Mar 15, 2006 11:30 am    Post subject: Reply with quote

I didn't mean to alarm you. I was just making the point that sometimes it doesn't do a very practical distribution. I bought enough chips to do a 30-person tourney, and when I 'expect' 30 players, it works perfect. If I'm hosting a smaller game though, and only 'expect' 10 players, it gives me:

$25 - 24
$100- 24
$500- 10
$1000- 2
$5000- 0

60 chips per player is a bit much.
Back to top
View user's profile Send private message Visit poster's website AIM Address
drneau
Site Admin


Joined: 13 Feb 2005
Posts: 2385
Location: Woodbury, MN

PostPosted: Wed Mar 15, 2006 11:51 am    Post subject: Reply with quote

roadmanagerphil wrote:
I didn't mean to alarm you. I was just making the point that sometimes it doesn't do a very practical distribution. I bought enough chips to do a 30-person tourney, and when I 'expect' 30 players, it works perfect. If I'm hosting a smaller game though, and only 'expect' 10 players, it gives me:

$25 - 24
$100- 24
$500- 10
$1000- 2
$5000- 0

60 chips per player is a bit much.


"60 chips per player is a bit much" is a point of view. I personally want as many chips as possible per player so that everyone can feel like they have a lot of chips and we aren't constantly making change.

The distribution you mention in the quote above is the way it is designed to work right now. It uses a greedy approach to calculate the distribution and will use as many chips as it can.

What I'm working on for the next version is the ability for you to specify a "target quantity per player" in addition to a "target value per player". That will give you what you need.

Regardless, my question was in regards to this statement you made:

Quote:
When I hit 'calculate distribution' for 10,000 in chips per player, it will give each player 2- $5000 chips.


If its truly doing that, then one of the following is true:
- There is a bug in the distributor,
- You gave it information that forced it to do it that way, or
- You were exaggerating in your post.

I need you to give me the information I asked for so I can determine which of those is the case.

So, how can I reproduce the "2 T5000 chips" case??
_________________
--
Dr. Neau (not a real doctor)
http://drneau.com
http://home.comcast.net/~jneau
Back to top
View user's profile Send private message Send e-mail Visit poster's website
roadmanagerphil
"Straight to the Ace"


Joined: 12 Sep 2005
Posts: 99
Location: Columbus, OH

PostPosted: Wed Mar 15, 2006 12:39 pm    Post subject: Reply with quote

I didn't realize the formula was set that way on purpose. Makes sense. A few of my friends would NEVER chip up if they didn't have to. They like building pyramids almost as much as playing poker.

As for the 2 T5000 chips, I was just throwing something out off the top of my head. Please disregard it. It seems I have had times in the past that it distributed more larger chips than smaller, but I can't reproduce it.

Looking forward to the next release.
Back to top
View user's profile Send private message Visit poster's website AIM Address
drneau
Site Admin


Joined: 13 Feb 2005
Posts: 2385
Location: Woodbury, MN

PostPosted: Thu Nov 20, 2008 2:20 pm    Post subject: Reply with quote

Implemented the target count in v3.
_________________
--
Dr. Neau (not a real doctor)
http://drneau.com
http://home.comcast.net/~jneau
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    drneau.com Forum Index -> The v2 Bucket All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group